Coar's Skype Mod

Started by Coar, April 04, 2006, 09:34:53 PM

Previous topic - Next topic

Coar

Link to Mod

A mod for SMF to add the option of adding a Skype name with all you're other messaging options.

This mod fully integrates itself with every feature of the board where a user's messenger profile information is displayed, in the same format as all the others. i.e., if the messenger info is a plaintext link, it shows the same, and if it's an image, it shows as an image.

The readme file contains alot of data pertaining to this mod. If you have any trouble with it, or you want it installed to other themes, PM me, and I will do my best to resolve the issue and/or make a custom build for you.

Though I don't know any other languages, I *may* be able to make a custom build for other languages, but I will need translation help. The default for this mod is English.

For some reason, the package manager has some issues with this mod on certain versions of SMF if you use the "Install Now" link, but if you download this mod, then upload it to your site, it will work.

Changes:
v1.0 - Launch
v1.1 - Added a file to remove the database field "Skype" upon uninstall
v1.2 - Fixed a small bug that will now allow searches to return Skype entries, just like all the other messengers
v1.3 - Made a combined download, allowing all compatible versions to use the same zip file
v1.4 - A bug was noted for all 1.0.X versions of SMF, and has been corrected
v1.5 - Yet another bug fix for all 1.0.X versions
"There are four boxes in the defense of liberty. Soap, Ballot, Jury, and Ammo. Use in that order."

ghostfreak

Thanks :) Installed this on my site and it worked fine!

http://www.xfilesforum.net - Dare To Believe?
http://www.idealforum.co.uk - The Green Blitz!

Coar

currently, this mod is only working for SMF 1.1 RC2, but I now have a domain set up with all versions of SMF installed on separate subdomains, and I will be providing new versions for the other versions of SMF
"There are four boxes in the defense of liberty. Soap, Ballot, Jury, and Ammo. Use in that order."

Coar

#3
Found a small bug when I was building the SMF 1.1 RC1 version that I corrected on the RC2 version, making a search of the memberlist able to return the Skype field data

If this doesn't bother you, there is no reason to upgrade to version 1.2

This mod now supports both 1.1 Beta 3 Public, 1.1 RC1, and 1.1 RC2, download the appropriate file depending on your version of SMF
"There are four boxes in the defense of liberty. Soap, Ballot, Jury, and Ammo. Use in that order."

Coar

#4
Just put out v1.3, making the entire package a combined version. Its only one zip file now.

Once again, no reason to upgrade if you dont want to. No added features were introduced, nor any removed.

This mod now supports 1.0.1-1.0.7, 1.1 Beta 3 Public, 1.1 RC1, and 1.1 RC2
"There are four boxes in the defense of liberty. Soap, Ballot, Jury, and Ammo. Use in that order."

Gurby

Hi, I use 1.0.6 and installed the mods. Works fine, but is there something missing in the Memberlist?

I'm a newbie on this, but shouldn't there be a
$row['Skype'] = '';
and
'skype' => array(
'name' => $row['Skype'],
'href' => !empty($row['Skype']) ? 'callto://' . $row['Skype'] : '',
'link' => !empty($row['Skype']) ? '<a href="callto://' . $row['Skype'] . '" target="_blank"><img src="' . $settings['images_url'] . '/skype.gif" alt="' . $row['Skype'] . '" border="0" /></a>' : ''
),

printMemberListRows in Memberlist.php?

and also
, Skype
in the query in MLSearch in Memberlist.php?

Otherwise I can't see which member has Skype and who hasn't.
hxxp:www.mijnautohistorie.nl/ah_history.php?usid=1 [nonactive]

Coar

#6
lemme check into it....

EDIT: short version: yes
        long version: i'll have a new release in about an hour, i have to do some file checking, then update my code

thanks for pointing this out
"There are four boxes in the defense of liberty. Soap, Ballot, Jury, and Ammo. Use in that order."

Coar

For all of you who actually check this thread, v1.4 is out, its a recommended update for all SMF 1.0.X users
"There are four boxes in the defense of liberty. Soap, Ballot, Jury, and Ammo. Use in that order."

charlottezweb

Does your forum have this activated?  Didn't see it but I'm interested in seeing how it displays.

Cheers,
Jason

Coar

#9
my forum has a custom build (due to some themeing and other mods), but yes, its installed at http://www.gotteverquest.net/forum/, though it is hidden for guests

feel free to use the following info

username: smftest
password: test
"There are four boxes in the defense of liberty. Soap, Ballot, Jury, and Ammo. Use in that order."

devastator82

hi, i have installed smf 1.0.7 and skype mod 1.4. and cant access to Memberlist, get error:
Parse error: syntax error, unexpected ',' in Memberlist.php on line 328

K_4_kelly

harlo,

i m tried to install, but got:

9. Execute Modification ./Themes/default/Memberlist.template.php Test failed

what code i need to manually edit or add for the file then?
could anyone help me?

thanks

kel

edi67

installed under smf 1,1 rc2 all work perfectly without errors for now

thanx
CrazyZone - My SMF Forum


From the difficult the hardening of the man you can see

K_4_kelly

it works for me now,
although it shown the memberlist.template.php test failed

but it still works, after i installed by ignored the error.

eggman9713

Well, it works, but when you try to access the member list you get the parse error. It appears there is a typo somewhere in the 1.0.x mod code. I'll do some experimenting and see if I can fix it. That seems to be the only bug.

limpacific

Hi Coar,

I installed your version 1.4 mod on a SMF 1.0.7 and got a memberlist.php error on line 328.  It appears that the following lines got clobbered by the installation of the mod.

                $request = db_query("
                        SELECT
                                memberName, realName, websiteTitle, websiteUrl, posts, hxxp:mem.id [nonactive]_GROUP, ICQ, AIM, YIM, MSN, emailAddress,"

Thanks for putting up the mod.  BTW, can I use your mod as a basis to create an extended profile mod?  Let me know if I shouldn't.  Thanks!

Regards,

Limpacific

Coar

actually, what was getting clobbered was the code of:
// Find the members from the database.
$request = db_query("
SELECT
memberName, realName, websiteTitle, websiteUrl, posts, mem.ID_GROUP, ICQ, AIM, YIM, MSN,


This error was caused by me misspelling "position". For some reason, "postition" did not work :)

In fixing this error though, I came across a different error, also with the 1.0.X release, one that was not noticed, or at least posted about. Both have been corrected in version 1.5

there is no need for 1.1 users of this mod to update
"There are four boxes in the defense of liberty. Soap, Ballot, Jury, and Ammo. Use in that order."

Benson

Installed it under SMF 1.1rc2, made the necessary changes to the SAFmc theme. Everything is working fine! Nice mod!

cheers,
Benson

my evil twin

i can't get the mod to work.
the icon is not displayed, and whenever i enter the name into the profile, it disappears after saving. it is still in the database but not in the profile however.

elkuku

Works great ! No problems with installation  ;)

Fine work  :)

Advertisement: