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
Users Browsing Formatting Details »»
Users Browsing Formatting
Version: 1.00, by Hwulex Hwulex is offline
Developer Last Online: Jul 2006 Show Printable Version Email this Page

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

This may well of been done before, but I did look and couldn't find anything.

This small (ok, teeny) hack changes the way that usernames are displayed in [Users Browsing this Forum:]
on the forum display page.
I'd always wondered why vB had made Moderators names in bold, and Admininstrators names bold italic on the front page
(Who's Online) but no-where else where it applied, so I altered the forumdisplay.php file so that Mods and Admin were
always bold (and italic) for "Users Browsing" too.

To see a demo of this hack working, please visit
http://www.hwulex.co.uk/vB/forumdisplay.php?forumid=2

NB: If you do install this hack, please click on the INSTALL button. You will receive updates in your email whenever I add new features to it.
Also post a reply with your comments, they are appreciated.

Tested on: vBulletin 2.2.5
File to modify: forumdisplay.php (also showthread.php if using with FireFly's hack)
Estimated Install Time: 2 minutes

HACK UPDATES
Version 1.1

???????????
- Now includes instructions to use with FireFly's Users Browsing This Thread hack.

Version 1.2
???????????
- Altered hack to now work with the Super Moderator user group as well.
- Added instructions for Glow Text and Colours


|H|

Show Your Support

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

Comments
  #2  
Old 04-27-2002, 01:46 AM
Hwulex's Avatar
Hwulex Hwulex is offline
 
Join Date: Mar 2002
Location: Manchester, UK
Posts: 97
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Here's a demo shot of what the hack looks like installed:
Reply With Quote
  #3  
Old 04-27-2002, 02:20 AM
JulianD's Avatar
JulianD JulianD is offline
 
Join Date: Jan 2002
Posts: 455
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Nice addition! thanks for sharing!
Reply With Quote
  #4  
Old 04-27-2002, 03:18 AM
Velocd's Avatar
Velocd Velocd is offline
 
Join Date: Mar 2002
Location: CA University
Posts: 1,696
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Very nice
I've been thinking about doing this recently also, but haven't found the time. Thanks!
Reply With Quote
  #5  
Old 04-27-2002, 03:51 AM
Velocd's Avatar
Velocd Velocd is offline
 
Join Date: Mar 2002
Location: CA University
Posts: 1,696
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Damnit, this hack won't doesn't want to work. I modified the code and everything but for some reason the formatting is not being applied, it still shows up as normal font. I setted the usergroup id's to their correct value also.
Reply With Quote
  #6  
Old 04-27-2002, 06:01 AM
NTLDR's Avatar
NTLDR NTLDR is offline
Coder
 
Join Date: Apr 2002
Location: Bristol, UK
Posts: 3,644
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally posted by Velocd
I've been thinking about doing this recently also, but haven't found the time.
Same here, I've been thinking about trying to change that to

I will Intsall when I get home from work, thanks for sharing with us
Reply With Quote
  #7  
Old 04-27-2002, 07:47 AM
Floris Floris is offline
 
Join Date: Jan 2002
Posts: 1,898
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

fnx for sharing!
Reply With Quote
  #8  
Old 04-27-2002, 09:47 AM
Hwulex's Avatar
Hwulex Hwulex is offline
 
Join Date: Mar 2002
Location: Manchester, UK
Posts: 97
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally posted by Velocd
Damnit, this hack won't doesn't want to work. I modified the code and everything but for some reason the formatting is not being applied, it still shows up as normal font. I setted the usergroup id's to their correct value also.
Hmm, not sure why it's not working for ou Velocd. I've installed it on 3 different copies here and works fine.
Did you definately do the first line, else it won't work. I know because this is why the hack wouldn't work to start with

Around line 691
Find the code:

PHP Code:
$forumusers $DB_site->query("SELECT username, invisible, userid 
And replace with:
PHP Code:
$forumusers $DB_site->query("SELECT username, invisible, userid, usergroupid 
If it still doesn't work, you could send me your forumdisplay.php file to vB_Hacks@Hwulex.com and I'll gladly take a look for you

|H|
Reply With Quote
  #9  
Old 04-27-2002, 09:57 AM
John's Avatar
John John is offline
 
Join Date: Mar 2002
Location: Norwich, UK
Posts: 1,543
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

This doesn't screw up with version 2.2.4 does it?
Reply With Quote
  #10  
Old 04-27-2002, 10:29 AM
Crazy Mofo Crazy Mofo is offline
 
Join Date: Nov 2001
Location: Newcastle,UK
Posts: 91
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

is there away too make them glow?
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 07:36 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.08692 seconds
  • Memory Usage 2,299KB
  • 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
  • (2)bbcode_php
  • (2)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
  • (2)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