The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
Hiding moderated threads
Hello all.
On my forum I have a classified section where users donate to post things they have for sale. When a user posts a new thread it goes into a moderation queue until I verify their donation and then I release the thread for public viewing. I have some global mods on my forum, similar setup to super mods. They are able, by default, to view the threads that are still in moderation queue. This has caused one problem already and I don't want it to happen again. Is there a code or a mod I can use to hide all posts in moderation queue from all users but myself the admin? TIA! |
#2
|
||||
|
||||
<font color="darkgreen">Sounds lik eif thats the problem then they shouldnt be SM's. If you bust them town to Mod and dont assign them the classified forum then they will be able to only mod the que for forums they mod. a SM can mod the queue for all forums.</font>
|
#3
|
|||
|
|||
Thanks for your reply.
Yes, I know I should bust him down a notch, but I'd rather find a way around this instead of having to deal with the whining. I don't think he'll do it again but I'd rather not take a chance.... just to be safe. I wish there was a way to go back to the day (for a change I wish I could go back) when posts in moderation queue weren't visible to anyone but me in the admin cp. |
#4
|
||||
|
||||
<font color="darkgreen">Well you might be able to modify the query that populates the queue to only display that there is a item in the queue depending upon the users perms and by userid. Exclude his userid in the where clause.
I would think that eventually he will catch on and then you may have to deal with other "drama". My thinking is to do something like how Coventry works but applied for the mod queue.</font> |
#5
|
|||
|
|||
Interesting idea, I'll have to see what I can figure out. I wouldn't mind if none of the global mods could see the queue. You know the old phrase; "Out of sight, out of mind."
Thanks again for your reply and idea. |
#6
|
||||
|
||||
No prob
The field that the queue uses to determine if its a modded thread/post is "visible". So when the query puls in info you can add something like " AND userid NOT IN('123', '5667', '8634')" for ex. Make a backup copy first just in case you need to revert and forget what it originally was. |
#7
|
|||
|
|||
Quote:
Another thought I've had is possibly looking into a modification where users post in the classified areas but after they click submit the posts are automatically diverted to a private forum that only I have access to. Kind of like a twist to the reported post function that starts a new thread in a private forum. Oh by the way, your banner on Mustang Racers is awesome! :up: |
#8
|
||||
|
||||
On line 222 and 268 of moderation.php you will find two queries. First is the thread count as it will need to be modified to reflect the proper thread count of "filtered" queued threads. Then the second is to retrieve the moderated thread ids. And you could also filter on 281 where its iterating through the queued threads array and perhaps add a extra if condition to skip based upon the current userid etc.
On 325 there is another query too. Just is a bit conveluted but possible. Even a few hooks in there that you may be able to use to convert the hack to a plugin once its working. Ps, Thanks. I havent had much time to work on and promote that site as my gangstayoda.com site is getting closer to promot-ability I just need to finish my massive hack/product for it and I'll be ready. |
#9
|
|||
|
|||
I haven't been able to figure anything out yet. I guess that's why I'm a mechanic and not a coder. I'll take a car to work on over code any day. I do appreciate your suggestions. If you have time and think of anything else please let me know.
|
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|