Previous Thread
Next Thread
Print Thread
Hop To
#25544 01/19/2001 10:08 AM
Anonymous
Unregistered
Anonymous
Unregistered
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!!!

#25545 01/19/2001 12:15 PM
Joined: Jun 2006
Posts: 9,242
Likes: 1
R
Former Developer
Former Developer
R Offline
Joined: Jun 2006
Posts: 9,242
Likes: 1
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.

-------------------

Scream

<a target="_blank" href=http://www.wwwthreads.com>WWWThreads</a>

#25546 01/19/2001 12:22 PM
Anonymous
Unregistered
Anonymous
Unregistered
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.

#25547 01/19/2001 12:43 PM
Anonymous
Unregistered
Anonymous
Unregistered
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!

#25548 01/19/2001 1:12 PM
Joined: Jun 2006
Posts: 9,242
Likes: 1
R
Former Developer
Former Developer
R Offline
Joined: Jun 2006
Posts: 9,242
Likes: 1
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.

-------------------

Scream

<a target="_blank" href=http://www.wwwthreads.com>WWWThreads</a>

#25549 01/19/2001 1:17 PM
Anonymous
Unregistered
Anonymous
Unregistered
just a bit more info....when i go in (as the moderator user) from the main screen...they see nothing..no message headers or anything.

#25550 01/19/2001 1:21 PM
Joined: Jun 2006
Posts: 9,242
Likes: 1
R
Former Developer
Former Developer
R Offline
Joined: Jun 2006
Posts: 9,242
Likes: 1
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

<a target="_blank" href=http://www.wwwthreads.com>WWWThreads</a>

#25551 01/19/2001 1:32 PM
Anonymous
Unregistered
Anonymous
Unregistered
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.

#25552 01/19/2001 1:48 PM
Joined: Jun 2006
Posts: 9,242
Likes: 1
R
Former Developer
Former Developer
R Offline
Joined: Jun 2006
Posts: 9,242
Likes: 1
Hmm. It must be something to do with the check for moderation then. You can try this for starters.

In showthreaded.php about line 250 you will see this line:

$dbh -> finish_sth($sth);

You can try adding these 2 lines right above that:

$Viewable = "";
$ismod = "yes";

And then try using the admin tool for approving posts.

-------------------
Scream
<A target="_blank" HREF=http://www.wwwthreads.com>WWWThreads</A>

#25553 01/19/2001 1:53 PM
Anonymous
Unregistered
Anonymous
Unregistered
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" />

#25554 01/19/2001 2:01 PM
Joined: Jun 2006
Posts: 9,242
Likes: 1
R
Former Developer
Former Developer
R Offline
Joined: Jun 2006
Posts: 9,242
Likes: 1
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>


-------------------
Scream
<A target="_blank" HREF=http://www.wwwthreads.com>WWWThreads</A>

#25555 01/19/2001 2:04 PM
Anonymous
Unregistered
Anonymous
Unregistered
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)

#25556 01/19/2001 2:12 PM
Joined: Jun 2006
Posts: 9,242
Likes: 1
R
Former Developer
Former Developer
R Offline
Joined: Jun 2006
Posts: 9,242
Likes: 1
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

<a target="_blank" href=http://www.wwwthreads.com>WWWThreads</a>

#25557 01/23/2001 3:39 PM
Anonymous
Unregistered
Anonymous
Unregistered
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.

#25558 01/24/2001 12:25 PM
Joined: Jun 2006
Posts: 9,242
Likes: 1
R
Former Developer
Former Developer
R Offline
Joined: Jun 2006
Posts: 9,242
Likes: 1
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

<a target="_blank" href=http://www.wwwthreads.com>WWWThreads</a>

#25559 01/25/2001 8:11 AM
Anonymous
Unregistered
Anonymous
Unregistered
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)

#25560 01/25/2001 12:15 PM
Joined: Jun 2006
Posts: 9,242
Likes: 1
R
Former Developer
Former Developer
R Offline
Joined: Jun 2006
Posts: 9,242
Likes: 1
Ok, I'll have another look in there and see if I can find the problem.

-------------------

Scream

<a target="_blank" href=http://www.wwwthreads.com>WWWThreads</a>


Link Copied to Clipboard
ShoutChat
Comment Guidelines: Do post respectful and insightful comments. Don't flame, hate, spam.
Recent Topics
Bots
by Outdoorking - 04/13/2024 5:08 PM
Can you add html to language files?
by Baldeagle - 04/07/2024 2:41 PM
Do I need to rebuild my database?
by Baldeagle - 04/07/2024 2:58 AM
This is not a bug, but a suggestion
by Baldeagle - 04/05/2024 11:25 PM
Is UBB.threads still going?
by Aaron101 - 04/01/2022 8:18 AM
Who's Online Now
1 members (Nightcrawler), 541 guests, and 173 robots.
Key: Admin, Global Mod, Mod
Random Gallery Image
Latest Gallery Images
Los Angeles
Los Angeles
by isaac, August 6
3D Creations
3D Creations
by JAISP, December 30
Artistic structures
Artistic structures
by isaac, August 29
Stones
Stones
by isaac, August 19
Powered by UBB.threads™ PHP Forum Software 8.0.0
(Preview build 20230217)