Helpful Information
 
 
Category: vBulletin 3.5
Gadu-gadu ver. 1.0.1a

Hi
I just add to my forum support for the Gadu-gadu (on vB 3.5 b2)

This is mainly for the Polish users but it may be also usefull for the others. This hack will show the user status in the profile and after clicking on it it should start your GG client and open window to send the message.

I must add that this hack is removing support for the AIM. That`s because in Poland this messenger isn`t that much popular so I thought it can be replaced by more popular here.

Step 1
Enter the administration panel:
ACP / Styles & Templates / Search in Templates
and in the dafaule template search for the folowing:

<td>$userinfo[aimicon]</td>
<td><a href="#" onclick="return imwindow('aim', '$userinfo[userid]', 400, 200)">$userinfo[aim]</a></td>

If the search could not manage you can find it manualy here::
ACP / Styles & Templates / Style Manager / (default forum template) / (on the menu) Edit Templates / (on the left) Member Info Templates / (and there is) MEMBERINFO

replace it with this:

<td><img src="http://www.gadu-gadu.pl/users/status.asp?id=$userinfo[aim]" border="0"></td>
<td><a href="GG:$userinfo[aim]">$userinfo[aim]</a></td>

Save the changes

Step 2
Enter the administration panel:
ACP / Styles & Templates / Style Manager / (default forum template) / (on the menu) Edit Templates / (on the left) Instant Messaging Templates / (and there is) im_aim

Remove this code:
<a href="#" onclick="return imwindow('aim', '$userinfo[userid]', 400, 200)"><img src="$stylevar[imgdir_misc]/im_aim.gif" alt="<phrase 1="$userinfo[username]">$vbphrase[send_message_via_aim_to_x]</phrase>" border="0" /></a>

And paste there this one:
<a href="GG:$userinfo[aim]"><img src="http://www.gadu-gadu.pl/users/status.asp?id=$userinfo[aim]" border="0"></a>
Save the changes

Step 3
Enter the administration panel:
ACP / Languages & Phrases / Search in Phrases
and search for the:
AIM
It should be found in group: User Tools (global)
Click the edit button and change in the language you are using "AIM" to "GG" and of course save the changes.

Step 4
Now every user will have in the profile editing field "GG" field.

ps.
This is my first modification and I know my method may be a bit weird but I will learn :) Of course.. sorry for any of my langage mistakes.

You can find the same instruction in Polish at: http://www.vbulletin.pl
Znajdziesz ta instrukcje po Polsku pod adresem: http://www.vbulletin.pl

Method/hack shoul also work on every vB 3.x.x

Thank you for sharing this.

Would you please be so kind to put the instructions also in a (zipped) textfile. This makes it easier for those who install this to save as a reference for future upgrades.

PS Moved to Template Modifications.

Spoko Spoko :D

Nice hack, although why don't you make it pop up a window that is similar to the one vB has for other messengers? That way you keep the style ;)

Screenshot?

great hack MaTraX works like a charm on vb 3.0.7 too

thansk alot!

I just took this page and a link and made it a zip file for anyone who wanted to modify while offline - thanks for this - its something i was looking for .... if u have any other polish specific hacks , id appreciate them, i dont speak polish myself so making a site for polish people is a bit trickier .. ill take any help i can get :D

Matrax, you have to define GG's image width and height atributes (both 18px), because sometimes when GG servers are lagged or offline page including GG information will not be displayed correctly... The tables will be move and etc.

A nie bylo by lepiej skopiowac wszystkie templaty i dorobic osobna obsluge GG?
Znacznie lepiej wykonane i nie bylo by podatne na uszkodzenia tak latwo...

Can you make a "only product" out of this template edit? I'd prefer to update without hassling updating changed templates.










privacy (GDPR)