259
Quote:
onokazu wrote:
Yes, this was a bug. Here is the patch that I committed on CVS:
url deleted
Make sure that you update the module after adding the patch so that the modified version of the template file will be used.
Hi onokazu,
Thanks for the patch. I'm not sure if chapi and I have the same problem, but the patch for the newbb_thread, if I am correct, allows moderators to delete and edit individual posts. I have installed that patch and it works fine.
It's the 4 buttons below that gives registered users/moderators the problem, i.e. they can't do anything for the whole topic thread. They can't move, edit, delete or make it sticky. They can manipulate individual posts but if they use the 4 small buttons below, it would redirect them with the message that they are not moderators.
Hmmm... if the viewer_is_admin works for individual posts, then the 'registered user/moderator' is recognized as a moderator by viewtopic.php. But when he tries to do something with the 4 small buttons, he is redirected by topicmanager.php because he is not a moderator. But with register_globals on, it works fine.
I'm not really knowledgeable about PHP, but I just try to follow the flow of the problem. BTW, I'm using 2.0.5 (patched from 2.0.3).
Thanks for the help!