Skype

  • The ujSkype module provides simple buttons for interacting with Skype. The buttons show the status of the skype user (online or offline).

    To display the online status of a user their Skype privacy settings must be set to show their status publicly. On a Mac you do that in the Skype app: Preferences > Privacy > Show my status on the web

    When a skype username is entered for the profile, a skype button (or list of buttons) will appear on the profile wherever the smarty function is placed. This will allow the visitor to use their locally installed Skype to call the user. Other button actions include start chat, add to skype contacts, send file, send voicemail.

    There are a few style options to choose from.
  • ujSkype_button

    Function
    string ujSkype_button (
    string skype_name,
    string type,
    string size,
    string functions,
    string style,
    string class
    )
    parameter
    type
    default
    required
    description
    skype_name
    string
    -
    on
    The skype username for the profile
    type
    string
    classic
    off
    size
    string
    big
    off
    big, small
    functions
    string
    call
    off
    style
    string
    jamroom_button
    off
    class
    string
    -
    off
    Any additional classes to be passed to the link or button. Only really useful for the Jamroom button style.
    The ujSkype_button smarty function generates buttons for interacting with Skype. You would usually place this in a profile template such as profile_header.tpl
  • If multiple functions are passed in using the functions parameter, a list of buttons will be shown. If a single function is passed in the button will not be part of a list.

    You might use the function in a profile template such as profile_header.tpl.

    Here are a few examples:
    {ujSkype_button skype_name="{$profile_ujSkype_skype_name}" type="icon" size="small" functions="call,chat"}
    
    {ujSkype_button skype_name="{$profile_ujSkype_skype_name}" type="icon+text" size="small" functions="call"}
    
    {ujSkype_button skype_name="{$profile_ujSkype_skype_name}" type="icon" size="big" functions="call"}
    
    {ujSkype_button skype_name="{$profile_ujSkype_skype_name}" type="icon+text" size="big" functions="call"}
    
    {ujSkype_button skype_name="{$profile_ujSkype_skype_name}" type="icon" size="small" functions="call" style="balloon"}
    
    {ujSkype_button skype_name="{$profile_ujSkype_skype_name}" type="icon+text" size="big" functions="call" style="jamroom_button" class="form_button"}
  • Or something like this:
    <div class="block mb10">
        <h3>{jrCore_lang module="ujSkype" id="1" default="Skype"}:</h3>
        <div class="block_content mt10">
            {ujSkype_button skype_name="{$profile_ujSkype_skype_name}" type="icon" size="small" functions="call,add"}
        </div>
        <div class="clear"></div>
    </div>

Tags