![]() |
ok whats with this code
i have been trying to get this working so i can set up some glow and other stuff for members but for some reason the below coding won't work
this one is set to change there member title to what ever is hard coded whats wrong with this code ################################ #File to edit admin/funtion.php# ################################ ############ #Find this:# ############ right below this if ($avatarurl=="" or ($bbuserinfo[userid]>0 and !($bbuserinfo[showavatars]))) { $post[avatar]=""; } else { eval("\$post[avatar] = \"".gettemplate("postbit_avatar")."\";"); } if ($post[customtitle]==2) { $post[usertitle] = htmlspecialchars($post[usertitle]); } ######################## #And add this below it:# ######################## // begin hard coding member stuff $post[specialusertitle] = $post[usertitle]; if ($post[userid] == 21) { $post[specialusertitle] = "something here"; } // end Hard Coding member Stuff ################################################## ### #Then go edit your postbit template and change this:# ################################################## ### [usertitle] to this: [specialusertitle] ________________________________________________ |
try this code...
PHP Code:
g-force2k2 |
Either one should work. I think he was just asking why you convert it like that. from [usertitle] to [specialusertitle]
|
Just a minor thing:
Change "funtion.php" to "functions.php" |
well looks like that don't want to work either
i'll play around with this and get it working cause i need this badly the head admin at one of the message boards likes editing peoples stuff for them without there permission so i need to hard code some information in |
Quote:
|
Gaffer try this coding ;)
PHP Code:
g-force2k2 |
All times are GMT. The time now is 08:31 AM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|