Version: , by Gaffer
Developer Last Online: Nov 2022
Version: Unknown
Rating:
Released: 08-22-2002
Last Update: Never
Installs: 0
No support by the author.
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]
________________________________________________
Show Your Support
This modification may not be copied, reproduced or published elsewhere without author's permission.
Originally posted by Gaffer 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]
________________________________________________
Gaf.. you can either send me the file and I'll fix it for you or you can give me temp access and I'll hack it there...