Register Members List Search Today's Posts Mark Forums Read

Reply
 
Thread Tools
  #1  
Old 03 Jan 2015, 16:09
TC-Jamech TC-Jamech is offline
 
Join Date: Sep 2011
Real name: Jamie
Custom VIP username color

Hi everyone,
So I've searched the forums for some sort of custom vip, but no joy. I managed to get hold of a custom VIP script however what gives anyone within the VIP group to change their user rank colour . How do I go about making this possible for usernames too?

This is the script I used for my usergroup (placed in postbit_legacy):


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

And this is the current username field:

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

Reply With Quote
  #2  
Old 03 Jan 2015, 21:16
ozzy47's Avatar
ozzy47 ozzy47 is offline
 
Join Date: Jul 2009
Real name: Chris
You would need to make changes in the memberaction_dropdown template, as that is where the posters username is pulled from.
__________________
You can get access to my 180 mods for vB 3.6 - 4.x at The Admin Zone as well as the professional support you are used to. New vBulletin Spider Definitions, vBulletin Spiders List Hits 1000 Spiders! ​ OzzModz down. Site has had a data breach, checking how the intrusion happened. Change your PW if you use the same one on my site and others.
Reply With Quote
  #3  
Old 03 Jan 2015, 23:03
TC-Jamech TC-Jamech is offline
 
Join Date: Sep 2011
Real name: Jamie
Originally Posted by ozzy47 View Post
You would need to make changes in the memberaction_dropdown template, as that is where the posters username is pulled from.
I tried looking for that template, or phrase, none found.. bare in mind this is vb3.
Reply With Quote
  #4  
Old 03 Jan 2015, 23:35
ForceHSS's Avatar
ForceHSS ForceHSS is offline
 
Join Date: Apr 2008
in usergroup manager edit your vip group and in the Username HTML Markup
first box put

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

2nd box put

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

change the yellow to the colour you want

not sure if this is the type of thing you are looking for
Reply With Quote
  #5  
Old 04 Jan 2015, 01:39
TC-Jamech TC-Jamech is offline
 
Join Date: Sep 2011
Real name: Jamie
Originally Posted by ForceHSS View Post
in usergroup manager edit your vip group and in the Username HTML Markup
first box put

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

2nd box put

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

change the yellow to the colour you want

not sure if this is the type of thing you are looking for
No it isn't.
Reply With Quote
  #6  
Old 04 Jan 2015, 01:42
ozzy47's Avatar
ozzy47 ozzy47 is offline
 
Join Date: Jul 2009
Real name: Chris
Originally Posted by TC-Jamech View Post
I tried looking for that template, or phrase, none found.. bare in mind this is vb3.
Oooops, in that case, you need to mess around with the following, in the postbit or postbit_legacy template.


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

__________________
You can get access to my 180 mods for vB 3.6 - 4.x at The Admin Zone as well as the professional support you are used to. New vBulletin Spider Definitions, vBulletin Spiders List Hits 1000 Spiders! ​ OzzModz down. Site has had a data breach, checking how the intrusion happened. Change your PW if you use the same one on my site and others.
Reply With Quote
  #7  
Old 04 Jan 2015, 01:44
TC-Jamech TC-Jamech is offline
 
Join Date: Sep 2011
Real name: Jamie
Update;

I've managed to get the username colour working on postbit, however, it isn't on the forum home.. Any idea?

Postbit code:

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

forumhome template:

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

Reply With Quote
  #8  
Old 04 Jan 2015, 02:16
Simon Lloyd's Avatar
Simon Lloyd Simon Lloyd is offline
 
Join Date: Aug 2008
Real name: Simon
They are Usergroup colours that show in the forumhome, the usergroup colours are set in the usergroup manager for each usergroup.
__________________
Kind regards,
Simon Microsoft Office Help
My Mods: Find my modifications here
Please do not pm me for support unless i have invited you to!
Reply With Quote
  #9  
Old 04 Jan 2015, 02:17
ozzy47's Avatar
ozzy47 ozzy47 is offline
 
