Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > vBulletin 3.5 > vBulletin 3.5 Template Modifications
Gadu-gadu ver. 1.0.1a Details »»
Gadu-gadu ver. 1.0.1a
Version: 1.00, by MaTraX MaTraX is offline
Developer Last Online: Aug 2013 Show Printable Version Email this Page

Version: 3.5.0 Beta 2 Rating:
Released: 06-23-2005 Last Update: Never Installs: 8
 
No support by the author.

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

Show Your Support

  • This modification may not be copied, reproduced or published elsewhere without author's permission.

Comments
  #2  
Old 06-24-2005, 07:35 AM
Marco van Herwaarden Marco van Herwaarden is offline
 
Join Date: Jul 2004
Posts: 25,415
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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.
Reply With Quote
  #3  
Old 06-24-2005, 08:36 AM
nkt nkt is offline
 
Join Date: May 2005
Posts: 11
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Spoko Spoko
Reply With Quote
  #4  
Old 06-24-2005, 11:36 AM
akanevsky akanevsky is offline
 
Join Date: Apr 2005
Posts: 3,972
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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
Reply With Quote
  #5  
Old 07-05-2005, 10:40 AM
Snake's Avatar
Snake Snake is offline
 
Join Date: Mar 2005
Location: Cleveland, OH
Posts: 3,832
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Screenshot?
Reply With Quote
  #6  
Old 07-07-2005, 07:43 AM
sensimilla sensimilla is offline
 
Join Date: Dec 2004
Location: Poland
Posts: 555
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

great hack MaTraX works like a charm on vb 3.0.7 too

thansk alot!
Reply With Quote
  #7  
Old 10-20-2005, 11:53 PM
DjTaz DjTaz is offline
 
Join Date: Apr 2003
Posts: 251
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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
Reply With Quote
  #8  
Old 11-05-2005, 03:23 PM
CDRlab CDRlab is offline
 
Join Date: Sep 2004
Posts: 9
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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.
Reply With Quote
  #9  
Old 03-03-2007, 12:17 PM
Sir_Yaro's Avatar
Sir_Yaro Sir_Yaro is offline
 
Join Date: Jun 2004
Location: Ireland
Posts: 98
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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...
Reply With Quote
  #10  
Old 08-03-2007, 02:28 PM
ThorstenA's Avatar
ThorstenA ThorstenA is offline
 
Join Date: Nov 2004
Posts: 669
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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

Thread Tools

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


All times are GMT. The time now is 02:06 PM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2024, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.04471 seconds
  • Memory Usage 2,294KB
  • Queries Executed 23 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (4)bbcode_php
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (6)navbar_link
  • (120)option
  • (10)post_thanks_box
  • (10)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (10)post_thanks_postbit_info
  • (9)postbit
  • (10)postbit_onlinestatus
  • (10)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete