Back to vBulletin 3.5 Template Modifications

Gadu-gadu ver. 1.0.1a
Mod Version: 1.00, by MaTraX

This modification is in the archives.
vB Version: 3.5.0 Beta 2 Rating: (1 vote - 4.00 average) Installs: 8
Released: 24 Jun 2005 Last Update: Never Downloads: 15
Not Supported  

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:
PHP Code:
<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:
PHP Code:
<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:
PHP 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:
PHP Code:
<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

Download

No files for download.


vblts.ru supports vBulletin®, 2022-2024