Skype Mod with Icon [new]

Started by John Slater, June 11, 2005, 04:54:59 PM

Previous topic - Next topic

NOS ChromeNut

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

dtm.exe

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

NOS ChromeNut


^Raven^

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?
Jon Reinhart

Owner, CWF GameCast

Public Relations Coordinator, Battlestar Galactica Wiki

NOS ChromeNut

#44
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.

NOS ChromeNut

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.

dtm.exe

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

NOS ChromeNut

 ???
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.....
???

Louis

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....
It is your mind that creates this world (Buddha)

Aravot

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

Louis

According to this post 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
It is your mind that creates this world (Buddha)

taucher

how can i get the skype link with image into the memberlist?

Louis

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.
It is your mind that creates this world (Buddha)

Gary

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:


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.
Gary M. Gadsdon
Do NOT PM me unless I say so
War of the Simpsons
Bongo Comics Fan Forum
Youtube Let's Plays

^ YT is changing monetisation policy, help reach 1000 sub threshold.

charlwillia6

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?

Louis

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


whereas this is created by FaSan's mod in your profile (visible under your picture if you're logged in):

(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 for more details.
It is your mind that creates this world (Buddha)

Kindred

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.
Слaва
Украинi

Please do not PM, IM or Email me with support questions.  You will get better and faster responses in the support boards.  Thank you.

"Loki is not evil, although he is certainly not a force for good. Loki is... complicated."

^Raven^

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.
Jon Reinhart

Owner, CWF GameCast

Public Relations Coordinator, Battlestar Galactica Wiki

Louis

#58
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]
It is your mind that creates this world (Buddha)

Modulus

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 hxxp:vdwt.de/public/Skype10.zip [nonactive] if anyone wants a copy.

Thanks :)

Advertisement: