My members can erase the wall.....um.. I didnt want that.
Code:
if ( can_moderate() ) {
echo<<<INPUTTEXT
<br /><input type="checkbox" name="adminreset" value="1" /> Wipe Wall</font>
INPUTTEXT;
}
figuring out this code.
Nice hack though, i like it.
and this code
Code:
if ( !file_exists($graffitifile) || ($adminreset == 1 AND can_moderate()) ) {
$myimage = ImageCreate($picwidth, $picheight);
$newimage = 1;
}
What's going on is I have diary moderators and they're the one's causing the trouble, so i'm trying to get the code right so only admin's can erase it.