PDA

View Full Version : Post Images


mistyl
01-14-2003, 12:46 AM
I searched for this and I can't seem to find it. If someone could please point me in the right direction lol!

I saw this at another board and thought it looked neat.

For Admins and Mods they had images in there posts. Like flowers and hearts. I know it has to do with CSS but I don't know where to start or how to get it there on Admins and Mods only posts

Xenon
01-14-2003, 04:10 PM
look for custom postbit for admins and change it so also mods will have there own...

mistyl
01-14-2003, 10:51 PM
Thanks Xenon!! I am having a problem though with it. I did it and creating a new postbit for it and it is not working lol!

Here is my fuction PHP:

// do posts from ignored users
if (($ignore[$post[userid]] and $post[userid] != 0)) {
eval("\$retval = \"".gettemplate("postbit_ignore")."\";");
} else {

if ($$bbuserinfo[usergroupid]==6)
{eval("\$retval = \"".gettemplate("postbit2")."\";");
}
else{
eval("\$retval = \"".gettemplate("postbit")."\";");
}

}
return $retval;
}

// ###################### Start gettextareawidth #######################

I have the postbit name setup right. So I am a little puzzled lol!

Xenon
01-15-2003, 11:06 AM
i think it should be like that:
// do posts from ignored users
if (($ignore[$post[userid]] and $post[userid] != 0)) {
eval("\$retval = \"".gettemplate("postbit_ignore")."\";");
} else if ($post[usergroupid]==6) {
eval("\$retval = \"".gettemplate("postbit2")."\";");
} else {
eval("\$retval = \"".gettemplate("postbit")."\";");
}


return $retval;
}

// ###################### Start gettextareawidth #######################

mistyl
01-15-2003, 05:17 PM
Xenon you are the best! It fully works now! Thank you so much!

Xenon
01-15-2003, 05:45 PM
you're welcome :)