WordPress.org

Support

Support » Plugins and Hacks » [Resolved] Custom integration and skype

[Resolved] Custom integration and skype

  • Rene Michaels
    Member

    @rene-michaels

    First of all, LOVE the plugin. I can’t tell you how much time I searched for an “Author Box” that would work like I wanted in my particular theme.

    I was able to make some mods to the plugin and added other social networks like flickr and tumblr. I updated the icon sets as well. Here is my sandbox site with the mods in place…

    In a single post: http://mtpsandbox.com/high-school-varsity-baseball-cedar-park-v-westwood/
    In the authors archive: http://mtpsandbox.com/author/mtpsadmin/

    Has anyone tried to integrate Skype into it? I’ve played with a mod but cannot get it to work. What I envision is a skype icon that when clicked opens skype. Of course there needs to be a skype username field added in the profile in the admin.

Viewing 1 replies (of 1 total)
  • Plugin Author Lopo Lencastre de Almeida
    Participant

    @ipublicis

    Sorry for the delay. I was not getting any warning messages from the system.

    As per version 2.x adding new social/websites is done via Author Box Reloaded Pack. It is rather easy to add new pieces without modding the code.

    For Skype just copy any of the plugin “packs” to a new one called skype.php. Change the portion Section to modify to:

    function skype_authorbox_add_sites( $known_sites ) {
       $known_sites['Skype'] = array(
        'favicon' => plugin_dir_url( __FILE__ ) . 'images/skype.png',
        'url' => 'callto://USERNAME', // USERNAME is your Skype username
        'plugin' => array (
          'author' => 'Lopo Lencastre de Almeida <dev@ipublicis.com>',
          'url' => 'http://ipublicis.com/',
          'donate' => 'http://smsh.me/7kit',
         ),
       );
       return $known_sites;
    }
    add_filter('authorbox_known_sites','skype_authorbox_add_sites',10,1);

    Upload the file to the proper directory and activate it. That’s it.

    Can you send me your stuff. Thanks!

Viewing 1 replies (of 1 total)
  • The topic ‘[Resolved] Custom integration and skype’ is closed to new replies.