MaTraX
06-23-2005, 10:00 PM
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
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