Go Back   vb.org Archive > vBulletin 3 Discussion > vB3 General Discussions
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools Display Modes
  #1  
Old 10-02-2007, 01:17 AM
SHOBizzy SHOBizzy is offline
 
Join Date: Apr 2004
Location: USA
Posts: 41
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default 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!
Reply With Quote
  #2  
Old 10-02-2007, 02:38 AM
RobDog888's Avatar
RobDog888 RobDog888 is offline
 
Join Date: Apr 2007
Location: Degabah Swamp
Posts: 293
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

<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>
Reply With Quote
  #3  
Old 10-02-2007, 02:59 AM
SHOBizzy SHOBizzy is offline
 
Join Date: Apr 2004
Location: USA
Posts: 41
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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.
Reply With Quote
  #4  
Old 10-02-2007, 07:33 AM
RobDog888's Avatar
RobDog888 RobDog888 is offline
 
Join Date: Apr 2007
Location: Degabah Swamp
Posts: 293
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

<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>
Reply With Quote
  #5  
Old 10-02-2007, 10:57 AM
SHOBizzy SHOBizzy is offline
 
Join Date: Apr 2004
Location: USA
Posts: 41
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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.
Reply With Quote
  #6  
Old 10-02-2007, 01:50 PM
RobDog888's Avatar
RobDog888 RobDog888 is offline
 
Join Date: Apr 2007
Location: Degabah Swamp
Posts: 293
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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.
Reply With Quote
  #7  
Old 10-02-2007, 03:07 PM
SHOBizzy SHOBizzy is offline
 
Join Date: Apr 2004
Location: USA
Posts: 41
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by RobDog888 View Post
Make a backup copy first just in case you need to revert and forget what it originally was.
That is the story of my life these days. Backup, backup and just when you think you've backed it up enough....back it up again.

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:
Reply With Quote
  #8  
Old 10-02-2007, 03:57 PM
RobDog888's Avatar
RobDog888 RobDog888 is offline
 
Join Date: Apr 2007
Location: Degabah Swamp
Posts: 293
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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.
Reply With Quote
  #9  
Old 10-03-2007, 09:56 PM
SHOBizzy SHOBizzy is offline
 
Join Date: Apr 2004
Location: USA
Posts: 41
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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.
Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 08:33 PM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2024, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.04379 seconds
  • Memory Usage 2,242KB
  • Queries Executed 13 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (1)ad_showthread_firstpost
  • (1)ad_showthread_firstpost_sig
  • (1)ad_showthread_firstpost_start
  • (1)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)navbar
  • (3)navbar_link
  • (120)option
  • (9)post_thanks_box
  • (9)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (9)post_thanks_postbit_info
  • (9)postbit
  • (9)postbit_onlinestatus
  • (9)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_postinfo_query
  • fetch_postinfo
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete