Register Members List Today's Posts Quick Links

Reply
 
Mod Options
vBGT [Google Talk Supprt] Details »
vBGT [Google Talk Supprt]
Mod Version: 1.3, by Spike223 (Member) Spike223 is offline
Developer Last Online: May 2007 I like it Show Printable Version Email this Page

This modification is in the archives.
vB Version: 3.0.7 Rating: (1 vote - 5.00 average) Installs: 14
Released: 26 Aug 2005 Last Update: Never Downloads: 2
Not Supported Template Edits Code Changes Additional Files  

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:
Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

With:
Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.


Replace:
Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

With:
Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

Replace:
Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

With:


Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.




Replace:
Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

With:
Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.


++ In includes/functions_user.php::

Replace:
Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

With:
Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.


Replace:
Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

With:
Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.



++ In Template modifyprofile::

Replace:
Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

With:
Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

++ In Template MEMBERINFO::

Replace:


Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

With:


Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

Replace:
Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

With:
Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

++ In template memberlist_resultsbit:

Replace:


Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

With:


Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

++ In postbit and postbit_legacy Templates::

Find:


Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

Replace:


Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.


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.


Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

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

  • To receive notifications regarding updates -> Click to Mark as Installed.
  • This modification may not be copied, reproduced or published elsewhere without author's permission.
Comments
  #2  
Old 26 Aug 2005, 05:21
GetGamer.com GetGamer.com is offline
 
Join Date: Jul 2004
*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).
Reply With Quote
  #3  
Old 28 Aug 2005, 05:10
JsnakeJ JsnakeJ is offline
 
Join Date: Mar 2005
Real name: Jake
I use the google icon for mine.
__________________
My Site: Dungeon Empire
Reply With Quote
  #4  
Old 28 Aug 2005, 15:57
MThornback's Avatar
MThornback MThornback is offline
 
Join Date: Apr 2005
Location: Canada
Originally Posted by JsnakeJ
I use the google icon for mine.
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*
Reply With Quote
  #5  
Old 28 Aug 2005, 20:52
MET920's Avatar
MET920 MET920 is offline
 
Join Date: Jul 2005
Real name: Chaotic Met
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
*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).
That sounds great.. Mind posting what edits to make to do this?
Reply With Quote
  #6  
Old 28 Aug 2005, 23:51
jroy jroy is offline
 
Join Date: May 2005
never mind, i got it
Reply With Quote
  #7  
Old 29 Aug 2005, 04:39
Spike223 Spike223 is offline
 
Join Date: Mar 2005
Originally Posted by MET920
That sounds great.. Mind posting what edits to make to do this?
Updated hack to 1.1 as requested.
__________________
BigBlueBall.com
Reply With Quote
  #8  
Old 29 Aug 2005, 05:54
wwesn1 wwesn1 is offline
 
Join Date: Oct 2003
now how about displaying it in the who's online page
Reply With Quote
  #9  
Old 29 Aug 2005, 13:10
MET920's Avatar
MET920 MET920 is offline
 
Join Date: Jul 2005
Real name: Chaotic Met
Originally Posted by Spike223
Updated hack to 1.1 as requested.
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..
Reply With Quote
  #10  
Old 29 Aug 2005, 14:13
Rhoads Rhoads is offline
 
Join Date: Dec 2004
Thnx Spike, it's a nice hack

For the uncached templates you can replace in the sendmessage.php

Replace:

Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.


With:

Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

Reply With Quote
  #11  
Old 29 Aug 2005, 19:02
Lee's Avatar
Lee Lee is offline
 
Join Date: Jul 2004
Real name: Lee
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

Last edited by Lee; 29 Aug 2005 at 19:10.
Reply With Quote
  #12  
Old 30 Aug 2005, 21:17
yj_enquirer yj_enquirer is offline
 
Join Date: Jan 2005
Location: UK
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
Reply With Quote
  #13  
Old 30 Aug 2005, 22:41
Spike223 Spike223 is offline
 
Join Date: Mar 2005
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
Reply With Quote
  #14  
Old 31 Aug 2005, 03:00
Spike223 Spike223 is offline
 
Join Date: Mar 2005
Upgraded to 1.3 with support on adding the GT textbox by the other four IM textboxes when editing your profile.
__________________
BigBlueBall.com
Reply With Quote
  #15  
Old 31 Aug 2005, 16:53
Lee's Avatar
Lee Lee is offline
 
Join Date: Jul 2004
Real name: Lee
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
Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


New To Site? Need Help?

All times are GMT. The time now is 08:20.

Layout Options | Width: Wide Color: