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
Forum Leaders (vB3 Style) Details »»
Forum Leaders (vB3 Style)
Version: 1.00, by Andrew111888 Andrew111888 is offline
Developer Last Online: Apr 2011 Show Printable Version Email this Page

Version: 2.2.x Rating:
Released: 09-18-2003 Last Update: Never Installs: 2
 
No support by the author.

This is my first hack, so please be patient with me.

This hack will make your forum leaders (showgroups.php) look like the one found in vB3. ( Example here: https://vborg.vbsupport.ru/showgroups.php )

A friend helped me code the part where the moderated forums are listed, so please thank him as well. (I did everything else)

This hack adds 1 query to showgroups.php as it must call for usergroupid.

This has been tested in 2.2.9 but I imagine it works in any 2.2.x forum.

Enjoy! And don't forget to click install if you like it!


NOTE: This hack is no longer "vB3" style, as the table does not look the same (it was made to represent usergroup ID's in forum leaders).

If you would like me to code the hack to accurately show the new vB3 layout, ask me and I will.

Show Your Support

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

Comments
  #2  
Old 09-20-2003, 03:08 AM
Marzas Marzas is offline
 
Join Date: Jan 2003
Location: Brisbane, Australia
Posts: 87
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

nice, *marzas clicks install*
Reply With Quote
  #3  
Old 09-20-2003, 03:32 AM
Andrew111888's Avatar
Andrew111888 Andrew111888 is offline
 
Join Date: Mar 2003
Posts: 208
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Thanks
Reply With Quote
  #4  
Old 09-20-2003, 05:16 AM
SmEdD's Avatar
SmEdD SmEdD is offline
 
Join Date: Mar 2003
Location: Ontario, Canada
Posts: 381
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Not bad for a first hack Keep it up dude!
Reply With Quote
  #5  
Old 09-20-2003, 12:32 PM
Andrew111888's Avatar
Andrew111888 Andrew111888 is offline
 
Join Date: Mar 2003
Posts: 208
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Thanks for the encouragment guys!
Reply With Quote
  #6  
Old 09-20-2003, 12:37 PM
assassingod's Avatar
assassingod assassingod is offline
 
Join Date: Jul 2002
Posts: 3,337
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Nice
Reply With Quote
  #7  
Old 11-03-2003, 11:32 PM
Andrew111888's Avatar
Andrew111888 Andrew111888 is offline
 
Join Date: Mar 2003
Posts: 208
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Ugh, sorry guys, the last fix was incorrect.

Here's the fix to fix everything

Create a template called showgroups_normalbit with the following info:
Code:
<tr>
	<td bgcolor="$backcolor" nowrap><normalfont>$onlinestatus</normalfont></td>
	<td bgcolor="$backcolor" nowrap width=100%><b><a href="member.php?s=$session[sessionhash]&action=getinfo&userid=$user[userid]"><normalfont>$user[username]</normalfont></a></b><br />$user[avatar]</td>
	<td bgcolor="$backcolor" nowrap><normalfont>$user[location]</normalfont></td>
	<td bgcolor="$backcolor" nowrap><normalfont>$sendpmlink</normalfont></td>
</tr>
In showgroups.php find
Code:
	} else if ($usergroupid == 9) { // Mods
		eval("\$modinfo .= \"".gettemplate("showgroups_modbit")."\";");
		$modgrouptitle=$user['title']; 
	} else {
		if (!$grouptitle[$usergroupid]) {
			$grouptitle[$usergroupid] = $user['title'];
		}
		eval("\$groupinfo[$usergroupid] .= \"".gettemplate("showgroups_bit")."\";");
	}
}
and replace with:

Code:
	} else if ($usergroupid == 9) { // Mods
		eval("\$modinfo .= \"".gettemplate("showgroups_modbit")."\";");
		$modgrouptitle=$user['title']; 
	} else {
		if (!$grouptitle[$usergroupid]) {
			$grouptitle[$usergroupid] = $user['title'];
		}
		eval("\$groupinfo[$usergroupid] .= \"".gettemplate("showgroups_normalbit")."\";");
	}
}
Zip updated. Again, sorry guys.
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 12:39 AM.


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.07915 seconds
  • Memory Usage 2,260KB
  • Queries Executed 22 (?)
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
  • (3)bbcode_code
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (6)navbar_link
  • (120)option
  • (7)post_thanks_box
  • (7)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (7)post_thanks_postbit_info
  • (6)postbit
  • (7)postbit_onlinestatus
  • (7)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_postinfo_query
  • fetch_postinfo
  • 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