PDA

View Full Version : Username Colour on Member Profile


Distance
02-04-2007, 10:00 PM
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://vborg.vbsupport.ru/external/2007/02/27.jpg







Note: All template edits are in the MEMBERINFO template


Installation



https://vborg.vbsupport.ru/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://vborg.vbsupport.ru/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://vborg.vbsupport.ru/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;s earchuser=$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;s earchuser=$userinfo[urlusername]" rel="nofollow"><phrase 1="$userinfo[musername]">$vbphrase[find_all_threads_started_by_x]</phrase></a>


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


https://vborg.vbsupport.ru/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://vborg.vbsupport.ru/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
02-05-2007, 11:26 AM
Creative Idea :)

Distance
02-05-2007, 12:22 PM
Yeah inspired by the one on the navbar :)

Playa82
02-05-2007, 06:47 PM
nice one, thanks

abramelin
02-05-2007, 07:45 PM
Distance can you make this for forumhome and forumdisplay last post area?

Distance
02-05-2007, 08:01 PM
Distance can you make this for forumhome and forumdisplay last post area?

Your reply will be ignored unless you click installed

Distance

abramelin
02-05-2007, 08:03 PM
thanks very much :)

clicked, installed

Distance
02-05-2007, 08:25 PM
;)

I will look into this

Topaz71
02-06-2007, 01:07 PM
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
02-06-2007, 01:13 PM
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
02-06-2007, 03:04 PM
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
02-06-2007, 03:27 PM
There is an article i just submitted: https://vborg.vbsupport.ru/showthread.php?p=1175972#post1175972

Mr_Snob
02-06-2007, 10:58 PM
wow very creative idea from you Josh!
thats what i need for me Thank you bro.

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

Ziki
02-08-2007, 05:00 PM
Oh now I understand the difference between username and musername.I never knew what the difference was :p

Distance
02-08-2007, 05:00 PM
hehe :)

deezelpope
03-12-2007, 10:12 PM
Very nice!!! *Clicks installed! Thank you very much!

Distance
03-13-2007, 12:53 AM
No problem :)

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

HMBeaty
03-13-2007, 01:55 AM
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 (https://vborg.vbsupport.ru/showthread.php?t=105683) is what you're looking for?

deezelpope
03-13-2007, 10:25 AM
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
03-13-2007, 10:25 AM
I believe this (https://vborg.vbsupport.ru/showthread.php?t=105683) is what you're looking for?
Ooooh!! :D :up:

dbirosel
03-16-2007, 08:25 PM
Works great! It would be great if we can get a username color on forumhome. :D

HMBeaty
03-16-2007, 10:57 PM
Works great! It would be great if we can get a username color on forumhome. :D

https://vborg.vbsupport.ru/showthread.php?t=105683

anywares
03-16-2007, 11:00 PM
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
03-16-2007, 11:01 PM
https://vborg.vbsupport.ru/showthread.php?t=105683
I already have that installed. I'm talking about the usernames in LAST POST BY

Losha
03-17-2007, 11:19 AM
thanks a lot BoYagoob

Distance
03-26-2007, 10:17 PM
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
04-05-2007, 10:30 PM
thanks simple with abit of patience

itorrents
04-07-2007, 01:30 AM
Installed, nice work :)

Distance
05-03-2007, 06:38 AM
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
02-04-2008, 01:21 AM
thanks Distance , nice mod cliked installed ;)

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

regards
franz