Join Date: Jul 2009
Real name: Chris
Yeah I don't think you can do that easily, as the $post variable is only available in the postbit template.
__________________
You can get access to my 180 mods for vB 3.6 - 4.x at The Admin Zone as well as the professional support you are used to. New vBulletin Spider Definitions, vBulletin Spiders List Hits 1000 Spiders! ​ OzzModz down. Site has had a data breach, checking how the intrusion happened. Change your PW if you use the same one on my site and others.
Reply With Quote
  #10  
Old 04 Jan 2015, 02:32
TC-Jamech TC-Jamech is offline
 
Join Date: Sep 2011
Real name: Jamie
Originally Posted by Simon Lloyd View Post
They are Usergroup colours that show in the forumhome, the usergroup colours are set in the usergroup manager for each usergroup.
Again, I want it so that it's customized to what the user has set it to through the profile field. Not to what I've set it to through the usergroup manager.
Reply With Quote
  #11  
Old 04 Jan 2015, 02:34
ozzy47's Avatar
ozzy47 ozzy47 is offline
 
Join Date: Jul 2009
Real name: Chris
Actually you want to use $bbuserinfo['fieldX'] instead of $post[fieldX] for forumhome.
__________________
You can get access to my 180 mods for vB 3.6 - 4.x at The Admin Zone as well as the professional support you are used to. New vBulletin Spider Definitions, vBulletin Spiders List Hits 1000 Spiders! ​ OzzModz down. Site has had a data breach, checking how the intrusion happened. Change your PW if you use the same one on my site and others.
Reply With Quote
  #12  
Old 04 Jan 2015, 03:43
kh99 kh99 is offline
 
Join Date: Aug 2009
Real name: Kevin
Using $bbuserinfo['fieldX'] will use your fieldX for every user.

I think this can be done everywhere with a plugin using hook fetch_musername and code like this:

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

but I haven't tried it. There may be an issue with field9 being available when that hook is called.
Reply With Quote
  #13  
Old 04 Jan 2015, 03:59
kh99 kh99 is offline
 
Join Date: Aug 2009
Real name: Kevin
Yeah, that's not going to work in the "who's online" because of missing field9 for those users. A few other people have asked about similar things over the past few years, and I looked at the threads quickly but didn't find a complete answer. I'll look at it a little more tomorrow if you haven't worked it out by then.
Reply With Quote
  #14  
Old 04 Jan 2015, 14:14
TC-Jamech TC-Jamech is offline
 
Join Date: Sep 2011
Real name: Jamie
Originally Posted by kh99 View Post
Yeah, that's not going to work in the "who's online" because of missing field9 for those users. A few other people have asked about similar things over the past few years, and I looked at the threads quickly but didn't find a complete answer. I'll look at it a little more tomorrow if you haven't worked it out by then.
Sadly, I have no idea how to make hooks lol, but if I try to replace memberinfo's username field with the one in postbit_legacy ($post[musername] it still doesn't work as the usernames disappear)

I've seen several sites use it, but non are prepared to share the code.
Reply With Quote
  #15  
Old 04 Jan 2015, 15:28
kh99 kh99 is offline
 
Join Date: Aug 2009
Real name: Kevin
OK, I made you a product xml that you should be able to import, and attached it. In case you don't know already, to do that you go to Plugins & Products > Manage Products and click on the "Add/Import Products" link at the bottom. Then press the "Choose File" button and find the xml file (you would have saved to your computer already), then press "Import".

I did try this but I'm not 100% certain it will add the color everywhere you need (some places just don't have it at all even if you set it in the usergroup manager). But you should be able to remove the edits you made in the postbit template, if you want.

Hopefully this is what you wanted. Otherwise, let me know.
Attached Files
File Type: xml product-usercolor_from_profile.xml (1.2 KB, 23 views)
Reply With Quote
Reply

Similar Threads
Thread Thread Starter Forum Replies Last Post
Mini Mods Welcome box Username Color Kaminah vBulletin 4.x Template Modifications 36 17 Jan 2016 06:05
Username Color 2 Hwulex vBulletin 2.x Beta Releases 6 04 Dec 2003 13:09



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
Forum Jump


New To Site? Need Help?

All times are GMT. The time now is 19:28.

Layout Options | Width: Wide Color: