Go Back   vb.org Archive > vBulletin 3 Discussion > vB3 General Discussions
  #1  
Old 02-02-2009, 08:10 PM
BlackJacket's Avatar
BlackJacket BlackJacket is offline
 
Join Date: Nov 2008
Location: 070108111114105100100
Posts: 364
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default Help - font color help

How cani have Admins font color always red? Moderators always blue? etc...

Thank you very, VERY much!
Reply With Quote
  #2  
Old 02-03-2009, 05:14 AM
Dismounted's Avatar
Dismounted Dismounted is offline
 
Join Date: Jun 2005
Location: Melbourne, Australia
Posts: 15,047
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Admin CP > Usergroups > Usergroup Manager > Edit Usergroup > HTML Markup. Enter the HTML to go before the name in the first box, and the HTML to go at the end in the second box. (Also click the little question mark for extra hints.)
Reply With Quote
  #3  
Old 02-03-2009, 10:37 AM
BlackJacket's Avatar
BlackJacket BlackJacket is offline
 
Join Date: Nov 2008
Location: 070108111114105100100
Posts: 364
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Dismounted View Post
Admin CP > Usergroups > Usergroup Manager > Edit Usergroup > HTML Markup. Enter the HTML to go before the name in the first box, and the HTML to go at the end in the second box. (Also click the little question mark for extra hints.)
Thanks Dismounted. I will check this out now.

--------------- Added [DATE]1233664971[/DATE] at [TIME]1233664971[/TIME] ---------------

Does this change the font color etc... when that specific usergroup makes a post? Would their text be red or blue etc...

Thanks again!
Reply With Quote
  #4  
Old 02-04-2009, 07:21 AM
Dismounted's Avatar
Dismounted Dismounted is offline
 
Join Date: Jun 2005
Location: Melbourne, Australia
Posts: 15,047
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Oh, I thought you meant username colours. To do that, you must edit the postbit(_legacy) template, and use conditionals to change the text colour according to the usergroup. Place the conditionals around the message variable.
Reply With Quote
  #5  
Old 02-04-2009, 09:41 PM
BlackJacket's Avatar
BlackJacket BlackJacket is offline
 
Join Date: Nov 2008
Location: 070108111114105100100
Posts: 364
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Dismounted View Post
Oh, I thought you meant username colours. To do that, you must edit the postbit(_legacy) template, and use conditionals to change the text colour according to the usergroup. Place the conditionals around the message variable.
Im a noob when it comes to that. Could you show me?

Thank you very, VERY much!

--------------- Added [DATE]1233845644[/DATE] at [TIME]1233845644[/TIME] ---------------



--------------- Added [DATE]1233845691[/DATE] at [TIME]1233845691[/TIME] ---------------

errr this auto merge is getting annoying.

How come it auto merges sometimes, but others it will make a new post?
Reply With Quote
  #6  
Old 02-05-2009, 04:08 PM
Lynne's Avatar
Lynne Lynne is offline
 
Join Date: Sep 2004
Location: California/Idaho
Posts: 41,180
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

searching "color" "titles only" gives me this thread - https://vborg.vbsupport.ru/showthrea...ighlight=color
Reply With Quote
  #7  
Old 02-05-2009, 04:36 PM
BlackJacket's Avatar
BlackJacket BlackJacket is offline
 
Join Date: Nov 2008
Location: 070108111114105100100
Posts: 364
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Lynne View Post
searching "color" "titles only" gives me this thread - https://vborg.vbsupport.ru/showthrea...ighlight=color
I had searched before but i didnt find it.

For future reference -
Find in postbit_Legacy -
Code:
<!-- message -->
        <div id="post_message_$post[postid]">
            $ad_location[ad_showthread_firstpost_start]
            $post[message]
        </div>
        <!-- / message -->
Replace This -

Code:
<div id="post_message_$post[postid]">

With this -

PHP Code:
<if condition="is_member_of($post, 6)">
<
div id="post_message_$post[postid]style="color: red; font-weight: bold;">
<else />
<if 
condition="is_member_of($post, 7)">
<
div id="post_message_$post[postid]"  style="color: orange;">
<else />
<
div id="post_message_$post[postid]style="color: black;">
</if>
</if> 
You can change the number to any group you want And change the colors and font-weight to whatever you want unless you really want bold red text for your administrators and orange text for your moderators!

Thanks Lynne for the help!
Reply With Quote
  #8  
Old 02-05-2009, 05:09 PM
Lynne's Avatar
Lynne Lynne is offline
 
Join Date: Sep 2004
Location: California/Idaho
Posts: 41,180
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by NittoMOD View Post
You can change the number to any group you want.
And change the colors and font-weight to whatever you want unless you really want bold red text for your administrators and orange text for your moderators!
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 07:48 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.05331 seconds
  • Memory Usage 2,237KB
  • Queries Executed 11 (?)
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
  • (2)bbcode_code
  • (1)bbcode_php
  • (4)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)navbar
  • (3)navbar_link
  • (120)option
  • (8)post_thanks_box
  • (8)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (8)post_thanks_postbit_info
  • (8)postbit
  • (8)postbit_onlinestatus
  • (8)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
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete