The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
colours for user groups.
I have set up for each usergroup to have a different colour .
Admin - red Super Mod - Blue Mod - green etc Its is shown below but its not working on the post . When i see on the forum LAst post by ....... the colour there is shown as normal like for Register users . Also in Post thanks or groan . How can i change this ?? Thanks again all for your help |
#2
|
|||
|
|||
Hey goshalim,
By default, vBulletin has put the plaintext of the username on the Forum Home templates. This can easily be edited by editing the template. To show usernames in plaintext - the code is: $user['username']; To show the usernames with markup - the code is: $user['musername']; So, what you need to do is call $user['musername'] rather than $user['username']. |
#3
|
|||
|
|||
Thanks JAmes
Can you be liltle bit more specific where to go and add these codes which you gave me please. I am not an expert but i work hard by myself Thank you again |
#4
|
|||
|
|||
Hello again golashim,
Sorry for the delayed reply. To the point: If you enable commenting on the source (vBulletin options -> General Settings -> Add Template Name in HTML Comments -> Yes) this comments each part of the source with each template it uses (i.e. forumhome, forumdisplay etc). Now, if we look for the part that displays the last posted user, we get this: Code:
<phrase 1="member.php?$session[sessionurl]find=lastposter&f=$lastpostinfo[forumid]" 2="$lastpostinfo[lastposter]">$vbphrase[by_x]</phrase> PHP Code:
EDIT: That method could work above (again I haven't tried it) but I've been looking at a modification that displays the mark-up usernames on forumdisplay and it looks like it manipulates ['postusername'] into posting the mark-up username instead. I will play around with this and get back to you. |
#5
|
||||
|
||||
I've just made it for you:
https://vborg.vbsupport.ru/showthread.php?p=1850276 Just install - no template modifications Mark as installed would be appreciated |
#6
|
|||
|
|||
Hi NLP-er
Thank you so much but I am having a small problem. Iam using 3.7.3 which is not compatible. CAn ypou do someting for this please . Again thnak youso much even for trying doing something like this. Thanks |
#7
|
||||
|
||||
Please discuss this in mod thread I will gladly answer you there - it will be helpful for future users Also I will not monitor this thread anymore, so just please paste this question in mod thread
|
#8
|
|||
|
|||
Thanks , allready did !!!
|
Thread Tools | |
Display Modes | |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|