Go Back   vb.org Archive > vBulletin 4 Discussion > vB4 General Discussions
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools Display Modes
  #1  
Old 11-13-2011, 02:29 AM
BMR BMR is offline
 
Join Date: Dec 2010
Posts: 38
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default User Title Color

If there's a mod for this someone please direct me to it as I couldn't find anything.

Basically what I'm looking to do is give user the options to choose a custom User Title color. I know there are shops for this, but I don't want a whole shop just for one feature. Would like to be able to have only certain usergroups access the option also.
Reply With Quote
  #2  
Old 09-13-2012, 11:53 PM
Fongool Fongool is offline
 
Join Date: Jan 2011
Posts: 49
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I would also like to know what template would have to be edited to make the user title different colors.
I was going to post asking about this, but I searched first and found the exact thread of what I was going to ask...Can someone please help me with this?

I am using Vbulletin 4.2

Thanks in advance

F
Reply With Quote
  #3  
Old 09-14-2012, 09:48 PM
LouiseWilson LouiseWilson is offline
 
Join Date: Oct 2007
Posts: 154
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

User title colours are handled in ADMINCP > Usergroups > Usergroup Manager > Edit a usergroup > Username HTML Markup
Reply With Quote
  #4  
Old 09-15-2012, 12:09 AM
Fongool Fongool is offline
 
Join Date: Jan 2011
Posts: 49
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I found another way...a much easier way...
In the Admin CP, I find a specific user who I want to have a colored title and paste this in "User Title":
<b><font color="4ab4ed">Administrator</font></b>

You an substitute whatever you want in place of Administrator.
The hex color I have there is blue, but you can substitute any hex color you want.

Then below that in "Custom User Title"
Choose "Yes, Admin set (HTML Allowed)"...that's all...then they all come out in color... I did find this code on the forums, but I'm not sure where...
Reply With Quote
  #5  
Old 09-15-2012, 04:19 AM
Syxguns's Avatar
Syxguns Syxguns is offline
 
Join Date: Jul 2011
Posts: 280
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Fongool View Post
I found another way...a much easier way...
In the Admin CP, I find a specific user who I want to have a colored title and paste this in "User Title":
<b><font color="4ab4ed">Administrator</font></b>

You an substitute whatever you want in place of Administrator.
The hex color I have there is blue, but you can substitute any hex color you want.

Then below that in "Custom User Title"
Choose "Yes, Admin set (HTML Allowed)"...that's all...then they all come out in color... I did find this code on the forums, but I'm not sure where...
This seems to be a much more difficult way of doing it. As LouiseWilson, mentioned above is the best method to cover all usergroups.

In the first box for Admin I place this HTML
Code:
<span style="font: 13px Comic Sans MS; color: red; font-weight: bold;">
The above is correct HTML syntax, if I was just changing the color then the following would work:
Code:
<span style="color:#FF0000">
#FF0000 is the hex for the color red. Now in the second box you would have to have your closing tags.

Code:
</span>
Using the <span> element you may have many things included, as in my first example. I have Font size, font type, font color, and I want it to be bold. That is the proper way to use HTML.

For your current code I would change it to:
Code:
<span style="color: blue; font-weight: bold";>Administrator</span>
But I'm glad your way is working!
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 01:56 AM.


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.04248 seconds
  • Memory Usage 2,198KB
  • 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
  • (4)bbcode_code
  • (1)bbcode_quote
  • (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_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