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
  #12  
Old 04-27-2002, 10:43 AM
John's Avatar
John John is offline
 
Join Date: Mar 2002
Location: Norwich, UK
Posts: 1,543
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally posted by Crazy Mofo
is there away too make them glow?
I don't have this installed myself, so I can test this - but your typical glow code looks something like:

PHP Code:
<table style="filter:glow(color=[COLORHERE], strength=3)">Thing to format</table
Should be fairly easy to add - I'm sure Hwu will do it

P.S. - does it have to be in a table?
Reply With Quote
  #13  
Old 04-27-2002, 10:57 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 Crazy Mofo
is there away too make them glow?
Yes, it's fairly easy to make them glow.

When you've installed the hack;

Find
PHP Code:
if ($bbuserinfo['usergroupid'] == 6) {
    
$username "<b><i>$bbuserinfo[username]</i></b>"

And replace with
PHP Code:
if ($bbuserinfo['usergroupid'] == 6) {
    
$username "<span style=\"width: 40; height: 12; color: blue; Filter: Glow(Color=blue, Strength=2)\">$bbuserinfo[username]</span>"
Just change the Style settings as you please.
This can of course be done to any of the $username = "$bbuserinfo[username]"; code at your discretion.

I've attatched a small image to show what it looks like when applied
Reply With Quote
  #14  
Old 04-27-2002, 05:41 PM
NTLDR's Avatar
NTLDR NTLDR is offline
Coder
 
Join Date: Apr 2002
Location: Bristol, UK
Posts: 3,644
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Installed on 2.2.4 and seems to be working very nicely, thanks Hwulex
Reply With Quote
  #15  
Old 04-27-2002, 08:50 PM
Unknown553's Avatar
Unknown553 Unknown553 is offline
 
Join Date: Oct 2001
Location: Las Vegas, NV, USA
Posts: 144
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

If you want it to glow, don't use the table tag. This will put the name in a new table, which will not list the names in a line, it will be broken up..

(Users Browsing this Forum: name1, name2,
name3
, name 4)

I believe....
Reply With Quote
  #16  
Old 04-27-2002, 08:53 PM
Hwulex's Avatar
Hwulex Hwulex is offline
 
Join Date: Mar 2002
Location: Manchester, UK
Posts: 97
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally posted by Unknown553
If you want it to glow, don't use the table tag. This will put the name in a new table, which will not list the names in a line, it will be broken up..

(Users Browsing this Forum: name1, name2,
name3
, name 4)

I believe....
Correct, if you want to use the Glow feature, follow the instructions I put in Post #12
Reply With Quote
  #17  
Old 04-27-2002, 09:47 PM
Crazy Mofo Crazy Mofo is offline
 
Join Date: Nov 2001
Location: Newcastle,UK
Posts: 91
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Thx you are my hero sl ois there a way too make it show like that on Who's Online if there is ill be over da moon
Reply With Quote
  #18  
Old 04-27-2002, 09:53 PM
NTLDR's Avatar
NTLDR NTLDR is offline
Coder
 
Join Date: Apr 2002
Location: Bristol, UK
Posts: 3,644
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Yeah, Who's Online can be changed to, I haven't got time to post the changes now, I need sleep but I can do tomorrow

[EDIT]
Thinking about it Who's Online & Currently Active users already does this, unless I'm very much mistaken, which I don't think I am! I have changed my Who's Online & Active Users to display me in a different colour, but the Bold and Italics I belive have allways been there.
[/EDIT]
Reply With Quote
  #19  
Old 04-28-2002, 04:01 PM
John's Avatar
John John is offline
 
Join Date: Mar 2002
Location: Norwich, UK
Posts: 1,543
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

You're right NTLDR, "Who's Online" does already do this automatically
Reply With Quote
  #20  
Old 04-28-2002, 04:11 PM
TECK's Avatar
TECK TECK is offline
 
Join Date: Nov 2001
Location: Canada
Posts: 4,182
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

nice job
altough.. your first post.. it looks alot like my thread descriptions... jk.
Reply With Quote
  #21  
Old 04-29-2002, 12:04 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 nakkid
nice job
altough.. your first post.. it looks alot like my thread descriptions... jk.
Errrr.... I've no idea what you mean :bandit: :cheeky:



'Tis me first hack, and yours looked eye catching
Will suss me own layout for next time
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:43 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.04526 seconds
  • Memory Usage 2,316KB
  • Queries Executed 25 (?)
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_php
  • (4)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
  • (3)pagenav_pagelink
  • (11)post_thanks_box
  • (11)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (11)post_thanks_postbit_info
  • (10)postbit
  • (11)postbit_onlinestatus
  • (11)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