PDA

View Full Version : Username Colour on Member Profile


Distance
05 Feb 2007, 11:24
First official Template Modification by Distance


What does it do?

This makes the username show up as the default colour set for that usergroup..

Eg.

https://www.vbulletin.org/forum/external/2007/02/27.jpg







Note: All template edits are in the MEMBERINFO template


Installation



https://www.vbulletin.org/forum/external/2007/02/28.jpg


Find:

<td class="tcat">$vbphrase[view_profile]<span class="normal">: $userinfo[username]</span></td>
Replace with:

<td class="tcat">$vbphrase[view_profile]<span class="normal">: $userinfo[musername]</span></td>

##############


https://www.vbulletin.org/forum/external/2007/02/29.jpg


Find:

<a href="profile.php?$session[sessionurl]do=addlist&userlist=buddy&u=$userinfo[userid]"><phrase 1="$userinfo[username]">$vbphrase[add_x_to_buddy_list]</phrase></a>
Replace with:

<a href="profile.php?$session[sessionurl]do=addlist&userlist=buddy&u=$userinfo[userid]"><phrase 1="$userinfo[musername]">$vbphrase[add_x_to_buddy_list]</phrase></a>
Find:

<a href="profile.php?$session[sessionurl]do=removelist&userlist=buddy&u=$userinfo[userid]"><phrase 1="$userinfo[username]">$vbphrase[remove_x_from_your_buddylist]</phrase></a>Replace with:


<a href="profile.php?$session[sessionurl]do=removelist&userlist=buddy&u=$userinfo[userid]"><phrase 1="$userinfo[musername]">$vbphrase[remove_x_from_your_buddylist]</phrase></a>

Find:

<a href="profile.php?$session[sessionurl]do=addlist&userlist=ignore&u=$userinfo[userid]"><phrase 1="$userinfo[username]">$vbphrase[add_x_to_ignore_list]</phrase></a>
Replace with:

<a href="profile.php?$session[sessionurl]do=addlist&userlist=ignore&u=$userinfo[userid]"><phrase 1="$userinfo[musername]">$vbphrase[add_x_to_ignore_list]</phrase></a>
Find:

<a href="profile.php?$session[sessionurl]do=removelist&userlist=ignore&u=$userinfo[userid]"><phrase 1="$userinfo[username]">$vbphrase[remove_x_from_your_ignorelist]</phrase></a>
Replace with:

<a href="profile.php?$session[sessionurl]do=removelist&userlist=ignore&u=$userinfo[userid]"><phrase 1="$userinfo[musername]">$vbphrase[remove_x_from_your_ignorelist]</phrase></a>
###############


https://www.vbulletin.org/forum/external/2007/02/30.jpg




Find:

<a href="search.php?$session[sessionurl]do=finduser&amp;u=$userinfo[userid]" rel="nofollow"><phrase 1="$userinfo[username]">$vbphrase[find_all_posts_by_x]</phrase></a>


Replace with:

<a href="search.php?$session[sessionurl]do=finduser&amp;u=$userinfo[userid]" rel="nofollow"><phrase 1="$userinfo[musername]">$vbphrase[find_all_posts_by_x]</phrase></a>



Find:

<a href="search.php?$session[sessionurl]do=process&amp;showposts=0&amp;starteronly=1&amp;exactname=1&amp;searchuser=$userinfo[urlusername]" rel="nofollow"><phrase 1="$userinfo[username]">$vbphrase[find_all_threads_started_by_x]</phrase></a>


Replace with:

<a href="search.php?$session[sessionurl]do=process&amp;showposts=0&amp;starteronly=1&amp;exactname=1&amp;searchuser=$userinfo[urlusername]" rel="nofollow"><phrase 1="$userinfo[musername]">$vbphrase[find_all_threads_started_by_x]</phrase></a>


#####################


https://www.vbulletin.org/forum/external/2007/02/31.jpg


Find:

<a href="sendmessage.php?$session[sessionurl]do=mailmember&amp;u=$userinfo[userid]" rel="nofollow"><phrase 1="$userinfo[username]">$vbphrase[send_message_via_email_to_x]</phrase></a>

Replace with:

<a href="sendmessage.php?$session[sessionurl]do=mailmember&amp;u=$userinfo[userid]" rel="nofollow"><phrase 1="$userinfo[musername]">$vbphrase[send_message_via_email_to_x]</phrase></a>


Find:


<a href="private.php?$session[sessionurl]do=newpm&amp;u=$userinfo[userid]" rel="nofollow"><phrase 1="$userinfo[username]">$vbphrase[send_private_message_to_x]</phrase></a>


Replace with:

<a href="private.php?$session[sessionurl]do=newpm&amp;u=$userinfo[userid]" rel="nofollow"><phrase 1="$userinfo[musername]">$vbphrase[send_private_message_to_x]</phrase></a>


#########################



https://www.vbulletin.org/forum/external/2007/02/32.jpg

Find:

<phrase 1="$userinfo[username]">$vbphrase[x_is_not_a_member_of_any_public_groups]</phrase>


Replace with:

<phrase 1="$userinfo[musername]">$vbphrase[x_is_not_a_member_of_any_public_groups]</phrase>





** Please Click Install **




I hope you have fun with this simple but effective mod!!


Enjoy!

Shazz
05 Feb 2007, 12:26
Creative Idea :)

Distance
05 Feb 2007, 13:22
Yeah inspired by the one on the navbar :)

Playa82
05 Feb 2007, 19:47
nice one, thanks

abramelin
05 Feb 2007, 20:45
Distance can you make this for forumhome and forumdisplay last post area?

Distance
05 Feb 2007, 21:01
Distance can you make this for forumhome and forumdisplay last post area?

Your reply will be ignored unless you click installed

Distance

abramelin
05 Feb 2007, 21:03
thanks very much :)

clicked, installed

Distance
05 Feb 2007, 21:25
;)

I will look into this

Topaz71
06 Feb 2007, 14:07
Can someone help me? I saw on few forums that ladies usernames were having a different color... How can I do that? I would like lady's usernames of my forum to be in pink color...
Can someone help?

Distance
06 Feb 2007, 14:13
Can someone help me? I saw on few forums that ladies usernames were having a different color... How can I do that? I would like lady's usernames of my forum to be in pink color...
Can someone help?


1. You havent clicked installed
2. This has no relevance to the thread whatsoever, however i will post an article on how to change usergroup colors.
3. Repored
4. grrr!!

Topaz71
06 Feb 2007, 16:04
I didnt use this hack on my site... Thats why I didnt click install... But I think this hack is useful, and going to check it out this week... Your message was about username colors so I decided to ask if you knew about how to make lady's usernames be shown in pink lets say... and men's usernames with a standard color as normal users do...
Anyways thanks for help...

Distance
06 Feb 2007, 16:27
There is an article i just submitted: http://www.vbulletin.org/forum/showthread.php?p=1175972#post1175972

Mr_Snob
06 Feb 2007, 23:58
wow very creative idea from you Josh!
thats what i need for me Thank you bro.

rjmjr69
08 Feb 2007, 14:39
Nice thank you can you do some other areas of the forums as well? Like the welcome block user screen home page

Ziki
08 Feb 2007, 18:00
Oh now I understand the difference between username and musername.I never knew what the difference was :p

Distance
08 Feb 2007, 18:00
hehe :)

deezelpope
12 Mar 2007, 23:12
Very nice!!! *Clicks installed! Thank you very much!

Distance
13 Mar 2007, 01:53
No problem :)

Im glad such a simple solution can be so helpful to some

HMBeaty
13 Mar 2007, 02:55
Nice thank you can you do some other areas of the forums as well? Like the welcome block user screen home page

I believe this (http://www.vbulletin.org/forum/showthread.php?t=105683) is what you're looking for?

deezelpope
13 Mar 2007, 11:25
No problem :)

Im glad such a simple solution can be so helpful to some
I'm all for improving the look of my place, so I'll do whatever I need to!

This was a bit tedious (I have 5 skins), but well worth it!:up: :D Keep up the great work!;)

deezelpope
13 Mar 2007, 11:25
I believe this (http://www.vbulletin.org/forum/showthread.php?t=105683) is what you're looking for?
Ooooh!! :D :up:

dbirosel
16 Mar 2007, 21:25
Works great! It would be great if we can get a username color on forumhome. :D

HMBeaty
16 Mar 2007, 23:57
Works great! It would be great if we can get a username color on forumhome. :D

http://www.vbulletin.org/forum/showthread.php?t=105683

anywares
17 Mar 2007, 00:00
hmmm nice mod but

too many template edits if you take into mind that most users have like 4-5 skinz wich means you have to multiply all the edits with the amount of skinz and i suck in maths but it would be allot of hard work :p

dbirosel
17 Mar 2007, 00:01
http://www.vbulletin.org/forum/showthread.php?t=105683
I already have that installed. I'm talking about the usernames in LAST POST BY

Losha
17 Mar 2007, 12:19
thanks a lot BoYagoob

Distance
26 Mar 2007, 23:17
Its not tedious or hard.

If you simply search for username and then choose them in the relevant template.. and then paste musername in its place you will have this done in no time :)

LouiseDM
05 Apr 2007, 23:30
thanks simple with abit of patience

itorrents
07 Apr 2007, 02:30
Installed, nice work :)

Distance
03 May 2007, 07:38
I think he is asking for the username markup to be on the forumhome where it says Last post by XXXX


I looked into this a while back and there is no easy solution such as this.

franzjuve
04 Feb 2008, 02:21
thanks Distance , nice mod cliked installed ;)

where i can change the colour for Find all thanked posts by xxx ?

regards
franz