Go Back   vb.org Archive > Community Discussions > Modification Requests/Questions (Unpaid)
  #1  
Old 06-14-2004, 05:02 AM
Platinumgamer's Avatar
Platinumgamer Platinumgamer is offline
 
Join Date: Jan 2002
Location: Phoenix, AZ
Posts: 95
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default Font colour based on rank

Hi,

I'm hoping to find a way to allow for certain ranks to have their posts appear in certain font colours to show that they are of a certain rank. Currently, I'm not sure how to do this (hence the reason for posting it here...), but to understand what I mean a bit more clearly, perhaps a hypothetical example would be best:

1.) The average, or base, user makes a post in the typical font colour assigned to the style. (for this example, we'll say light grey font...)
2.) A Moderator could make a post and have the text show up in, say white to show that s/he is a moderator (since Mods and Smods are basically the same level, they'd be the same colour...)
3.) and if an Admin posted, let's say that his/her posts showed up in, say, green font, it would show up as such.

I know that was a very vague and undescriptive example, but I also hope you understand what I'm looking for here. Is there any way to accomplish this?

Thanks for your time.
Reply With Quote
  #2  
Old 06-14-2004, 05:27 AM
Ian Winters Ian Winters is offline
 
Join Date: May 2004
Posts: 10
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

First off, that's gonna be a killer on the eyes if you're using different types of styles. Second, what's so hard about [color=green][ /color]??
Reply With Quote
  #3  
Old 06-14-2004, 06:45 AM
Platinumgamer's Avatar
Platinumgamer Platinumgamer is offline
 
Join Date: Jan 2002
Location: Phoenix, AZ
Posts: 95
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

1.) The colours were just examples...I'm not saying they'd be the colours I'd actually use; and there's only going to be one style, in dark colours.

2.) Yes, that's one way of doing it, but I'm looking for a way that would allow all team members to have a certain "official" colour. Given that the forums I'm working on are for an online game (not the forums at the website in my sig...), I wanted the staff members to be able to 'stand out' in the forums as much as they do in the game (In the game, staff members have different text colours that users...hence my reasoning for wanthing this on the forums...) and not just with a coloured, bolded, or italicized username. That's the purpose behind the request.

I hope that's coherent...I'm typing this quite late at night
Reply With Quote
  #4  
Old 06-14-2004, 07:49 AM
tnguy3n's Avatar
tnguy3n tnguy3n is offline
 
Join Date: May 2003
Location: U of I, Iowa
Posts: 846
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

You can try using condition in postbit & postbit_legacy template

<if condition="(is_member_of($bbuserinfo, 6))><font color="for admin"><else condition="(is_member_of($bbuserinfo, 5)) OR (is_member_of($bbuserinfo, 7))"><font for more></else></if>

uhm... not sure if those conditions are correct, but that's the idea.
Reply With Quote
  #5  
Old 06-14-2004, 05:56 PM
Platinumgamer's Avatar
Platinumgamer Platinumgamer is offline
 
Join Date: Jan 2002
Location: Phoenix, AZ
Posts: 95
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Yes, I've tried using conditionals, the only problem is that I'm not sure what the conditionals are for such a request. I was hoping someone here would know.
Reply With Quote
Reply

Thread Tools
Display Modes

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 11:45 PM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.03671 seconds
  • Memory Usage 2,191KB
  • Queries Executed 13 (?)
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
  • (1)ad_showthread_firstpost
  • (1)ad_showthread_firstpost_sig
  • (1)ad_showthread_firstpost_start
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)navbar
  • (3)navbar_link
  • (120)option
  • (5)post_thanks_box
  • (5)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (5)post_thanks_postbit_info
  • (5)postbit
  • (5)postbit_onlinestatus
  • (5)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