MartynJ
07-12-2003, 05:19 PM
I need some code to place in admin/functions.php
It's at the part which decides which postbit to send for eval. You have something like:
if bbuserinfo[ignore]=1
{
eval postbit_ignore;
}
else
{
eval postbit
}
I need to add another part in which checks to see if a post is nuked, and then if it is, AND the user viewing it is a mod or admin, then the post is shown, but if a normal user views it, they are shown a postbit which is blank (effectively, nothing).
It's at the part which decides which postbit to send for eval. You have something like:
if bbuserinfo[ignore]=1
{
eval postbit_ignore;
}
else
{
eval postbit
}
I need to add another part in which checks to see if a post is nuked, and then if it is, AND the user viewing it is a mod or admin, then the post is shown, but if a normal user views it, they are shown a postbit which is blank (effectively, nothing).