Nobody seems to have noticed that there is a huge problem with'unregistered' posts. I noticed this recently with the VB2x version when I allowed unregistered to post on the board. It puts the quick edit on their posts, which of course means
any unregistered can edit the post even though it isn't theirs. Just installed this upgrade on my test board and the problem is still there.
I'm about to input this code:
Code:
if (($bbuserinfo['usergroupid'] == 6) or (can_moderate($foruminfo['forumid'])) or ($post['userid'] == $bbuserinfo['userid']))
{
$edittext = htmlspecialchars_uni($post['pagetext']);
eval('$quickedit = "' . fetch_template('showthread_quickedit') . '";');
}
else
{
$edittext="";
$quickedit="";
}
So how can I add it in that it excludes unregistered posts? Suppose I could just not allow the unregistered to post if necessary. No biggie I guess.
Also, is it possible to just use the hack for VB2 on VB3 instead of this upgraded one? I like the radio button on that, and I think the text next to it makes it easier to see what it does. Many old browsers don't have the 'alt' tags so it'll take a while for people to figure out what this new icon is for.
This is by far my most popular and used hack, but even newbies could figure it out immediately - the new version is not as easily identifiable IMO.