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

Reply
 
Thread Tools Display Modes
  #1  
Old 12-13-2008, 04:34 PM
sherwood sherwood is offline
 
Join Date: May 2008
Location: United Kingdom
Posts: 84
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default different usergroup color for different styles

is there away i can get a usergroup to have a different color in different themes??

thanks,

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

anyone??
Reply With Quote
  #2  
Old 12-23-2008, 05:06 PM
sherwood sherwood is offline
 
Join Date: May 2008
Location: United Kingdom
Posts: 84
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

anyone at all?
Reply With Quote
  #3  
Old 12-23-2008, 05:27 PM
Kaas Kaas is offline
 
Join Date: Jun 2006
Posts: 9
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I assume you mean the actual "users" that are listed in "whos Online"

Most boards only have one skin, one option could be to use
My Board uses 4 user selectable Schemes which I chose colrs that show up in all 4 well..

https://vborg.vbsupport.ru/showthrea...ent+user+color

or just make your user markup colors something that can be viewed on all schemes with the user markup function..
Quote:
Username HTML Markup
The first field is the opening tag. The second field is the closing tag. These tags will be inserted around the user's username like this:

[opening tag]username[closing tag]

Some HTML tags you might want to use here include:

<span style="font-weight: bold;">username</span> = username
<span style="font-style: italic;">username</span> = username
<span style="text-decoration: underline;">username</span> = username
<span style="color: red;">username</span> = username
<span style="font: 20px verdana;">username</span> = username

You can also do combinations by using more than one attribute in the style property:

<span style="font: 20px verdana; color: red;">username</span> = username

Note that within the templates and code, the resulting username surrounded by HTML markup is referred to as 'musername'.
Hope that helps..
I am not usually good at this stuff;P
Reply With Quote
  #4  
Old 12-23-2008, 11:32 PM
Opserty Opserty is offline
 
Join Date: Apr 2007
Posts: 4,103
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
is there away i can get a usergroup to have a different color in different themes??

thanks,
See the text quoted in the 3rd post of this page: https://vborg.vbsupport.ru/showthread.php?t=112606
Reply With Quote
  #5  
Old 12-24-2008, 07:35 AM
sherwood sherwood is offline
 
Join Date: May 2008
Location: United Kingdom
Posts: 84
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Slgihtly, but not the way you are thinking of it.

You add

<span class="admin"> to the first box and </span> to the second box

Now you go into the style manager and add in the addtional CSS area for your style

.admin
{
color:black;
font-weight:bold;
}

Repeat for each group and style.
you mean that ^^

I still don't understand that, where am I suppose to add and to what box?
Reply With Quote
  #6  
Old 12-24-2008, 08:36 AM
Dismounted's Avatar
Dismounted Dismounted is offline
 
Join Date: Jun 2005
Location: Melbourne, Australia
Posts: 15,047
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

The first bit refers to the "HTML Markup" boxes when editing a usergroup. The second is inside the Style Manager. It is under the "Additional CSS" of each style.
Reply With Quote
  #7  
Old 12-24-2008, 09:13 AM
sherwood sherwood is offline
 
Join Date: May 2008
Location: United Kingdom
Posts: 84
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

so where do i add

PHP Code:
<span class="admin"to the first box and </spanto the second box 
do I add that bit to the usergroup or does that go in the CSS as well?
Reply With Quote
  #8  
Old 12-24-2008, 09:16 AM
Opserty Opserty is offline
 
Join Date: Apr 2007
Posts: 4,103
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
You add

<span class="admin"> to the first box and </span> to the second box
Add that on the AdminCP > Usergroups > Usergroup Manager > Edit Usergroup page.

Quote:
Now you go into the style manager and add in the addtional CSS area for your style

.admin
{
color:black;
font-weight:bold;
}
Add that to the AdminCP > Style Manager > Main CSS page.

(I think that was the right way to get to those pages, I haven't seen a vB admin panel in 3 months so I might have got it a bit wrong )
Reply With Quote
  #9  
Old 12-24-2008, 09:39 AM
sherwood sherwood is offline
 
Join Date: May 2008
Location: United Kingdom
Posts: 84
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

thank you mate!!

this wored perfectly
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 05:18 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.04043 seconds
  • Memory Usage 2,241KB
  • 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
  • (1)bbcode_php
  • (5)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)navbar
  • (3)navbar_link
  • (120)option
  • (9)post_thanks_box
  • (9)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (9)post_thanks_postbit_info
  • (9)postbit
  • (9)postbit_onlinestatus
  • (9)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