Hello, I'm setting up a WWWThreads (php version) and have one more question. I've got a moderator for a forum but when he clicks on the message nothing shows up. he can approve it but can't see it. I went to the boards read/write and everyone except Guest has write priv and all have read priv. how do i let my moderator see the messages? thanks!!!
Hmm. Just tested this here and couldn't duplicate a problem. What actually happens. Does the post come up with the edit button with an empty body? Or is it something else. If you can grab a screenshot of what they are seeing it might help.
There is no text, just the boxes where the text would be. If i make the person an administrator they can see it. If while they are moderator they click on the approve button it will aprove the message ...although they didn't see what they were reading.
Just a bit more information, I went in as admin and checked the boards read groups...all four are checked. I went in and check the boards write groups and admin/moderator/users have checked boxes. when i just posted a message as a regular user everything looks normal. when the moderator goes in it shows the subject and posted by and posted on information beside the box to check for approval. when i click on the subject "test" it takes me to where i should see the message, but all i see is the boxes, the first box has () and date and time (which is really really wrong!!! 12/31/69 7:00pm) while the previous screen has 1/19/01 11:40am. the next section over has the icon and the box under that where the message should be is totally blank!
Ah, they are using the tool in the admin area for approving posts? I didn't check that one. I checked the front end, way by clicking the Edit message button and then approving the post. I'll do some tests with the admin area tool.
Hmm. Tried it through the admin tool as well, and have no problems there either. Are you familiar with mysql at all, or do you have anything like mysqlman or phpMyAdmin installed? If you can, can you take a look at your w3t_Moderators table and see if there is an entry for this moderator/board in this table.
scream, yes i'm familiar with mysql. i checked the w3t_Moderators table and it shows the user listed for each of the boards. I've even gone as far as deleting the user, removing it as a moderator and having him log back on and adding him back as a moderator. still get the same thing.
scream, i'm now seeing the text (in admin tool) i don't see it from the main forum though. hope this helps <img border="0" title="" alt="[Smile]" src="images/icons/smile.gif" />
Ok, can you try this in that same area. About line 257 you will see this block of code: <pre> $sth = $dbh -> do_query($query); $rows = $dbh -> fetch_array($sth); $dbh -> finish_sth($sth); if ($rows[0]) { $Viewable = ""; $ismod = "yes"; } </pre>
Change that block, to this and then try the admin tool again: <pre> $sth = $dbh -> do_query($query); list($modchecker) = $dbh -> fetch_array($sth); $dbh -> finish_sth($sth); if ($modchecker) { $Viewable = ""; $ismod = "yes"; } </pre>
when i did that and went back into admintool it goes back to NOT showing me the message. I again have the date/time that is screwed up 12/31/69 07:00PM (message was posted today)
Ok, there is something wrong with the moderation check in several files then. Would there be any chance of my getting moderator access, and telnet access to your server so I can debug this? I'd do it here but I cannot duplicate the problem on my system.
Scream, It seems that all is not well. The moderator informed me today that he can't actually approve post from the edit section. He can however approve from "admin". When he goes in to approve from edit here is what happens: 1) editpost.php clicks on "Approve This Post"
2) modifypost.php clicks on "Yes, I want..."
3) approvepost.php the following message appears: We encountered a problem. The reason reported was: This is not necessarily an error. If you feel this is an error then it could be something as simple as your browser not being set to accept cookies. If
you feel this error is a problem with the server then please contact and let us know what exactly went wrong so it can be fixed as soon as possible.
Otherwise, please use your back button to return to the previous page.
Hmm. That is very strange. This is basically the not_right error message, with no error. Looking through the approvepost.php script, the only call that is made to not_right is if the user is not an admin or moderator, and it gives the standard error. So, I'm not real sure where this would even be coming from. Does approving posts from the admin section work?
scream, yes that is currently the only way the moderator can approve messages. He's been approving messages that way but says it's really a pain. approving from edit works fine for administrators (me)