The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
looking for a hack to allow mods and admins to change username color...
or do i even need a hack for this?
i searched this forum, but didnt find anything that would do just this i looked thru CP and didnt see anything to do this either any help would be appreciated thanks |
#2
|
||||
|
||||
there are some hacks out there, most of them works with custom profilefields...
do another search and you'll find em |
#3
|
|||
|
|||
i found this one, Username Font Color Hack(in postbit)
which looks nice, BUT its for all members, and i only want mods and admins to ahve this ability |
#4
|
||||
|
||||
just add an if-clause
PHP Code:
|
#5
|
|||
|
|||
thanks for yer help, but i coldnt get that too work
actually to make things easier, i just want to only allow this option once a certain post count it hit would the command be? if(post[postcount]!>=500) {....original code of the hack here ..... } |
#6
|
||||
|
||||
my code should work, perhaps there is a problem with your integration...
also for posts counts: if(post[posts]>=500) {....original code of the hack here ..... } |
#7
|
|||
|
|||
it should go in the postbit right?
before this line <smallfont><font color="$post[field5]">$post[usertitle]</font> i put it there and it just displays it just like another line perhaps im putting it in wrong place, cause i dont want the members to even see the option in thier control panel is they have less than a certain number of posts |
#8
|
||||
|
||||
php-code you can just add in php-files
you have to edit functions.php you have done so when you installed Username Font Color Hack. so there add the code, not in the templates.. |
#9
|
|||
|
|||
i understand what yer saying now, but i didnt use functions.php to allow coloring of titles, i used this. a custom profile field
Quote:
thanks for all yer help so far |
#10
|
||||
|
||||
ok, i see
open member.php find: PHP Code:
PHP Code:
yy with the postaamount needed to use that field |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|