Version: 1.00, by Xenon
Developer Last Online: Oct 2023
Version: 3.5.4
Rating:
Released: 04-10-2006
Last Update: 04-21-2006
Installs: 72
Uses Plugins Template Edits
No support by the author.
Alright, this Modification is a port of my 3.0.0 Version here.
Short description:
This mod allows you and your moderators, to post hidden posts, which will be visible just to your staff, but not to the users, which will allow you to have comfortable conversations about an issue directly within a thread, withoput users noticing.
There is no more to say. The modification is installed here since a long time and no problems appeared, but i still consider it as a beta version, right now, until usertest have approved it as well
Enjoy
Show Your Support
This modification may not be copied, reproduced or published elsewhere without author's permission.
Probably due to the can_moderate thing being called for people who can moderate.
(The confusion arises when you refer to a product as a plugin.)
One of these days I will get the whole product/plugin thing straight in my head. I see things in the plugin section and that just sticks in my head... ANyway:
I used the code from post 35, and did not use the navbar changes at all.
So, since a missing index seems to be the suggested fix, uh, this is where I sound stupid.
It won't work with 3.6 without a modification to one of the plugins - the deletionlog table has had a dateline column added to it in 3.6 - therefore you will get an sql error.
Got it working ok... Only main difference is, as Paul said, one of the queries needs to be changed otherwise you get a problem with ambiguity.
PHP Code:
$posts = $db->query_first("
SELECT COUNT(postid) AS count
FROM " . TABLE_PREFIX . "post AS post
LEFT JOIN " . TABLE_PREFIX . "deletionlog AS deletionlog ON(deletionlog.primaryid = post.postid AND type = 'post')
WHERE visible = 0 AND dateline > " . $vbulletin->userinfo[lastvisit] . "
AND deletionlog.primaryid IS NULL
");
becomes...
PHP Code:
$posts = $db->query_first("
SELECT COUNT(postid) AS count
FROM " . TABLE_PREFIX . "post AS post
LEFT JOIN " . TABLE_PREFIX . "deletionlog AS deletionlog ON(deletionlog.primaryid = post.postid AND type = 'post')
WHERE visible = 0 AND post.dateline > " . $vbulletin->userinfo[lastvisit] . "
AND deletionlog.primaryid IS NULL
");
Got it working ok... Only main difference is, as Paul said, one of the queries needs to be changed otherwise you get a problem with ambiguity.
PHP Code:
$posts = $db->query_first(" SELECT COUNT(postid) AS count FROM " . TABLE_PREFIX . "post AS post LEFT JOIN " . TABLE_PREFIX . "deletionlog AS deletionlog ON(deletionlog.primaryid = post.postid AND type = 'post') WHERE visible = 0 AND dateline > " . $vbulletin->userinfo[lastvisit] . " AND deletionlog.primaryid IS NULL ");
becomes...
PHP Code:
$posts = $db->query_first(" SELECT COUNT(postid) AS count FROM " . TABLE_PREFIX . "post AS post LEFT JOIN " . TABLE_PREFIX . "deletionlog AS deletionlog ON(deletionlog.primaryid = post.postid AND type = 'post') WHERE visible = 0 AND post.dateline > " . $vbulletin->userinfo[lastvisit] . " AND deletionlog.primaryid IS NULL ");
Is there any port of "Hidden Posts advanced" with editpost (make it visible/invisible)?
How to set a color to the hidden posts to warn a staff member? Thanks.