Simple Machines Community Forum

Customizing SMF => Modifications and Packages => Topic started by: John Slater on June 11, 2005, 04:54:59 PM

Title: Skype Mod with Icon [new]
Post by: John Slater on June 11, 2005, 04:54:59 PM
Link to Mod (http://mods.simplemachines.org/index.php?mod=144)

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
(http://www.pddownloads.com/1.jpg)
(http://www.pddownloads.com/2.jpg)
(http://www.pddownloads.com/3.jpg)

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
Title: Re: Skype Icon Mod
Post by: Gary on June 11, 2005, 05:24:19 PM
Seems like a decent enough mod. Good work John.
Title: Re: Skype Icon Mod
Post by: Mike Frith on June 11, 2005, 05:37:45 PM
nice work... simple... but effective
Title: Re: Skype Icon Mod
Post by: John Slater 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.
Title: Re: Skype Icon Mod
Post by: Mike Frith on June 12, 2005, 10:06:11 AM
thats great news for MT2 and TMFE  ;D
Title: Re: Skype Icon Mod
Post by: Gary on June 12, 2005, 10:17:09 AM
Well the latter at least. Could always test it out on Beta 3 for you John.
Title: Re: Skype Icon Mod
Post by: John Slater 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.
Title: Re: Skype Icon Mod
Post by: Mike Frith on June 12, 2005, 10:30:03 AM
on the images up top... why does it say favorite animal - season 13?
Title: Re: Skype Icon Mod
Post by: Gary 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)
Title: Re: Skype Icon Mod
Post by: John Slater on June 12, 2005, 10:56:32 AM
Ok Will sort that gary. Mike what do you mean?
Title: Re: Skype Icon Mod
Post by: Mike Frith 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
Title: Re: Skype Icon Mod
Post by: John Slater 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.
Title: Re: Skype Icon Mod
Post by: Gary 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.
Title: Re: Skype Icon Mod
Post by: Mike Frith 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

(http://www.pddownloads.com/2.jpg)
Title: Re: Skype Icon Mod
Post by: John Slater 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.
Title: Re: Skype Icon Mod
Post by: Mike Frith on June 12, 2005, 11:15:43 AM
kool sounds good
Title: Re: Skype Mod with Icon [new]
Post by: Gary on June 15, 2005, 06:12:12 PM
Any word on the bug fix John?
Title: Re: Skype Mod with Icon [new]
Post by: NOS ChromeNut 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...
Title: Re: Skype Mod with Icon [new]
Post by: Gary on June 20, 2005, 11:53:09 AM
In Profile.template.php

Find:

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


Add after it:

<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:

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


Add after it:

', !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:

', $message['member']['yim']['link'], '<br />';


Add after it:

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.
Title: Re: Skype Mod with Icon [new]
Post by: NOS ChromeNut 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!!!
Title: Re: Skype Mod with Icon [new]
Post by: Gary on June 20, 2005, 12:14:32 PM
You just gotta know what to do. However, I dont think that John's fixed up the problem that I pointed out earlier in the thread.
Title: Re: Skype Mod with Icon [new]
Post by: NOS ChromeNut on June 20, 2005, 02:24:27 PM
Thanks Gary...
Okay, I tried your suggestion and it worked!  However, it didn't feel right to me being there below the web address stuff, so I made a change. And may I be so bold as to making the suggestion to John and all?  I felt it fit better with the AIM/MSN/YIM stuff, so I moved it up there.  Here's what I did - and minor changes to your script suggested above -

Find:

                                        <td><b>', $txt[604], ': </b></td>
                                        <td>', $context['member']['yim']['link_text'], '</td>


This is around line 180 in my Profile.template.php file. 

Add after:

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


Then I made this change farther down, around line 900-something ...

Find:

                                                                <td width="40%"><b>', $txt[604], ': </b><div class="smalltext">', $txt[602], '</div></td>
                                                                <td><input type="text" name="YIM" maxlength="32" size="24" value="', $context['member']['yim']['name'], '" /></td>


Add after:

                                                        </tr><tr>
                                                                <td width="40%"><b>Skype Name: </b></td>
<td><input type="text" name="default_options[skype]" size="50" value="', @$context['member']['options']['skype'], '" /></td></tr><tr>


This put the Skype Name: line right below the YIM line.  I tested the link for the calloff and it works fine, I can click and it immediately opens Skype for the call.  Pardon my code copying above, it works fine but doesn't layout on the screen here like it does in Dreamweaver...

One thing I can't figure out is I'd like the Skype icon to line up with the AIM/MSN/YIM icons and instead it puts a return after those and the Skype icon is on a line by itself. It works fine, just looks a bit odd.

Please look at my suggestions and let me know your thoughts on this.

Thanks again, great effort here!
Title: Re: Skype Mod with Icon [new]
Post by: NOS ChromeNut on June 20, 2005, 02:31:00 PM
I'm pasting here a copy of what I see now in Profile settings for the users, with this Skype mod changed to the new location. Please let me know what you think. By the way, this is using the Helios Multi Template, I tried it in the Default template and it works just as well there, line numbers in the Profile.template.php files were the only differences here.

(http://www.hugginsnet.com/squadnos/sigs/skypeprofile.jpg)
Title: Re: Skype Mod with Icon [new]
Post by: NOS ChromeNut on June 20, 2005, 02:35:05 PM
The attached here is the line up of the icons I was speaking of. In the bbcode or php file somewhere I'm getting an extra return or something causing the Skype icon to line up on it's own. I'd like to place it in line with the other one's above it.

(http://www.hugginsnet.com/squadnos/sigs/skypeicon1.jpg)

Any suggestions???
Title: Re: Skype Mod with Icon [new]
Post by: NOS ChromeNut on June 20, 2005, 02:36:18 PM
By the way, if you're wondering, the forums are located at:

http://www.hugginsnet.com/squadnos/forums

Please come by and visit...
Title: Re: Skype Mod with Icon [new]
Post by: Gary on June 20, 2005, 02:41:48 PM
I see what you mean. When testing it out for John, I noticed that, its because after the YIM icon there is a <br> tag, which causes it to move down onto a second line. Simply tell me where you would like your mod, and I will write it for that location.

When I wrote my Gmail Field mod, I made it so that Gmail Icon appears Before the ICQ/MSN/AIM/YIM icons, yet its on the same line.

Its possible for the Skype mod to appear on the same line as the AIM etc... icons however I would place them before the messenger icons.
Title: Re: Skype Mod with Icon [new]
Post by: NOS ChromeNut on June 20, 2005, 04:54:28 PM
Quote from: Gary G. on June 20, 2005, 02:41:48 PM
I see what you mean. When testing it out for John, I noticed that, its because after the YIM icon there is a <br> tag, which causes it to move down onto a second line. Simply tell me where you would like your mod, and I will write it for that location.

When I wrote my Gmail Field mod, I made it so that Gmail Icon appears Before the ICQ/MSN/AIM/YIM icons, yet its on the same line.

Its possible for the Skype mod to appear on the same line as the AIM etc... icons however I would place them before the messenger icons.

I whipped through it so quickly I didn't notice the break (<br>).  I'm gonna go move stuff around still but getting it to where it was took a bit of playing.  Thanks again for all the info, this SMF is so much easier to mod than phpBB.
:D
Title: Re: Skype Mod with Icon [new]
Post by: Gary on June 30, 2005, 11:59:01 AM
Attached is the bugfix I've been talking about.

I also moved it around a bit:
(http://img.photobucket.com/albums/v159/Gazmuyloco/skypeedit.jpg)

John can add this to the mod's file listing if he wants.

removed file.vbs from archive - Compuart
Title: Re: Skype Mod with Icon [new]
Post by: Aravot on July 20, 2005, 05:46:12 PM
What is the difference between FaSan Skype Mod (http://www.simplemachines.org/community/index.php?topic=37682.0) and this one.
Title: Re: Skype Mod with Icon [new]
Post by: NOS ChromeNut on July 23, 2005, 02:08:41 PM
Quote from: Gary G. on June 30, 2005, 11:59:01 AM
Attached is the bugfix I've been talking about.

I also moved it around a bit:
(http://img.photobucket.com/albums/v159/Gazmuyloco/skypeedit.jpg)

John can add this to the mod's file listing if he wants.

Thanks Gary!!!
Title: Re: Skype Mod with Icon [new]
Post by: NOS ChromeNut on July 31, 2005, 11:13:53 AM
Hey guys, 'nother quick question for you. All my forums are running 1.0.5 and I just started a new forum, 1.1 beta 3 public.  Before I upgrade any of my existing forums, has anyone upgraded to 1.1 beta 3 using the skype mod?  I wanted to make sure it'll work after upgrading.

I think I'm going to try adding the skype mod to my 1.1 board, which is in test phase now, just to see if it's compatible, but if anyone's done this already, please let me know.

Again, thanks in advance!!
Title: Re: Skype Mod with Icon [new]
Post by: ^Raven^ on July 31, 2005, 05:05:53 PM
Quote from: NOS ChromeNut on July 23, 2005, 02:08:41 PM
Quote from: Gary G. on June 30, 2005, 11:59:01 AM
Attached is the bugfix I've been talking about.

I also moved it around a bit:
(http://img.photobucket.com/albums/v159/Gazmuyloco/skypeedit.jpg)

John can add this to the mod's file listing if he wants.

Thanks Gary!!!

Just want to doublecheck that that is what you say the difference is between FaSan's Skype mod and this one.  Is that correct?
Title: Re: Skype Mod with Icon [new]
Post by: NOS ChromeNut on August 01, 2005, 11:01:04 AM
Quote from: ^Raven^ on July 31, 2005, 05:05:53 PM
Quote from: NOS ChromeNut on July 23, 2005, 02:08:41 PM
Quote from: Gary G. on June 30, 2005, 11:59:01 AM
Attached is the bugfix I've been talking about.

I also moved it around a bit:
(http://img.photobucket.com/albums/v159/Gazmuyloco/skypeedit.jpg)

John can add this to the mod's file listing if he wants.

Thanks Gary!!!

Just want to doublecheck that that is what you say the difference is between FaSan's Skype mod and this one.  Is that correct?

No, sorry, that was a discussion between myself and Gary about placement of the Skype icon in the field under the user's avatars.  However, the difference from what I've seen is FaSan's didn't have the icon at all. I started to load it, then saw that this one included an icon. Other than that, I'm not sure what the difference is. I had problems with this mod in regards to the data entry field in user's profiles - that is it didn't appear in what I considered a more practical location, so Gary and I mod'ed the mod to move it up to the data entry area where AIM, Yahoo, etc., are.
Title: Re: Skype Mod with Icon [new]
Post by: ^Raven^ on August 01, 2005, 02:55:10 PM
Many thanks for clearing that up.  One last thing, this is compatible with SMF 1.0.5 and SMF 1.1 Beta 3 Public correct?  I'm on 1.0.5 and wish to integrate it via the Package Manager but only if it is compatible.

Just an update.  I installed it on my 1.0.5. forum via the Package Manager but it doesn't seem to be working.  I looked in my profile and I don't see an option for my Skype name at all.  I'm not on the default theme, if that matters.

http://forum.wargamingforums.com
Title: Re: Skype Mod with Icon [new]
Post by: NOS ChromeNut on August 01, 2005, 04:59:09 PM
Quote from: ^Raven^ on August 01, 2005, 02:55:10 PM
Many thanks for clearing that up.  One last thing, this is compatible with SMF 1.0.5 and SMF 1.1 Beta 3 Public correct?  I'm on 1.0.5 and wish to integrate it via the Package Manager but only if it is compatible.

Just an update.  I installed it on my 1.0.5. forum via the Package Manager but it doesn't seem to be working.  I looked in my profile and I don't see an option for my Skype name at all.  I'm not on the default theme, if that matters.

http://forum.wargamingforums.com

I haven't tried it on 1.1 beta 3 yet, that's what led me to my question. I have five forums, two at 1.0.5, one at 1.1, the other two running phpBB and XMB.  I haven't tried the Skype mod yet on 1.1, that's for later this week, but when I installed it on 1.0.5 I had to make several changes to actually see the Skype data entry field when I went into my profile.  Somewhere in a previous post, in a discussion between Gary and I, we traded these suggestions back and forth about how and where to change the mod so it worked somewhat better.  I've not heard anything from the mod creator, but hopefully they're taking these suggestions to heart and will respond soon on if they'll support the mod in 1.1 beta and on.  I'll look for my notes on the changes I had to make, but my changes were needed because I was running the Helios_Multi Theme. Not sure if the skype mod worked on the default theme or not.
Title: Re: Skype Mod with Icon [new]
Post by: NOS ChromeNut on August 01, 2005, 05:08:13 PM
Quote from: Gary G. on June 30, 2005, 11:59:01 AM
Attached is the bugfix I've been talking about.

I also moved it around a bit:
(http://img.photobucket.com/albums/v159/Gazmuyloco/skypeedit.jpg)

John can add this to the mod's file listing if he wants.

GARY - CHECK YOUR ZIP FILE!  You have a file included in that package, FILE.VBS, that is carrying the Virus VBS/Gedza.A.  The risk is low on this virus, but damage potential is high. I've pasted here the description of this virus:
Quote
Malware type: VBScript

Aliases: VBS.Gaggle.D, VBS/Gedza, I-Worm.Gedza, VBS/Lefarsi.A

In the wild: No

Destructive: Yes

Language: English

Platform: Windows 98, ME, NT, 2000, XP

Encrypted: Yes

Overall risk rating:  Low 

--------------------------------------------------------------------------------

Reported infections:  Low 

Damage potential:  High 

Distribution potential:  High 



--------------------------------------------------------------------------------

Description:



This destructive Visual Basic script file displays a picture of the popular Canadian singer, Avril Lavigne, when it is executed.

Depending on the value of the current system day, it may drop a file, display messages or open the Avril Lavigne Web site.

It also infects .XLS and .DOC files, and overwrites or appends itself to files with specific extensions.

It propagates via peer-to-peer file sharing networks by dropping copies of itself in a peer-to-peer shared folders, using interesting file names to entice users to download the files. It also propagates via Outlook Express by changing its stationary with a dropped worm copy.

It runs on Windows 98, ME, NT, 2000 and XP.


I'm reporting it to the moderator, not to trouble you but to have them delete the attachment (not sure we are allowed to delete our own) and to keep anyone else from downloading it.  Please check your data on your computer as you may have it sleeping there somewhere.
Title: Re: Skype Mod with Icon [new]
Post by: ^Raven^ on August 01, 2005, 11:15:24 PM
Quote from: NOS ChromeNut on August 01, 2005, 04:59:09 PM
Quote from: ^Raven^ on August 01, 2005, 02:55:10 PM
Many thanks for clearing that up.  One last thing, this is compatible with SMF 1.0.5 and SMF 1.1 Beta 3 Public correct?  I'm on 1.0.5 and wish to integrate it via the Package Manager but only if it is compatible.

Just an update.  I installed it on my 1.0.5. forum via the Package Manager but it doesn't seem to be working.  I looked in my profile and I don't see an option for my Skype name at all.  I'm not on the default theme, if that matters.

http://forum.wargamingforums.com

I haven't tried it on 1.1 beta 3 yet, that's what led me to my question. I have five forums, two at 1.0.5, one at 1.1, the other two running phpBB and XMB.  I haven't tried the Skype mod yet on 1.1, that's for later this week, but when I installed it on 1.0.5 I had to make several changes to actually see the Skype data entry field when I went into my profile.  Somewhere in a previous post, in a discussion between Gary and I, we traded these suggestions back and forth about how and where to change the mod so it worked somewhat better.  I've not heard anything from the mod creator, but hopefully they're taking these suggestions to heart and will respond soon on if they'll support the mod in 1.1 beta and on.  I'll look for my notes on the changes I had to make, but my changes were needed because I was running the Helios_Multi Theme. Not sure if the skype mod worked on the default theme or not.

Thanks for the info.  When you find your info if you wouldn't mind letting me know I'd appreciate it.  I'm operating on a converted YaBBSE theme as you'll be able to see by going to my forum.  But, I also have other themes I implement at various times.  Some without sidebars, holiday themes, a default one, and so forth.
Title: Re: Skype Mod with Icon [new]
Post by: dtm.exe on August 01, 2005, 11:17:09 PM
This mod *should* function just fine with SMF 1.1.  Wouldn't hurt to try; it's reversable :) (backups are your friends!).

-Dan The Man
Title: Re: Skype Mod with Icon [new]
Post by: ^Raven^ on August 01, 2005, 11:24:25 PM
Quote from: OIDanTheManIO on August 01, 2005, 11:17:09 PM
This mod *should* function just fine with SMF 1.1.  Wouldn't hurt to try; it's reversable :) (backups are your friends!).

-Dan The Man

You haven't tried it have you?
Title: Re: Skype Mod with Icon [new]
Post by: dtm.exe on August 01, 2005, 11:28:55 PM
Quote from: ^Raven^ on August 01, 2005, 11:24:25 PM
You haven't tried it have you?

No but I've read the code :).

-Dan The Man
Title: Re: Skype Mod with Icon [new]
Post by: NOS ChromeNut on August 02, 2005, 08:51:05 AM
Quote from: OIDanTheManIO on August 01, 2005, 11:28:55 PM
Quote from: ^Raven^ on August 01, 2005, 11:24:25 PM
You haven't tried it have you?

No but I've read the code :).

-Dan The Man

Oh, now I see my problem, no one said you had to be able to read...   ;D
Title: Re: Skype Mod with Icon [new]
Post by: dtm.exe on August 02, 2005, 10:37:34 AM
Quote from: NOS ChromeNut on August 02, 2005, 08:51:05 AM
Oh, now I see my problem, no one said you had to be able to read...   ;D

What I should have said was:

Quote
Quote from: ^Raven^ on August 01, 2005, 11:24:25 PM
You haven't tried it have you?

No, but I did stay at a Holiday Inn Express last night :D.

-Dan The Man

-Dan The Man
Title: Re: Skype Mod with Icon [new]
Post by: NOS ChromeNut on August 02, 2005, 10:58:52 AM
HAHAHAHAHA rotflmao!!!
Title: Re: Skype Mod with Icon [new]
Post by: ^Raven^ on August 02, 2005, 11:32:13 AM
Just realized my "you haven't tried it have you?" sounded a little unfriendly and accusatory.  I apologize for that.  I meant for it to be inquisitive and hopeful.  Not defensive and retaliatory.

That aside, I really want to get this mod working with my theme but am encountering difficulties.  Namely, it doesn't even show up as an option in the profiles.  I'm not sure how to get around that to make it work.  Any thoughts?  NOS, any headway on finding out what you did?
Title: Re: Skype Mod with Icon [new]
Post by: NOS ChromeNut on August 02, 2005, 11:47:37 AM
Quote from: ^Raven^ on August 02, 2005, 11:32:13 AM
NOS, any headway on finding out what you did?

Silly me, look back on page two of this thread and look for my reply to Gary, Re: Skype Mod with Icon
« Reply #21 on: June 20, 2005, 02:24:27 PM » ; That's where I explained how I got it to work on my forums. We had to modify a couple of the php files and it worked great. Gary's suggestion just a couple before that got it to display in the member's Profile screen, then I moved it to a more suitable location.

If that doesn't work for you, I can copy the specific lines out of my template.  If you're not comfortable manually modifying php files, send me the two I mention from your forums (after making darn sure you create a backup copy) and I'll insert the lines. You can try loading those over your existing, then see if it displays properly.  If not, you've got your backup to go back to.

The two files mentioned are Display.template.php and Profile.template.php . For me these are stored under /Themes, then the directory for the theme I'm using (Helios_Multi in this case).  If you loaded the Skype mod via package manager, you will already have mod'ed your default and classic themes, so if you're using something other than that it might just be that package manager didn't catch them.
Title: Re: Skype Mod with Icon [new]
Post by: NOS ChromeNut on August 02, 2005, 12:02:45 PM
When you're in Profile.template.php, look for the following:

        // All the messenger type contact info.
        echo '
                                                        <tr>
                                                                <td width="40%"><b>', $txt[513], ': </b><div class="smalltext">', $txt[600], '</div></td>
                                                                <td><input type="text" name="ICQ" size="24" value="', $context['member']['icq']['name'], '" /></td>
                                                        </tr><tr>
                                                                <td width="40%"><b>', $txt[603], ': </b><div class="smalltext">', $txt[601], '</div></td>
                                                                <td><input type="text" name="AIM" maxlength="16" size="24" value="', $context['member']['aim']['name'], '" /></td>
                                                        </tr><tr>
                                                                <td width="40%"><b>', $txt['MSN'], ': </b><div class="smalltext">', $txt['smf237'], '.</div></td>
                                                                <td><input type="text" name="MSN" size="24" value="', $context['member']['msn']['name'], '" /></td>
                                                        </tr><tr>
                                                                <td width="40%"><b>', $txt[604], ': </b><div class="smalltext">', $txt[602], '</div></td>
                                                                <td><input type="text" name="YIM" maxlength="32" size="24" value="', $context['member']['yim']['name'], '" /></td>
                                                        </tr><tr>


This is where you're setting up the Profile screen to display the input fields for each type of Messenger service.  This is where I mod'ed the mod, and moved the Skype data entry field up to this location by adding the following, after the YIM input:
                                                                <td width="40%"><b>Skype Name: </b></td>
<td><input type="text" name="default_options[skype]" size="50" value="', @$context['member']['options']['skype'], '" /></td></tr><tr>
                                                        </tr><tr>


Not sure why it doesn't look as pretty here in the {code} brackets as it does in my php file, but none the less, it works fine.  If that doesn't solve it, lemme know.
Title: Re: Skype Mod with Icon [new]
Post by: dtm.exe on August 02, 2005, 01:23:57 PM
Quote from: ^Raven^ on August 02, 2005, 11:32:13 AM
Just realized my "you haven't tried it have you?" sounded a little unfriendly and accusatory.  I apologize for that.  I meant for it to be inquisitive and hopeful.  Not defensive and retaliatory.

No worries ;).

-Dan The Man
Title: Re: Skype Mod with Icon [new]
Post by: NOS ChromeNut on August 02, 2005, 11:21:27 PM
 ???
Anybody know if John's gonna test drive this mod for 1.1 beta 3?  It took a lot of hacking to get it to work right for 1.0.5, so I hesitate to go through that again for 1.1.....
???
Title: Re: Skype Mod with Icon [new]
Post by: Louis on August 07, 2005, 03:52:15 AM
Anybody willing to merge the two mods into one ???

IMHO both have good parts and some "optimization potential" - if someone would merge the good parts together we could soon have THE Skype mod for SMF (which probably makes more sense than developing the same thing twice)
And if it's good enough, Skype might be included in some future version of SMF just like MSN and all the others - 145 millions of downloads is quite an impressive figure I think

Just an idea....
Title: Re: Skype Mod with Icon [new]
Post by: Aravot on August 07, 2005, 05:29:16 AM
Quote from: Louis on August 07, 2005, 03:52:15 AM
Anybody willing to merge the two mods into one ???

IMHO both have good parts and some "optimization potential" - if someone would merge the good parts together we could soon have THE Skype mod for SMF (which probably makes more sense than developing the same thing twice)
And if it's good enough, Skype might be included in some future version of SMF just like MSN and all the others - 145 millions of downloads is quite an impressive figure I think

Just an idea....

Agree 100% with all of the above
Title: Re: Skype Mod with Icon [new]
Post by: Louis on August 07, 2005, 03:51:36 PM
According to this post (http://www.simplemachines.org/community/index.php?topic=37682.msg323236#msg323236) FaSan already included the icons in his latest release. I will definitely give it a try because I prefer all member details being stored in the members table instead of having them partly in the themes table.....

Seems John and FaSan should contact each other.... ;D
Title: Re: Skype Mod with Icon [new]
Post by: taucher on September 04, 2005, 04:59:31 AM
how can i get the skype link with image into the memberlist?
Title: Re: Skype Mod with Icon [new]
Post by: Louis on September 04, 2005, 01:43:05 PM
Quote from: taucher on September 04, 2005, 04:59:31 AM
how can i get the skype link with image into the memberlist?
Which image are you referring to?

If you want Skype included as an IM option and if the skype names should be stored in your smf_members table, follow my link above and install FaSan's mod.
Title: Re: Skype Mod with Icon [new]
Post by: Gary on September 19, 2005, 09:51:48 AM
Quote from: NOS ChromeNut on August 01, 2005, 05:08:13 PM
Quote from: Gary G. on June 30, 2005, 11:59:01 AM
Attached is the bugfix I've been talking about.

I also moved it around a bit:
(http://img.photobucket.com/albums/v159/Gazmuyloco/skypeedit.jpg)

John can add this to the mod's file listing if he wants.

GARY - CHECK YOUR ZIP FILE!  You have a file included in that package, FILE.VBS, that is carrying the Virus VBS/Gedza.A.  The risk is low on this virus, but damage potential is high. I've pasted here the description of this virus:
Quote
Malware type: VBScript

Aliases: VBS.Gaggle.D, VBS/Gedza, I-Worm.Gedza, VBS/Lefarsi.A

In the wild: No

Destructive: Yes

Language: English

Platform: Windows 98, ME, NT, 2000, XP

Encrypted: Yes

Overall risk rating:  Low 

--------------------------------------------------------------------------------

Reported infections:  Low 

Damage potential:  High 

Distribution potential:  High 



--------------------------------------------------------------------------------

Description:



This destructive Visual Basic script file displays a picture of the popular Canadian singer, Avril Lavigne, when it is executed.

Depending on the value of the current system day, it may drop a file, display messages or open the Avril Lavigne Web site.

It also infects .XLS and .DOC files, and overwrites or appends itself to files with specific extensions.

It propagates via peer-to-peer file sharing networks by dropping copies of itself in a peer-to-peer shared folders, using interesting file names to entice users to download the files. It also propagates via Outlook Express by changing its stationary with a dropped worm copy.

It runs on Windows 98, ME, NT, 2000 and XP.


I'm reporting it to the moderator, not to trouble you but to have them delete the attachment (not sure we are allowed to delete our own) and to keep anyone else from downloading it.  Please check your data on your computer as you may have it sleeping there somewhere.

I realised it quite recently. Shortly after I got home from Greece. My brother was an idiot and didnt want to install Virus protection stuff. Now, I am using my own laptop and are trying to figure out how to get an internet connection on it.
Title: Re: Skype Mod with Icon [new]
Post by: charlwillia6 on October 10, 2005, 05:09:21 AM
Quote from: Louis on September 04, 2005, 01:43:05 PM
Quote from: taucher on September 04, 2005, 04:59:31 AM
how can i get the skype link with image into the memberlist?
Which image are you referring to?

If you want Skype included as an IM option and if the skype names should be stored in your smf_members table, follow my link above and install FaSan's mod.

Was there ever a solution to adding skype status to the memberlist like the other IM's?
Title: Re: Skype Mod with Icon [new]
Post by: Louis on October 11, 2005, 04:43:00 AM
Quote from: charlwillia6 on October 10, 2005, 05:09:21 AM
Was there ever a solution to adding skype status to the memberlist like the other IM's?
Not really - Skype itself is based on P2P network and thus you do not have a central server with all the status info available. There are some addons (like e.g. Skype Online Status Indicator (http://www.skyperunners.com)) available though.

What can be done easily is adding the skypename information with a link to call that person immediately - just like the other IM (AIM, MSN) links in the profile.

This is achieved by SOSI and shows the current Skype status:
(http://www.skypestatus.com/kinibaai.gif?)

whereas this is created by FaSan's mod in your profile (visible under your picture if you're logged in):
(http://forum.vdwt.de/images/skype.gif)
(and with the mod it is linked to callto://skypename and will launch Skype on click; don't know if FaSan already included the latest link syntax changes...)

For the latest version (1.4) of Skype the link syntax has changed to skype:skypename?call with a couple of possibilities. See this page (http://share.skype.com/tools_for_sharing/skype_buttons/advanced_skype_buttons/) for more details.
(http://toucan-reisen.de/cms/upload/logos/getskype_green_94x23.png) (http://share.skype.com/in/102/80371)
Title: Re: Skype Mod with Icon [new]
Post by: Kindred on October 11, 2005, 09:49:56 AM
Unfortunately, FaSan seems to have removed his mod...  I can not get to it. :(

Can someone either a) forward the mod to me or b) Update this mod to do similar functions?

Basically, I agree... the information should be stored in the members table along with the other IM info...   because the users really want this listed in the member list as well... and there does not seem to be any way to do it, with the way THIS mod is currently written.
Title: Re: Skype Mod with Icon [new]
Post by: ^Raven^ on October 11, 2005, 12:18:48 PM
There is another fellow who did a Skype mod before FaSan and I actually like that one better.  I wish I had a link to his thread for you though.  If you do a search for the mods you'll find it.  It has some things FaSan's doesn't and FaSan's has things his doesn't.   But, if you include how rude and arrogant not to mention disrespectful and unhelpful FaSan has been to some of us SMF users in other thread(s) I think you'll want to use the other guy's Skype mod instead.
Title: Re: Skype Mod with Icon [new]
Post by: Louis on October 11, 2005, 04:01:45 PM
I think the link to the other mod is somewhere here in this thread, a couple of posts above.....

[edit 2005-12-04]

I have version 1.0 of FaSan's mod package available for download at http://vdwt.de/public/Skype10.zip if anyone wants a copy.
As requested by FaSan the package is no longer available (at least not for people not able to navigate through his Italian website www.smitalia.net due to lacking knowledge of Italian language)
:-X

[/edit]
Title: Re: Skype Mod with Icon [new]
Post by: Modulus on October 20, 2005, 02:34:36 AM
Quote from: Louis on October 11, 2005, 04:01:45 PM
I think the link to the other mod is somewhere here in this thread, a couple of posts above.....

I have version 1.0 of FaSan's mod package available for download at http://vdwt.de/public/Skype10.zip if anyone wants a copy.

Thanks :)
Title: Re: Skype Mod with Icon [new]
Post by: Louis on December 02, 2005, 04:03:30 PM
Quote from: Louis on October 11, 2005, 04:01:45 PM
I think the link to the other mod is somewhere here in this thread, a couple of posts above.....

*smackforehead*  :-\

The other mod is right HERE, we are already in that thread >:(
Title: Re: Skype Mod with Icon [new]
Post by: FaSan on December 04, 2005, 07:04:26 AM
Quote from: Louis on October 11, 2005, 04:01:45 PM
I think the link to the other mod is somewhere here in this thread, a couple of posts above.....

I have version 1.0 of FaSan's mod package available for download at http://vdwt.de/public/Skype10.zip if anyone wants a copy.


You are authorize for re-distribution the Mods ? I think no.

My Mod is avaible ONLY from SMItaly's web site. Please remove the packages.



FaSan
Title: Re: Skype Mod with Icon [new]
Post by: Louis on December 04, 2005, 08:01:03 AM
Quote from: FaSan on December 04, 2005, 07:04:26 AMYou are authorize for re-distribution the Mods ? I think no.

My Mod is avaible ONLY from SMItaly's web site. Please remove the packages.
Well, if you say so. As I don't understand Italian it is not available for me from that website - has the license changed sometime to "exclusive Italian use only"?  :-\

When I saw your mod the first time I thought it was better than the one by John, but I might have to review that opinion and look for alternatives as your mod development seems to be reduced to the Italian SMF community only.
Title: Re: Skype Mod with Icon [new]
Post by: FaSan on December 04, 2005, 09:23:33 AM
Quote from: Louis on December 04, 2005, 08:01:03 AM
Quote from: FaSan on December 04, 2005, 07:04:26 AMYou are authorize for re-distribution the Mods ? I think no.

My Mod is avaible ONLY from SMItaly's web site. Please remove the packages.
Well, if you say so. As I don't understand Italian it is not available for me from that website - has the license changed sometime to "exclusive Italian use only"?  :-\

When I saw your mod the first time I thought it was better than the one by John, but I might have to review that opinion and look for alternatives as your mod development seems to be reduced to the Italian SMF community only.


It is not avaible for Italian use only. The site is Joomla CMS, and if you want, you add the comand for change the language.

http://www.smitalia.net/community/index.php?language=english


It's simple.


Title: Re: Skype Mod with Icon [new]
Post by: Louis on December 04, 2005, 09:55:20 AM
Quote from: FaSan on December 04, 2005, 09:23:33 AM
It is not avaible for Italian use only. The site is Joomla CMS, and if you want, you add the comand for change the language.

http://www.smitalia.net/community/index.php?language=english

It's simple.

Yet not fully functional......

The link does give me an English main menu, OK.
But when I make my way towards downloads and mods I am confronted with an interesting msg: " Questa sezione è solo per gli utenti registrati. Esegui la login o Registrati."

I'll try the link later to see where it gets me. For now I'd say the page is not yet fully translated (which is a lot of work as I know)
Title: Re: Skype Mod with Icon [new]
Post by: Louis on December 05, 2005, 04:53:49 AM
OK, forgive me for being a bit grumpy yesterday.

I tried my luck and I succeeded :D

With a little help from http://freetranslation.paralink.com I made my way through your forum into the downloads and now I'm ready for a test of your version 1.1......
Title: Re: Skype Mod with Icon [new]
Post by: Hawkes on January 03, 2006, 04:03:47 PM
I know with my 1.1 RC1 install and the Helios TP theme I had some editing to do.

Will this work under RC2?
Title: Re: Skype Mod with Icon [new]
Post by: charlwillia6 on January 06, 2006, 05:01:41 AM
Again, since has time has gone by, does anyone have a 'good' skype mod or an opinion of ones that are in this forum.  FaSan's mod is great, except the software you have to download to your own computer sucks and gives me runtime errors even with the patches posted at skyperunners.com.  Then Microsoft updated the .net packages and it doesn't work at all now.  So is there any other alternatives?

Charles
Title: Re: Skype Mod with Icon [new]
Post by: eggman9713 on January 07, 2006, 02:52:07 PM
Could anyone give me advice on how to modify the Who's online template and the member list template to show the skype icons and give callto:// links?
Title: Re: Skype Mod with Icon [new]
Post by: John Slater on January 10, 2006, 05:23:40 PM
Yes i would love to know how to do this then i can add that to a new version.
Title: Re: Skype Mod with Icon [new]
Post by: Gary on January 12, 2006, 06:55:37 AM
John, I'll look into it when I get the chance, I'll be doing it at the same time for my Gmail Field anyway.
Title: Re: Skype Mod with Icon [new]
Post by: Louis on February 01, 2006, 05:38:06 AM
Quote from: charlwillia6 on January 06, 2006, 05:01:41 AM
Again, since has time has gone by, does anyone have a 'good' skype mod or an opinion of ones that are in this forum.  FaSan's mod is great, except the software you have to download to your own computer sucks and gives me runtime errors even with the patches posted at skyperunners.com.  Then Microsoft updated the .net packages and it doesn't work at all now.  So is there any other alternatives?

Charles

Skype has announced their own webpresence solution for the beginning of February 2006; it is still in closed beta afaik. As soon as this goes public you will no longer need .net or additional software (which is why skyperunners stopped development of their SOSI) - all you need is a link to Skype's web server which will give you a nice button with the current status like e.g. this one: (http://mystatus.skype.com/smallicon/kinibaai). Other sizes and styles are available as well.

And a bit of mod modding of course as FaSan has not yet included this....

More info to be found in the Skype forums: http://forum.skype.com/viewforum.php?f=37

Quote from: eggman9713 on January 07, 2006, 02:52:07 PM
Could anyone give me advice on how to modify the Who's online template and the member list template to show the skype icons and give callto:// links?

Basic advice first: get the mod and have a look into the .mod file to see what it does.

And have a look at skype.com (http://share.skype.com/tools_for_sharing/skype_buttons/advanced_skype_buttons/) and the new link syntax: to avoid conflicts with other software you can use "skype:" links instead of "callto://"

IMHO the biggest advantage of the skype: links is the ability to specify the desired action in the link itself, i.e. "skype:myname?chat" will open the chat window whereas "skype:myname?call" will establish a voice call.

I am currently working on integration of this into 1.0.6 but I'm afraid I will not be able to post the results without FaSan's permission....
Title: Re: Skype Mod with Icon [new]
Post by: charlwillia6 on February 01, 2006, 04:40:35 PM
Thanks for the reply Louis, I can't wait until skype has this available.

I hope that it is easy to integrate.
Title: Re: Skype Mod with Icon [new]
Post by: Aravot on February 01, 2006, 10:26:01 PM
Quote from: charlwillia6 on February 01, 2006, 04:40:35 PM
Thanks for the reply Louis, I can't wait until skype has this available.

I hope that it is easy to integrate.

This feature is available in the latest version of Skype 2.0.0.79 http://www.skype.com/share/buttons
Title: Re: Skype Mod with Icon [new]
Post by: Louis on February 02, 2006, 05:04:42 AM
Quote from: charlwillia6 on February 01, 2006, 04:40:35 PM
Thanks for the reply Louis, I can't wait until skype has this available.

I hope that it is easy to integrate.

As said before, the latest version 2.0.0.79 finally has this feature enabled (http://www.toucan-reisen.de/on/cms/upload/logos/getskype_green_94x23.png) (http://share.skype.com/in/102/80371)

Based on FaSan's mod I found it quite easy to modify, like e.g. in load.php:

FaSan's original 'Skype' => $profile['Skype'] != '' && (empty($modSettings['guest_hideContacts']) || !$user_info['is_guest']) ? array(
'name' => &$profile['Skype'],
'href' => 'callto://' . $profile['Skype'],
'link' => '<a href="callto://' . $profile['Skype'] . '"><img src="http://www.skyperunners.com/status/?skype_user=' . $profile['Skype'] . '" alt="' . $profile['Skype'] . '" border="0" height="19" width="19" /></a>',
'link_text' => '<a href="callto://' . $profile['Skype'] . '">' . $profile['Skype'] . '</a>'
) : array('name' => '', 'href' => '', 'link' => '', 'link_text' => ''),

looks like this in my version 'Skype' => $profile['Skype'] != '' && (empty($modSettings['guest_hideContacts']) || !$user_info['is_guest']) ? array(
'name' => &$profile['Skype'],
'href' => 'skype:' . $profile['Skype'] . '?chat',
'link' => '<a href="skype:' . $profile['Skype'] . '?chat" onclick="return skypeCheck();"><img src="http://mystatus.skype.com/smallicon/' . $profile['Skype'] . '" alt="' . $profile['Skype'] . '" border="0" /></a>',
'link_text' => '<a href="skype:' . $profile['Skype'] . '?chat" onclick="return skypeCheck();">' . $profile['Skype'] . '</a>'
) : array('name' => '', 'href' => '', 'link' => '', 'link_text' => ''),


Pls note that the function "return skypeCheck()" needs a bit of script embedded in the HTML header; to be precise: you must include this line in your HTML header<script type="text/javascript" src="http://download.skype.com/share/skypebuttons/js/skypeCheck.js">
</script>
This function checks if Skype is already installed on the machine and forwards you to the download page of skype.com if not (without Skype you can hardly establish a Skype conversation.....)

For copyright reasons I am afraid I can't post all the "renewed" code, but I will most probably be allowed to answer some questions  ;D

Different button styles are available:
Balloon(http://mystatus.skype.com/bogususer)
Big Classic(http://mystatus.skype.com/bigclassic/bogususer)
Small Classic(http://mystatus.skype.com/smallclassic/bogususer)
small icon(http://mystatus.skype.com/smallicon/bogususer)
medium icon(http://mystatus.skype.com/mediumicon/bogususer)
Title: Re: Skype Mod with Icon [new]
Post by: trikos on February 11, 2006, 09:24:33 AM
Hi Louis

Looks interesting :)

Just to get it rught: I need to change more code than you have posted, right? Is it like a lot?

Do you have a URL to a forum where I can see it live?

/trikos
Title: Re: Skype Mod with Icon [new]
Post by: Louis on February 11, 2006, 12:29:08 PM
Quote from: trikos on February 11, 2006, 09:24:33 AM
Just to get it rught: I need to change more code than you have posted, right? Is it like a lot?
YES, it is more than I posted, but NO, it's not really much. (Roughly a 20 minutes job)
I simply took FaSan's original mod (version 1.0 is available here at SMF somewhere) and changed every ocurrence of callto:// links to the new skype: syntax (skype:username?chat instead of a simple callto://username).
Download the mod and have a look at the Skype_105.mod (or Skype_11b3.mod for SMF1.1), this file contains all the details you need to start (once you took 5 minutes to make yourself familiar with the mod syntax).

QuoteDo you have a URL to a forum where I can see it live?
Of course I do have a live installation, but it is not a public forum so you will not be able to see it.
Title: Re: Skype Mod with Icon [new]
Post by: Gary on February 11, 2006, 02:01:42 PM
Here's a live demo for you;

http://forum.babysimpson.co.uk/index.php?topic=1277.msg14236#msg14236

I havent been bothered to change the callto thing yet.
Title: Re: Skype Mod with Icon [new]
Post by: diegolyanky on March 17, 2006, 06:18:25 PM
What about 1.1RC2 ?

It works on 1.1RC2 ?

Thanks !  ;)
Title: Re: Skype Mod with Icon [new]
Post by: Gary on March 17, 2006, 08:40:29 PM
Don't hold your breath. I doubt Slater will be here again. I speak from experience.
Title: Re: Skype Mod with Icon [new]
Post by: diegolyanky on March 17, 2006, 09:15:05 PM
Thanks Gary for your reply ...

Than, I'll be waiting here for that.

Best regards !  ;)
Title: Re: Skype Mod with Icon [new]
Post by: TechnoDragon on March 17, 2006, 10:45:10 PM
there is another topic that has a fully RC2 compatible install of the skype icon.
Title: Re: Skype Mod with Icon [new]
Post by: eggman9713 on March 17, 2006, 11:23:52 PM
O_o would you mind providing a link to said topic? :)
Title: Re: Skype Mod with Icon [new]
Post by: diegolyanky on March 18, 2006, 12:25:06 AM
Quote from: technodragon73 on March 17, 2006, 10:45:10 PM
there is another topic that has a fully RC2 compatible install of the skype icon.

Where ? I can't found it !...

Thanks !!  ;)
Title: Re: Skype Mod with Icon [new]
Post by: TechnoDragon on March 18, 2006, 12:43:12 AM
this is a little older version...http://www.simplemachines.org/community/index.php?topic=75896.0
this is newer (updated) http://forum.technodragon.net/index.php?topic=116.0 (manual install)

I can also let you know how to do the smae with Gmail too!
Title: Re: Skype Mod with Icon [new]
Post by: Gary on March 18, 2006, 11:00:24 AM
I do the Gmail Field one, I'll be looking into getting it working with RC2. I'm just REALLY busy. With the college work, and the assignments and the exams! Oy Glayvin.
Title: Re: Skype Mod with Icon [new]
Post by: TechnoDragon on March 18, 2006, 02:12:23 PM
I could show you what I have already (it works in RC2).  I was able to integrate it just like the existing email field and msn messenger.
Title: Re: Skype Mod with Icon [new]
Post by: Gary on March 18, 2006, 04:02:38 PM
Sure. PM or Email me.
Title: Re: Skype Mod with Icon [new]
Post by: PostThis on May 27, 2006, 10:18:17 PM
Absolutely fabulous mod, thank you so much for making it happen! Works like a dream!  :)
Title: Re: Skype Mod with Icon [new]
Post by: axaesque on May 28, 2006, 01:19:30 PM
Are there existing Skype mods that work with RC2 ?

I have read through this entire thread an found no evidence of it.

I have tried installing every Skype mode I coul find using package manage, to no avail. While the packages show as successfully installed, the skype field never shows up in the profile field.

Using 1.1 rc2 with mkportal.
Title: Re: Skype Mod with Icon [new]
Post by: TechnoDragon on May 28, 2006, 02:37:15 PM
I have a complete tutorial on integrating it like you are asking:

http://forum.technodragon.net/index.php?topic=116.0

you can view it as a guest, but if you want to see it in action you'll have to sign up as a member.
Title: Re: Skype Mod with Icon [new]
Post by: John Slater on August 08, 2006, 11:00:41 AM
If you would like to re-code the mod for the newer versions then please do, send me the link to download and i will attach it to this thread. Thanks.
Title: Re: Skype Mod with Icon [new]
Post by: John Slater on August 16, 2006, 09:16:43 AM
Okay i have recorded the mod, i will release some add-ons to this mod in the near future, one of which will be to display in the Member list and display an icon for Skype Chat.
Title: Re: Skype Mod with Icon [new]
Post by: dagod on September 15, 2006, 05:57:39 PM
whats about rc3 support?
Title: Re: Skype Mod with Icon [new]
Post by: John Slater on September 21, 2006, 04:49:14 PM
Can everyone please understand that this mod doesnt show the Icon if your theme has its own files for any of the files this mod edits. Please extract the code and add this your self, it may not support some themes. It now works in RC3
Title: Re: Skype Mod with Icon [new]
Post by: Burtie on November 13, 2006, 05:14:30 AM
John Slater,

Your Skype looks excellent, just what we are looking for.
Could you or anyone else tell me if it works with 1.0.9?
I also understand that it will not install on a custom theme and the code needs to be extracted manually. This being the case please could someone provide an idiots guide as to how to do this manually.
Title: Re: Skype Mod with Icon [new]
Post by: Gary on November 13, 2006, 05:23:46 AM
It should install fine for 1.0.9

-AwwLilMaggie
Title: Re: Skype Mod with Icon [new]
Post by: Burtie on November 13, 2006, 08:08:04 AM
AwwLilMaggie,

Thanks, how about manual upload? Are there any instructions that are specific to this mod. I have used SMF for over a year and never found the need for any mods. I don't want to fall on the first attempt.
Title: Re: Skype Mod with Icon [new]
Post by: Gary on November 13, 2006, 08:20:53 AM
If your theme doesnt have its own Display.template.php and Profile.template.php then install in the package manager and it'll work automatically.

If it does have one (or both) of them then this (http://docs.simplemachines.org/index.php?topic=402.0) will help.

-AwwLilMaggie
Title: Re: Skype Mod with Icon [new]
Post by: Burtie on November 13, 2006, 06:56:52 PM
Hi,

My theme does not have its own display.temp or profile.temp files, however if I try to apply the mod with package manager I get this error.

An Error Has Occurred!
2: mkdir(/var/www/html/forum/Packages/temp/skypemod/images/): No such file or directory
File: /var/www/html/forum/Sources/Subs-Package.php
Line: 413 

I uploaded the mod via the Mod Site.

Any ideas?


Title: Re: Skype Mod with Icon [new]
Post by: Burtie on November 16, 2006, 06:22:38 AM
AwwLilMaggie,

Please, do you have any ideas why I have this error?
Title: Re: Skype Mod with Icon [new]
Post by: rebus on November 16, 2006, 11:53:52 AM
I have SMF 1.1RC3 with default theme, installation ok, I can add the skype name to my profile but no icon appears!

@Burtie: could it be that the path to the forum is wrong?
Title: Re: Skype Mod with Icon [new]
Post by: Burtie on November 16, 2006, 07:47:35 PM
Rebus,

I am not sure about the path being wrong.

The line number 413 in Subs-package.php is - mkdir($destination . '/' . $file_info['filename'], 0777);

Does this mean I have a file attribute wrong?
Title: Re: Skype Mod with Icon [new]
Post by: Gary on November 16, 2006, 08:29:21 PM
Try creating a directory in your packages folder called "temp" (without the quotes) and CHMOD it to 777, then try installing the mod.

-AwwLilMaggie
Title: Re: Skype Mod with Icon [new]
Post by: Burtie on November 17, 2006, 05:31:13 AM
Hi AwwLilMaggie,

Sorry I meant to say permission and not attribute in my last post....it was late! Anyway, the folder "temp" was already there. I set the permission but still get the same error.

One thing I could be doing wrong here, my File Manager sets permissions by "owner" "group" and "others" giving a check box for read,write and execute. To set CHMOD to 777 does checking all of them achieve this?
As this is what I have done....

Thanks for your help.
Title: Re: Skype Mod with Icon [new]
Post by: emmaderijk on December 13, 2006, 08:15:36 PM
Is there a compt. version for 1.1 coming?

thanks
emma
Title: Re: Skype Mod with Icon [new]
Post by: warhonowicz on February 20, 2007, 09:50:24 AM
any plans on creating a version for SMF 1.1.2??
Title: Re: Skype Mod with Icon [new]
Post by: Christophe on March 02, 2007, 08:33:09 AM
Has anyone tried this with 1.1.2??
Title: Re: Skype Mod with Icon [new]
Post by: ksawery on March 04, 2007, 09:36:10 AM
This mod works with 1.1.2?
Title: Re: Skype Mod with Icon [new]
Post by: warhonowicz on March 26, 2007, 03:21:13 PM
It kinda does ... it doesn't show me the skype icon in my profile area in a post, only the red cross on white background thingy ...
Title: Re: Skype Mod with Icon [new]
Post by: Gary on March 27, 2007, 10:40:45 AM
Quote from: warhonowicz on March 26, 2007, 03:21:13 PM
It kinda does ... it doesn't show me the skype icon in my profile area in a post, only the red cross on white background thingy ...

Thats because the image is not in your themes images folder.

-AwwLilMagie
Title: Re: Skype Mod with Icon [new]
Post by: Jump Network on March 31, 2007, 10:44:43 AM
I have download this file, but have ABSOLUTLY no idea what do do with the files.

Where do you put the Images?
Where do you put the skype_icon
What do I do with modification and package-info file?

Any help will be GREAT...

Chris.
Title: Re: Skype Mod with Icon [new]
Post by: Gary on March 31, 2007, 10:59:46 AM
You dont extract the contents, download the file and then use the package manager.

Admin > Packages >  Download Packages > Browse

-AwwLilMaggie
Title: Re: Skype Mod with Icon [new]
Post by: NEMINI on March 31, 2007, 11:18:10 AM
just installed as is on 1.1.2 works without issue.
Title: Re: Skype Mod with Icon [new]
Post by: HE_WEB on May 18, 2007, 06:39:47 AM
Hi,

Doesnt display the "Skype" icon in the CITYSCAPE theme - can you please help?

Many thanks  :)
Title: Re: Skype Mod with Icon [new]
Post by: Gary on May 18, 2007, 09:02:04 AM
You'll have to add it there manually and upload the image into the theme's images directory

-ALM
Title: Re: Skype Mod with Icon [new]
Post by: Filipina on September 30, 2007, 02:52:08 PM
a little help please... installed the mod and the skype area is next to the website URL area causing a wide profile page... can anyone look at this code and tell me if there is an adjustment i can make so the skype area is below instead of beside the website URL space :)

// Some more information.
   echo '
               </td>
            </tr><tr>
               <td>', $txt[96], ': </td>
               <td><a href="', $context['member']['website']['url'], '" target="_blank">', $context['member']['website']['title'], '[/url]</td>', !empty($context['member']['options']['skype']) ? '</tr><tr>
<td>Skype Name: </td>
<td><a href="callto://' . $context['member']['options']['skype'] . '" target="_blank">' . $context['member']['options']['skype'] . '[/url]</td>' : '', '</tr><tr>
', !empty($context['member']['options']['youtube']) ?'</tr><tr> <td>Youtube Video: </td> <td><embed src="http://www.youtube.com/v/'
. $context['member']['options']['youtube'] . '"></embed></td>': '', '

            </tr><tr>
               <td>', $txt[113], '
Title: Re: Skype Mod with Icon [new]
Post by: romuba on November 09, 2007, 07:37:43 AM
Worked like a breeze for me. Very nice to have this. Couldn't understand why it wasn't there with the normal install though.
Title: Re: Skype Mod with Icon [new]
Post by: DeMar on November 14, 2007, 11:38:44 AM
Hello,

I have a question?
What & how need I to change to have instead of call, send pm on skype.
My users are comunicating over pm and not over calling.

Thanks
Title: Re: Skype Mod with Icon [new]
Post by: DeMar on November 15, 2007, 03:59:33 AM
No one?
Title: Re: Skype Mod with Icon [new]
Post by: romuba on November 15, 2007, 05:17:43 AM
Not me, I would also be interested if there is a solution to this. I would imagine that it would be a modification in one of the php file but I haven't a clue which one nor what the change would be.
Title: Re: Skype Mod with Icon [new]
Post by: DeMar on November 15, 2007, 06:44:06 AM
and???
Title: Re: Skype Mod with Icon [new]
Post by: DeMar on November 17, 2007, 02:42:56 AM
no one?
Title: Re: Skype Mod with Icon [new]
Post by: romuba on November 17, 2007, 04:35:39 AM
As mentioned, I can't help with this one. I sometimes dig around and fiddle and then manage to get things to work. Sorry I can't help.
Title: Re: Skype Mod with Icon [new]
Post by: DeMar on November 17, 2007, 04:51:47 AM
Maybe someone else??
Please!!!
Title: Re: Skype Mod with Icon [new]
Post by: TrueSatan on November 17, 2007, 06:06:54 AM
@ Dean B

I don't think that what you are requesting will be possible unless Skype add extra command line options to their system...currently the only command line options are:


* /nosplash - do not display splash screen when Skype starts
* /minimized - Skype is minimized to system tray when it starts
* /callto:nameornumber - call the specified Skype Name or SkypeOut number
* /shutdown - close Skype

This mod makes use of the /callto:nameornumber item above in order to work...as there is no corresponding /pmto:nameornumber option provided by Skype there is little anyone on these forums can do to help.
Title: Re: Skype Mod with Icon [new]
Post by: DeMar on November 17, 2007, 06:21:47 AM
OK.
Thanks for the info
Title: Re: Skype Mod with Icon [new]
Post by: Don_NUTSO on January 16, 2008, 01:00:21 PM
Is it available for 1.1.4 ??
Title: Re: Skype Mod with Icon [new]
Post by: eXecuT on January 16, 2008, 01:09:43 PM
If it works with SMF 1.1.2 or 1.1.3, it correctly will work with SMF 1.1.4. ;)
Title: Re: Skype Mod with Icon [new]
Post by: Gary on January 16, 2008, 09:04:53 PM
Any mod compatible with 1.1 Final or later will work on 1.1.4
Title: Re: Skype Mod with Icon [new]
Post by: Bernard T. on February 01, 2008, 03:18:40 PM
Quote from: TrueSatan on November 17, 2007, 06:06:54 AM
@ Dean B

I don't think that what you are requesting will be possible unless Skype add extra command line options to their system...

There is indeed a way to accomplish this because you can use this synthax of plain URL-s that are registered with OS to be handled by Skype :

<a href="skype:your-skype-name?chat">
<a href="skype:your-skype-name?call">
<a href="skype:your-skype-name?add">
<a href="skype:your-skype-name?userinfo">
<a href="skype:your-skype-name?voicemail">
<a href="skype:your-skype-name?sendfile">

I think it is self explainatory what each of them does. I will take a look at code of this mod to see how to mod it...
Title: Re: Skype Mod with Icon [new]
Post by: Rosenstein on February 29, 2008, 08:28:58 PM
I figured it out how to change "callto://your-skype-name/" to "skype:your-skype-name?chat".
Open your Display.template.php and find:
Quoteecho '<a href="callto://', $message['member']['options']['skype'], '/">
and change it to (If you want to open chat window):
Quoteecho '<a href="skype:', $message['member']['options']['skype'], '?chat">
or you want to add someone:
Quoteecho '<a href="skype:', $message['member']['options']['skype'], '?add">
Just change part after "?" and it will work
Title: Re: Skype Mod with Icon [new]
Post by: senyorito on March 10, 2008, 07:53:28 PM
I've rewritten this Mod to be fully compatible with SMF 1.1.4 or 1.1.x .  But I have to ask permission to John Slater to upgrade the Mod or to put up my own Mod with SMF 1.1.4 compatibility.
Title: Re: Skype Mod with Icon [new]
Post by: Gary on March 10, 2008, 08:00:59 PM
Just put it up anyway by attaching it to this topic. Knowing Slater, you wont be able contact him. We used to know each other...
Title: Re: Skype Mod with Icon [new]
Post by: bushie on June 04, 2008, 09:28:32 PM
Is there a mod that does put Skype buttons on 1.1.5?  I've used this one but it only puts the field in the Profile and nothing in the Forum itself.

Cheers,


Ric
Title: Re: Skype Mod with Icon [new]
Post by: Linzmeister on July 27, 2010, 09:23:24 PM
Quote from: Filipina on September 30, 2007, 02:52:08 PM
can anyone look at this code and tell me if there is an adjustment i can make so the skype area is below instead of beside the website URL space :)

moving the new piece of code to this location, puts the skype contact with the other instant messaging contacts

// All the messenger type contact info.
echo '
<tr>
<td width="40%"><b>', $txt[513], ': </b><div class="smalltext">', $txt[600], '</div></td>
<td><input type="text" name="ICQ" size="24" value="', $context['member']['icq']['name'], '" /></td>
</tr><tr>
<td width="40%"><b>', $txt[603], ': </b><div class="smalltext">', $txt[601], '</div></td>
<td><input type="text" name="AIM" maxlength="16" size="24" value="', $context['member']['aim']['name'], '" /></td>
</tr><tr>
<td width="40%"><b>', $txt['MSN'], ': </b><div class="smalltext">', $txt['smf237'], '.</div></td>
<td><input type="text" name="MSN" size="24" value="', $context['member']['msn']['name'], '" /></td>
</tr><tr>
<td width="40%"><b>', $txt[604], ': </b><div class="smalltext">', $txt[602], '</div></td>
<td><input type="text" name="YIM" maxlength="32" size="24" value="', $context['member']['yim']['name'], '" /></td>
</tr><tr>
<!-- moved to here from below ***** ***** ***** ***** ***** ***** ***** ***** ***** -->
<td width="40%"><b>Skype Name: </b></td>
<td><input type="text" name="default_options[skype]" size="50" value="', @$context['member']['options']['skype'], '" /></td>
</tr><tr>
<!-- ************************************************************ end of moved data-->
<td colspan="2"><hr width="100%" size="1" class="hrcolor" /></td>
</tr>';

Title: Re: Skype Mod with Icon [new]
Post by: Linzmeister on July 28, 2010, 01:55:00 AM
Quote from: Louis on February 02, 2006, 05:04:42 AM
Different button styles are available:
Balloon(http://mystatus.skype.com/bogususer)
Big Classic(http://mystatus.skype.com/bigclassic/bogususer)
Small Classic(http://mystatus.skype.com/smallclassic/bogususer)
small icon(http://mystatus.skype.com/smallicon/bogususer)
medium icon(http://mystatus.skype.com/mediumicon/bogususer)

All I get from mystatus.skype.com/smallicon/ is the grey offline icon.  I don't ever see the green online icon or the yellow away icon or the RED do not disturb icon.  Is there a way to see current status??