Register Members List Search Today's Posts Mark Forums Read

Reply
 
Thread Tools
  #1  
Old 25 Oct 2020, 14:21
charlesr charlesr is offline
 
Join Date: Aug 2009
Usergroup username colours on mobile?

Vbulletin 4.
Usernames in the postbit appear in different colours, depending on the usergroup, by specifying Username HTML Markup in the usergroup settings in admin panel.

I can't figure out how that colour gets sucked through into the CSS for the username when being displayed. I'm trying to get my mobile theme to respect the same colour display. If I could figure out how it happens on the normal theme, I could probably add it to the mobile theme.

Any pointers?
Reply With Quote
  #2  
Old 27 Oct 2020, 14:32
yilmaz's Avatar
yilmaz yilmaz is offline
 
Join Date: Sep 2004
1. yoursite.ext/admincp/usergroup.php?do=modify

2. Go to edit Usergroup Manager yoursite.ext/admincp/usergroup.php?do=edit&usergroupid=6

3.Use this in Username HTML Markup first input box

Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

enter this in the second input box

Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

and click the update button at the bottom
----------------------------
It's time to add css code
4. Search in Templates yoursite.ext/template.php?do=search

5. Paste this into the search box and search for additional.css

6. In the results found, click on the additional.css template to edit it in the style you used.

7. It may be empty or previously added special css codes, add this css code to the beginning or the end without breaking the code there.

Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

And Save.

So much
-----

Repeat if you want to make other Usergroups
Sample:
Use this for super moderator

Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.


Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

Note: Add the css codes at the bottom of the options.css or vbulletin.css template in mobile style
__________________
Donations always appreciated.
vByilmaz.com
vBulletin-forum.de
Nobody has a monopoly on vBulletin templates. Stay away from selfish, self-righteous and parasitic.

Last edited by yilmaz; 27 Oct 2020 at 15:13.
Reply With Quote
  #3  
Old 02 Nov 2020, 17:34
charlesr charlesr is offline
 
Join Date: Aug 2009
This doesn't work in my mobile style (works fine in desktop style), but it's a custom style. Guess, they broke something.
Reply With Quote
Reply



Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools

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


New To Site? Need Help?

All times are GMT. The time now is 03:56.

Layout Options | Width: Wide Color: