![]() |
Help filtering moderated posts?
Not sure this is the place to ask this but I'm at a loss and really need a hand. I'm running this mod and posted my question
https://vborg.vbsupport.ru/showthrea...02#post1218602 and it works great accept that it displays posts that have not yet been moderated? Need someone to look at the SQL and see what needs to be added so that posts currently under moderation do not get queried. Anyone up for the challange and or able to provide help? :D |
You'll need to add
Code:
AND(post.visible==1) |
Quote:
Code:
$NewestNews = $db->query(" Code:
$NewestNews = $db->query(" Code:
$NewestNews = $db->query(" |
it should be p.visible=1
|
Quote:
|
Hmm, to the extent of my experiance, it should work, but I haven't dealt with moderated stuff in a long time. You'd probably be better helped by someone else.
|
I checked the db thread table and visibility for my test thread that needs to be moderated is set to 0 so it must be something with the query string?
Anyone else out there have any ideas? |
Oh, I didn't realize that threads had a separate visibility. Try
Code:
AND f.visible AND p.visible |
Quote:
Code:
AND t.visible=1 AND p.visible=1 THANKS! for the help WetWired |
All times are GMT. The time now is 09:26 AM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|