View Full Version : Profile Enhancements - Extra IM Fields GTalk and Jabber
DragonMasterNYC
12-23-2008, 10:00 PM
Extra IM Fields v1.0
I made this modification since the vBulletin Team still has not added these IM networks to the forum system.
This is my first modification since 2003 and first publicly released modification.
Description
This hack adds 2 extra IM fields to the User Control Panel.
http://spiralgaming.net/Forums/images/dark_vb/misc/im_gtalk.gif Google Talk Handle
http://spiralgaming.net/Forums/images/dark_vb/misc/im_jabber.gif Jabber Handle
More networks will be added as time goes by and people request for more.
Features
-Adds extra IM fields for users.
-Displays extra IM fields in profile, memberslist, postbit and post legacy.
-Zero Template Edits!
-Admincp settings to enable, disable, and display options.
Installation
Upload images files
Import Product XMLAs always remember to back up your forums before modifying anything.
DragonMasterNYC
12-24-2008, 04:01 AM
Reserved
chooky
12-24-2008, 07:49 AM
Import Product XML
Where is the xml ?
digicom
12-24-2008, 10:26 AM
You have forgot to attach the XML file!!!
dubai2008
12-26-2008, 03:08 PM
we are still waiting....
footlandia
12-26-2008, 03:49 PM
I want to try to :D
TandyServices
12-27-2008, 08:28 PM
nothing here
DragonMasterNYC
12-28-2008, 03:45 AM
Sorry about the wait guys. System went down for a few days.
TandyServices
12-31-2008, 04:10 PM
Does not work.. Installed all and get database error
Invalid SQL:
UPDATE vb_user SET
parentemail = '',
icq = '',
msn = '',
aim = '',
yahoo = '',
skype = '',
homepage = 'http://www.mysite.com',
birthday_search = 'xxxx-xx-xx',
birthday = 'xx-xx-xxxx',
showbirthday = 0,
usertitle = 'Webmaster',
customtitle = 1,
gtalk = 'test',
jabber = ''
WHERE userid = 3;
MySQL Error : Unknown column 'gtalk' in 'field list'
Error Number : 1054
Request Date : Wednesday, December 31st 2008 @ 11:02:11 AM
Error Date : Wednesday, December 31st 2008 @ 11:02:11 AM
Script : http://www.mysite.com/profile.php?do=updateprofile
Referrer : http://www.mysite.com/profile.php?do=editprofile
IP Address : 68.243.xxx.xx
Username : ME
Classname : vB_Database
MySQL Version : 5.0.67-community-log
Well not let me uninstall it.. comes up with more errors..
DragonMasterNYC
01-03-2009, 05:09 AM
Thats odd I tested this on 3.7.4 and 3.8 RC1.
I'm looking into this tonight.
Update: I have installed and uninstalled it on my test forums and my active forums with no problems. Maybe you could post a list of modifications you have installed on your forums so I could recreate the error.
TandyServices
03-21-2009, 09:21 PM
Sorry that is alright.. I have a bunch of mods.. I will just leave it thanks anyways..
amjadz4
04-12-2009, 04:19 PM
Thanks,
Can you add Twitter and Facebook?
Regards
DragonMasterNYC
04-20-2009, 11:38 PM
There is a Facebook & MySpace one here (https://vborg.vbsupport.ru/showthread.php?t=211531). Twiter isn't really a IM network.
amjadz4
04-21-2009, 07:38 AM
There is a Facebook & MySpace one here (https://vborg.vbsupport.ru/showthread.php?t=211531). Twiter isn't really a IM network.
Well, it is now! Twitter is available in all multi IM softwares! :)
bbcentral
04-26-2009, 05:41 AM
It's a good mod, but I don't need GTalk and Jabber. So I modified the product XML to add Twitter support. (Essentially I just replaced GTalk with Twitter and removed all the Jabber code, plus made a few other minor code changes).
If someone can design a mod which allows people to customise their IM networks instead of finding a mod to do each one, it will be VERY popular. But I don't see that happening any time soon, so for now we have to install one mod to do GTalk/Jabber, another one for Facebook/MySpace, and another one for Twitter.
Thanks for creating this mod though, it was the only one I could find which was coded well enough that I could adapt it for my needs :)
Marked as installed!
Edit: I've added some new features which I'd love to contribute back to the developer.
Firstly, I've fixed some bugs in the code, mainly a few spelling mistakes, but also:
Inside extra_im_fields_profiletab the image points to 'images/misc/' instead of '$stylevar[imgdir_misc]/'.
Secondly, the profile and postbit both link back to the twitter profile now.
Finally, I've added data validation, so that no matter what format my members enter their Twitter username it will always be inserted correctly.
If they enter:
http://twitter.com/thebluesbros
http://www.twitter.com/thebluesbros
@thebluesbros
twitter.com/thebluesbros
www.twitter.com/thebluesbros
All of these will be converted into 'thebluesbros' before being inserted into the MySQL table.
This is much easier than trying to explain to people exactly how they should format their username :)
Seriously, DragonMasterNYC, I think if you're able to modify your product to include Twitter (and possibly Facebook), you're going to have an EXTREMELY popular mod!
I'll happily PM you my code changes if you like, 90% of it is identical to what you already have.
I even think I've worked out how to support multiple custom IM networks (without ending up with a messy database and huge numbers of extra fields).
This is what I picture:
You install the product
You go to the Extra IM Fields settings page
You tick the boxes next to the networks you want to enable
Your members can start updating their profiles!
I'd create my own mod to do this, but I'm too honest to "borrow" someone else's code :P
If you want to code it yourself let me know and I'll send you everything I have.
If you want me to do it, that's fine too. This is something I know I need on my own forum. I'd give full credit of course.
infraud
12-05-2010, 09:34 PM
it write on me
Warning: fetch_template() calls should be replaced by the vB_Template class. Template name: extra_im_fields_modifyprofile in [path]\includes\functions.php on line 4007
vb 4.0.7
Any solution ?
EliasAlucard
04-17-2014, 06:34 PM
This is an important plugin, and it needs to be updated for vB4. So I second the poster above me.
vBulletin® v3.8.12 by vBS, Copyright ©2000-2025, vBulletin Solutions Inc.