Advertisement:

Author Topic: Skype Mod with Icon [new]  (Read 97173 times)

Offline John Slater

  • Jr. Member
  • **
  • Posts: 150
    • Proper Doh Members
Skype Mod with Icon [new]
« on: June 11, 2005, 04:54:59 PM »
Link to Mod

This modification makes a feild in your profile and displays a Skype Icon in your mini profile along side your posts.

Simply Install this mod using package manager and enter your skype name into your profile. The icon will then link to your user name, when pressed it will qutomaticly ring the person, if skype is open or installed on your PC.

I know their is a mod simlar to this but this mod places an icon in the mini icon, underneith the other message icons.

Below Is a Preview of the mod




Please put forward any questions, this is recomended for the default theme, may work with other themes. If not ask in the thread and the team will be able to give you pointers.

Made By: thesimpsonjohn

Credit to: [Unknown] & Dan The Man
« Last Edit: June 14, 2005, 04:01:00 AM by John Slater »

Online Gary

  • Lead Customizer
  • SMF Super Hero
  • *
  • Posts: 17,317
  • Gender: Male
  • So this is the luck of the draw...
    • Gazmanafc on Facebook
    • garygadsdon on LinkedIn
    • @Gazmanafc on Twitter
    • The Bongo Comics Fan Forum
Re: Skype Icon Mod
« Reply #1 on: June 11, 2005, 05:24:19 PM »
Seems like a decent enough mod. Good work John.

Offline Mike Frith

  • Semi-Newbie
  • *
  • Posts: 54
  • Gender: Male
  • Look! Meat!
    • Bam-TV
Re: Skype Icon Mod
« Reply #2 on: June 11, 2005, 05:37:45 PM »
nice work... simple... but effective

Offline John Slater

  • Jr. Member
  • **
  • Posts: 150
    • Proper Doh Members
Re: Skype Icon Mod
« Reply #3 on: June 12, 2005, 10:05:11 AM »
Thanks, It took a while to get the dman thing to work but it was worth it.

I'm going to need to make some kind of read me file that will tell people who dont use the default theme how to use the mod.

I can say that it works with the 7Dana theme and the default and partly works with the YabbSe theme.

Offline Mike Frith

  • Semi-Newbie
  • *
  • Posts: 54
  • Gender: Male
  • Look! Meat!
    • Bam-TV
Re: Skype Icon Mod
« Reply #4 on: June 12, 2005, 10:06:11 AM »
thats great news for MT2 and TMFE  ;D

Online Gary

  • Lead Customizer
  • SMF Super Hero
  • *
  • Posts: 17,317
  • Gender: Male
  • So this is the luck of the draw...
    • Gazmanafc on Facebook
    • garygadsdon on LinkedIn
    • @Gazmanafc on Twitter
    • The Bongo Comics Fan Forum
Re: Skype Icon Mod
« Reply #5 on: June 12, 2005, 10:17:09 AM »
Well the latter at least. Could always test it out on Beta 3 for you John.

Offline John Slater

  • Jr. Member
  • **
  • Posts: 150
    • Proper Doh Members
Re: Skype Icon Mod
« Reply #6 on: June 12, 2005, 10:22:06 AM »
Yeah that would be great, it should work with the new versions but like you have said the templates are very different.

It should show a Small icon in your post profile and a text area in your profile (where you update), as well as a linked peice of text under your website url in your profile.

Offline Mike Frith

  • Semi-Newbie
  • *
  • Posts: 54
  • Gender: Male
  • Look! Meat!
    • Bam-TV
Re: Skype Icon Mod
« Reply #7 on: June 12, 2005, 10:30:03 AM »
on the images up top... why does it say favorite animal - season 13?

Online Gary

  • Lead Customizer
  • SMF Super Hero
  • *
  • Posts: 17,317
  • Gender: Male
  • So this is the luck of the draw...
    • Gazmanafc on Facebook
    • garygadsdon on LinkedIn
    • @Gazmanafc on Twitter
    • The Bongo Comics Fan Forum
Re: Skype Icon Mod
« Reply #8 on: June 12, 2005, 10:33:49 AM »
Small thing John, the Skype Name does not appear on a new line. And streches out the table:

See Attachment. (Click Thumbnail to enlarge)

Offline John Slater

  • Jr. Member
  • **
  • Posts: 150
    • Proper Doh Members
Re: Skype Icon Mod
« Reply #9 on: June 12, 2005, 10:56:32 AM »
Ok Will sort that gary. Mike what do you mean?

Offline Mike Frith

  • Semi-Newbie
  • *
  • Posts: 54
  • Gender: Male
  • Look! Meat!
    • Bam-TV
Re: Skype Icon Mod
« Reply #10 on: June 12, 2005, 10:59:14 AM »
on the images at the top... you have favorite animal... then a drop down list of seasons

Offline John Slater

  • Jr. Member
  • **
  • Posts: 150
    • Proper Doh Members
Re: Skype Icon Mod
« Reply #11 on: June 12, 2005, 11:10:10 AM »
Can you print screen what you mean please then i know where and what you mean. I think i know what you mean, but it should be in this mod.

Online Gary

  • Lead Customizer
  • SMF Super Hero
  • *
  • Posts: 17,317
  • Gender: Male
  • So this is the luck of the draw...
    • Gazmanafc on Facebook
    • garygadsdon on LinkedIn
    • @Gazmanafc on Twitter
    • The Bongo Comics Fan Forum
Re: Skype Icon Mod
« Reply #12 on: June 12, 2005, 11:12:27 AM »
Mike is refering to your favourite Season Drop down menu. It has faviourite animal next to it, rather than faviourite season.

Offline Mike Frith

  • Semi-Newbie
  • *
  • Posts: 54
  • Gender: Male
  • Look! Meat!
    • Bam-TV
Re: Skype Icon Mod
« Reply #13 on: June 12, 2005, 11:13:00 AM »
its not to do ith this mod... i was just wondering why it said this... look at the last option


Offline John Slater

  • Jr. Member
  • **
  • Posts: 150
    • Proper Doh Members
Re: Skype Icon Mod
« Reply #14 on: June 12, 2005, 11:14:32 AM »
Oh yeah i get ya, sorry about that, it was a mistake i have ben meaning to fix, will be added to a mod soon. With loads of extras feilds.

Offline Mike Frith

  • Semi-Newbie
  • *
  • Posts: 54
  • Gender: Male
  • Look! Meat!
    • Bam-TV
Re: Skype Icon Mod
« Reply #15 on: June 12, 2005, 11:15:43 AM »
kool sounds good

Online Gary

  • Lead Customizer
  • SMF Super Hero
  • *
  • Posts: 17,317
  • Gender: Male
  • So this is the luck of the draw...
    • Gazmanafc on Facebook
    • garygadsdon on LinkedIn
    • @Gazmanafc on Twitter
    • The Bongo Comics Fan Forum
Re: Skype Mod with Icon [new]
« Reply #16 on: June 15, 2005, 06:12:12 PM »
Any word on the bug fix John?

Offline NOS ChromeNut

  • Semi-Newbie
  • *
  • Posts: 76
  • Gender: Male
    • Squad NOS
Re: Skype Mod with Icon [new]
« Reply #17 on: June 20, 2005, 11:32:01 AM »
Any hints on how to get this running with other templates?  I'm using Helios Multi, and while the mod went in easy with package manager, I can't see any changes when I go into my profile. I'm assuming that's because I'm using a template.  I have heavy experience in phpBB and xmB, having four boards running that software, and am very hip on manually upgrading my boards, but am new to SMF. Before I go tackling the files in my template and possibly damaging something, I want to make sure I'm at least pointed in the right direction.

Also, I just updated to 1.0.4 prior to adding this Skype mod, now I get an error message regarding Current Template Versions:  Profile.template.php 1.0.1 1.0.4

That was set at 1.0.4 after my upgrade to 1.0.4, then this error message showed up after adding your mod.  When I go look at the list of files associated with your mod it doesn't say anything at all about Profile.template.php, so why did your mod rewrite/overwrite my file?  And is this not compatible with 1.0.4??? Sorry to ask so many questions at one time...

Online Gary

  • Lead Customizer
  • SMF Super Hero
  • *
  • Posts: 17,317
  • Gender: Male
  • So this is the luck of the draw...
    • Gazmanafc on Facebook
    • garygadsdon on LinkedIn
    • @Gazmanafc on Twitter
    • The Bongo Comics Fan Forum
Re: Skype Mod with Icon [new]
« Reply #18 on: June 20, 2005, 11:53:09 AM »
In Profile.template.php

Find:
Code: [Select]
<td><input type="text" name="websiteUrl" size="50" value="', $context['member']['website']['url'], '" /></td>

Add after it:
Code: [Select]
<td><b>Skype Name: </b></td>
<td><input type="text" name="default_options[skype]" size="50" value="', @$context['member']['options']['skype'], '" /></td></tr><tr>

Find:
Code: [Select]
<td><a href="', $context['member']['website']['url'], '" target="_blank">', $context['member']['website']['title'], '</a></td>

Add after it:
Code: [Select]
', !empty($context['member']['options']['skype']) ? '</tr><tr>
<td><b>Skype Name: </b></td>
<td><a href="callto://' . $context['member']['options']['skype'] . '" target="_blank">' . $context['member']['options']['skype'] . '</a></td>' : '', '

In Display.template.php

Find:
Code: [Select]
', $message['member']['yim']['link'], '<br />';

Add after it:
Code: [Select]
if (!empty($message['member']['options']['skype'])) echo '<a href="callto://', $message['member']['options']['skype'], '/"><img border="0" src="' . $settings['images_url'] . '/skype.gif"></a><br />';

Dont forget to upload skype.gif to your images folder.

However, I dont think that John has fixed the problem. With John's permission, I will re-write for John and send it to him.

Offline NOS ChromeNut

  • Semi-Newbie
  • *
  • Posts: 76
  • Gender: Male
    • Squad NOS
Re: Skype Mod with Icon [new]
« Reply #19 on: June 20, 2005, 12:07:26 PM »
 ;D You guys are so spoiling me!  I swear, I've run forums and boards now for over two years, many with mucho mods as I just can't leave well-enough alone, and these boards, these forums for SMF, have been the friendliest, and fastest to answer all my questions of all of those.

Keep up the great work!!!