Quote:
Originally Posted by Greebo
Ok, here's what I ended up doing to make this work:
In editpost.php I replaced:
PHP Code:
if ($bbuserinfo['userid'] != $postinfo['userid']) { // check user owns this post print_no_permission(); } else { // check for time limits if ($postinfo['dateline'] < (TIMENOW - ($vboptions['edittimelimit'] * 60)) AND $vboptions['edittimelimit'] != 0) { eval(print_standard_error('error_edittimelimit')); } }
With
PHP Code:
if ($postinfo['postanon']) { if ($bbuserinfo['userid'] != $postinfo['postanon']) { // check user owns this post print_no_permission(); } } else { if ($bbuserinfo['userid'] != $postinfo['userid']) { // check user owns this post print_no_permission(); } } // check for time limits if ($postinfo['dateline'] < (TIMENOW - ($vboptions['edittimelimit'] * 60)) AND $vboptions['edittimelimit'] != 0) { eval(print_standard_error('error_edittimelimit')); }
Hope that helps if anyone else is having this issue. I suspect the install instructions just missed a step here...unless I missed them but I checked several times. 
|
Good catch. Editing has been the bane of my existance from day one. I'll test your tweaks and see how it goes on my test board.