![]() |
|
|
Mod Options |
vBGT [Google Talk Supprt] Details »
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
This modification is in the archives.
vBGT [Google Talk Support]
By Spike223 Description:: This hack will add an icon which acts identically to the other four instant messager icons, it wil pop up a box and display the user's Google Talk Username. It will add this icon in three places, your member's list, postbit (both styles), and profile. Version Info:: v 1.0: - First Release v 1.1: - Added Image Alt Tags As Requested v 1.2: - Fixed Image Alt tage to match other 4 Im Clients'. - Added bug so if GT is the only IM client the user has, it shows in their profile. - vBulletin now pre-caches the template for faster load times. v 1.3: - the Google Talk Textbox shows by the other four when editing profiles. Installation Instructions:: Firstly, you need to create a custom Profile Field. Make it a single-line textbox, and REMEMBER it's name. It should be something like "field__" where the __'s are a number. Then, follow these directions. Sorry they're so crude, but I decided to document it 1/3 of the way in, and Notepad was the handiest way. REMEMBER to replace, ANYWHERE you see "fieldXX" in this document, with your own field name from above, otherwise this hack will not function! Here are the PHP and Template Modifications: ++ In sendmessage.php:: Replace:
With:
Replace:
With:
Replace:
With:
Replace:
With:
++ In includes/functions_user.php:: Replace:
With:
Replace:
With:
++ In Template modifyprofile:: Replace:
With:
++ In Template MEMBERINFO:: Replace:
With:
Replace:
With:
++ In template memberlist_resultsbit: Replace:
With:
++ In postbit and postbit_legacy Templates:: Find:
Replace:
Create Template Called "im_send_gt", put this in it, but replace with HTML where it says __CONTENT HERE__. The user's GT s/n for use in this template is "$userinfo[fieldXX]", no quotes.
Add whatever you like in it, but whatever you add will be displayed in the popup window for contacting that user. HTML is allowed in the template as usual. Files To Upload:: Here's a GT logo: ![]() Upload it to FORUM ROOT/images/misc/. If you liked this hack, please click INSTALL! Download Now Only licensed members can download files, Click Here for more information. Supporters / CoAuthors Show Your Support
No members have liked this post.
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Comments |
|
#2
|
|||
|
|||
|
*installed* at www.bigblueball.com/forums (Thanks, Spike!)
I did add alt text to the img tag, to provide a tooltip when people hover over the image (like they get for the other IM icons). No members have liked this post.
|
|
#3
|
|||
|
|||
|
I use the google icon for mine.
__________________
My Site: Dungeon Empire No members have liked this post.
|
|
#4
|
||||
|
||||
|
Originally Posted by JsnakeJ
Mine didn't work till I added the template to the pre-cache'd templates on line 36 (in my file) but works famously now
![]() *install* No members have liked this post.
|
|
#5
|
||||
|
||||
|
I was just talking to my friend about a mod like this.. And then I found this! :P
Great job! /me installs
Originally Posted by GetGamer.com
That sounds great.. Mind posting what edits to make to do this?
No members have liked this post.
|
|
#6
|
|||
|
|||
|
never mind, i got it
__________________
Name Forums-A Web Developers Forum No members have liked this post.
|
|
#7
|
|||
|
|||
|
Originally Posted by MET920
Updated hack to 1.1 as requested.
__________________
BigBlueBall.com No members have liked this post.
|
|
#8
|
|||
|
|||
|
now how about displaying it in the who's online page
No members have liked this post.
|
|
#9
|
||||
|
||||
|
Originally Posted by Spike223
thanks.. And I suggest making a zip file with the install instructions and the image.. If you want I've already madeose for myself because I like to have the installation files of all the mods I have installed.. Just tel me and I'll send it to you or something..
No members have liked this post.
|
|
#10
|
||||||||
|
||||||||
|
Thnx Spike, it's a nice hack
For the uncached templates you can replace in the sendmessage.php Replace:
With:
No members have liked this post.
|
||||||||
|
#11
|
||||
|
||||
|
Upgraded to v1.1. Awesome hack as usual - its use is becoming widespread around the forums as well!
But just so you know, Spike, some of the code in their still says "field10" and not "fieldXX" like it should. This makes some things harder to catch and fix since you don't say anything about a "field10" in this version. For the alt messages, though, wouldn't it be more appropriate to have it say "Send a message via Google Talk to <user>"? The rest of the IMing icons have that as their alt message.
__________________
Escalate Media LP No members have liked this post.
Last edited by Lee; 29 Aug 2005 at 19:10. |
|
#12
|
|||
|
|||
|
gr8 hack.. and provided very much in time, especially GT is becoming very common, this shall go really well with the members.
Just a few questions... 1. Any chance of having the newly created custom profile field appear in the "Instant Messaging" section under the Users CP ==> Edit Profile ==> {Optional Information section} as opposed to it appearing by itself in a seperate section. 2. When I enter my GT addy, it does not appear in the "View Profile" page until and unless I include another IM ID, e.g. MSN. Is this happening for anyone else? Cheers No members have liked this post.
|
|
#13
|
|||
|
|||
|
Upgraded to Version 1.2.
Thanks to everyone who gave me ideas for the new version. I am unable to display it in the Who's Online part, unfortunately, I've toyed with it for quite some time now, and it still puzzles me as to why it doesn't work. I did fix the Precaching problem, also the one field10 i missed, and I changed and tested the new ALT tags on my forums, so everything should be in working order. Oh, and if GT is the only IM name you have, it WILL show up in your Profile now. Thanks to everyone for reporting these little things, this helps make the hack better for everyone! And, MET, I think I'll have to pass on the ZIP file, this post should be enough to suffice. Thanks for the offer, though.
__________________
BigBlueBall.com No members have liked this post.
|
|
#14
|
|||
|
|||
|
Upgraded to 1.3 with support on adding the GT textbox by the other four IM textboxes when editing your profile.
__________________
BigBlueBall.com No members have liked this post.
|
|
#15
|
||||
|
||||
|
Awesome as usual. I've been waiting for the GTalk box to get in there with the other IM fields, so this was treat. Working perfect, and I'm glad you took the alt message suggestion - it looks much nicer.
Something you may wat to consider is where Google Talk is headed in the future. If our prayers are answered, Google Talk will open up to the Jabber community with Server-to-Server support and transports. This would mean, in short, abolishing every other instant messenging system you have. If Google decides for Server-to-Server support, this becomes a Jabber client. And more importantly, an amazingly popular VoIP-enhanced Jabber client. They might even be thinking about adding PC-to-Phone calls. IF such happens, this hack may just become general Jabber support for vB, instead of strictly Google Talk. Or you may wish to name the field Google Talk (Jabber).
__________________
Escalate Media LP No members have liked this post.
|
![]() |
«
Previous Mod
|
Next Mod
»
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
|
|
| New To Site? | Need Help? |
All times are GMT. The time now is 08:20.





