Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > vBulletin 2.x > vBulletin 2.x Full Releases
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools
Showgroup Contact [Email] button Details »»
Showgroup Contact [Email] button
Version: 1.00, by Floris Floris is offline
Developer Last Online: Mar 2021 Show Printable Version Email this Page

Version: 2.2.x Rating:
Released: 12-04-2002 Last Update: Never Installs: 8
 
No support by the author.

Filename: install_showgroups_contact.txt
Author: xiphoid (http://www.creations.nl/)

Hack name: Showgroup Contact [Email] button

Version: 1.0 for vBulletin 2.2.9 final
Will work on older versions of vBulletin: Untested but might

Requested by: GZ_Tanis (https://vborg.vbsupport.ru/showthrea...threadid=45919)
Original hack thread: vBulletin.org (https://vborg.vbsupport.ru/showthrea...threadid=46385)

Description:

On the page 'forum leaders' is currently only the option to display the 'send a private message' button, this hack adds the 'email' buttons behind it.

Installation steps:

See .zip

Show Your Support

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

Comments
  #2  
Old 12-05-2002, 12:05 AM
GZ_Tanis's Avatar
GZ_Tanis GZ_Tanis is offline
 
Join Date: Oct 2002
Posts: 27
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Kewl thanks Xiphoid Ill install this now on our board and let you know if it works for 2.2.8
Reply With Quote
  #3  
Old 12-05-2002, 12:15 AM
Floris Floris is offline
 
Join Date: Jan 2002
Posts: 1,898
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Glad to hear you are happy with it.

Let me know if it works and if not, I (or others) will try to help you out. For now, I am going to bed - 3 in the night

Oh, and if it works, feel free to rate the thread and click the 'installed' button
Reply With Quote
  #4  
Old 12-05-2002, 12:16 AM
GZ_Tanis's Avatar
GZ_Tanis GZ_Tanis is offline
 
Join Date: Oct 2002
Posts: 27
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

hmmm it screwed up my spacing big time take a look


http://gzleagues.com/forum/showgroups.php3?s=
Reply With Quote
  #5  
Old 12-05-2002, 12:46 AM
GZ_Tanis's Avatar
GZ_Tanis GZ_Tanis is offline
 
Join Date: Oct 2002
Posts: 27
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Ok i got it now bud everything looks great !!!! I have no idea what happemd that first time but I started over and everything worked the 2nd time..


I cant wait for the rest now !!!!
Reply With Quote
  #6  
Old 12-05-2002, 09:01 AM
Floris Floris is offline
 
Join Date: Jan 2002
Posts: 1,898
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally posted by GZ_Tanis
hmmm it screwed up my spacing big time take a look


http://gzleagues.com/forum/showgroups.php3?s=
Try to re-apply the template changes, but this time according to the way you have your templates setup allready - when you first showed me, you had an extra column that isn't there by default.


Quote:
Originally posted by GZ_Tanis
Ok i got it now bud everything looks great !!!! I have no idea what happemd that first time but I started over and everything worked the 2nd time..


I cant wait for the rest now !!!!
Ah, good. Glad you got it working. And as you can see, it works for 2.2.8 :P

The rest has to wait a little, but at least I had this part done.
I just have too much to do right now to really look into it.
Reply With Quote
  #7  
Old 12-06-2002, 09:58 AM
Floris Floris is offline
 
Join Date: Jan 2002
Posts: 1,898
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Hi there,

I just had some extra time and was able to figure out how to put the user titles there too.

In the 'hacked' showgroups.php find this code:
Code:
if ($user['showemail'] == 0) {
and above it add:
Code:
$usertitle = $user[usertitle];
Then in showgroups.php find this code:
Code:
$locationfieldselect usergroup.title, user.username, user.userid, user.invisible, user.showemail, user.receivepm,
and replace that with this code:
Code:
$locationfieldselect usergroup.title, user.username, user.userid, user.invisible, user.usertitle, user.showemail, user.receivepm,
Then in showgroups.php find this code:
Code:
user.username, user.userid, user.invisible, user.showemail, user.receivepm, user.lastactivity, user.lastvisit
and replace that with this code:
Code:
user.username, user.userid, user.invisible, user.usertitle, user.showemail, user.receivepm, user.lastactivity, user.lastvisit
Now open up the showgroups_adminbit and showgroups_bit templates and place $usertitle anywhere in it where you want it to appear (don't forget to add a <br> before it if you want to have it on a new line)

Done!
Reply With Quote
  #8  
Old 12-06-2002, 05:30 PM
Chris M's Avatar
Chris M Chris M is offline
 
Join Date: Dec 2001
Location: Northampton, England
Posts: 6,186
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Thanks

Satan
Reply With Quote
  #9  
Old 12-07-2002, 12:27 AM
GZ_Tanis's Avatar
GZ_Tanis GZ_Tanis is offline
 
Join Date: Oct 2002
Posts: 27
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

hmmm it didnt work for the titels part.

remember when we was talking I wanted to change the LOCATION option. in other words instead of showing the leaders location on that page I wanted it to show the User tItle. I changed it like u said but I just get a blank spot where it shuld be.

Any ideas?
Reply With Quote
  #10  
Old 12-07-2002, 12:34 AM
GZ_Tanis's Avatar
GZ_Tanis GZ_Tanis is offline
 
Join Date: Oct 2002
Posts: 27
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Man I need to start trying something FIRST before posting I didnt get it LOL


I got it but I had to change something that u had you quoted

Quote:
Now open up the showgroups_adminbit and showgroups_bit templates and place $usertitle anywhere in it where you want it to appear (don't forget to add a <br> before it if you want to have it on a new line)


When it should be that u need to put $user[usertitle] any where for it to show up.


Every things works like a charm now DUDE THANK YOU VERY MUCH!!!!!!!!!!
Reply With Quote
Reply


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:52 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.04961 seconds
  • Memory Usage 2,298KB
  • 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
  • (6)bbcode_code
  • (3)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (6)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (1)pagenav_pagelink
  • (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
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete