vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   Modification Graveyard (https://vborg.vbsupport.ru/forumdisplay.php?f=224)
-   -   Moderators Functions - Per-Thread Moderation (https://vborg.vbsupport.ru/showthread.php?t=122327)

The Librarian 04-13-2007 04:34 PM

uninstalled

yaworski 04-18-2007 04:22 PM

To fix the problem with no message displayed to the user that the post he/she posted a second earlier needs to be accepted by moderator just do this:
1. Open admincp and go to Plugin&Products->Plugin Manager.
2. Find 'Per-Thread Moderation :: Post Saving' plugin and edit it.
3. Find:
Code:

$dataman->set('visible', 0);
and add after it
Code:

$post['visible'] = 0;
The plugin code should look like this
Code:

if (($type == 'reply') AND ($threadinfo['moderated'] == 1) AND (!can_moderate($foruminfo['forumid'])))
{
        $dataman->set('visible', 0);
        $post['visible'] = 0;
}

This just uses vB build-in code to display the message.

The Librarian 04-18-2007 04:37 PM

Quote:

Originally Posted by yaworski (Post 1230510)
To fix the problem with no message displayed to the user that the post he/she posted a second earlier needs to be accepted by moderator just do this:
1. Open admincp and go to Plugin&Products->Plugin Manager.
2. Find 'Per-Thread Moderation :: Post Saving' plugin and edit it.
3. Find:
Code:

$dataman->set('visible', 0);
and add after it
Code:

$post['visible'] = 0;
The plugin code should look like this
Code:

if (($type == 'reply') AND ($threadinfo['moderated'] == 1) AND (!can_moderate($foruminfo['forumid'])))
{
        $dataman->set('visible', 0);
        $post['visible'] = 0;
}

This just uses vB build-in code to display the message.

Thanks for this! It will be good if I decide to try re-installing this mod.

I really could use this mod, but my forum started acting wonkey after installing it. I saw two things: 1) users in one of my usergroups suddenly seemed to have access to private forums :eek: and 2) linking to old existing threads started giving "thread not found" messages. It was weird because the threads ARE there and the links SHOULD have worked.

It may not have had anything to do with this mod, but it coincided with installation so I've just uninstalled it for now and will try again later if I find that I really need it.

Thanks again.

yaworski 04-18-2007 05:09 PM

Quote:

Originally Posted by The Librarian (Post 1230520)
Thanks for this! It will be good if I decide to try re-installing this mod.

I really could use this mod, but my forum started acting wonkey after installing it. I saw two things: 1) users in one of my usergroups suddenly seemed to have access to private forums :eek: and 2) linking to old existing threads started giving "thread not found" messages. It was weird because the threads ARE there and the links SHOULD have worked.

It may not have had anything to do with this mod, but it coincided with installation so I've just uninstalled it for now and will try again later if I find that I really need it.

Thanks again.

I checked the code and I didn't find anything that might did this to your board. This product consists only of 4 plugins and there is really small amount of code in them. It also adds additional column in thread table called moderated and that's all.

The only problem I have is not with the plugin itself but with the vB. This also happens on moderated forums so this has nothing to do with this mod. When I use quick reply in moderated thread/forum then the new post appears without any information to the user. But the post only appears to the user who posted it. It actually is placed in moderation queue and is invisible until accepted.

The Librarian 04-18-2007 05:23 PM

Quote:

Originally Posted by yaworski (Post 1230544)
I checked the code and I didn't find anything that might did this to your board. This product consists only of 4 plugins and there is really small amount of code in them. It also adds additional column in thread table called moderated and that's all.

I know. That's what so weird about it. I told my fellow Admin that I just didn't believe this mod caused the problems but we were so freaked that folks were able to see in that private forum that we decided "better safe than sorry."

Quote:

The only problem I have is not with the plugin itself but with the vB. This also happens on moderated forums so this has nothing to do with this mod. When I use quick reply in moderated thread/forum then the new post appears without any information to the user. But the post only appears to the user who posted it. It actually is placed in moderation queue and is invisible until accepted.
hmmm... that's weird.

I just don't get why vB doesn't have this moderated thread feature built-in. It's just so very useful. It seems like most of the time a thread starts out alright and then decends into heated debate. It's just really necessary sometimes to step in and slow things down, but you don't always want to lock a thread and quell discussion completely.

I guess I need to submit this to vB as a "suggested feature" in future versions.

Thanks again for your help. I'm probably going to attempt to install it again after updating to the new vB version so I'll need that info.

mhammed 04-19-2007 04:45 AM

Quote:

Originally Posted by Alan @ CIT (Post 1039192)

Hambil: Shouldn't be a problem. However, my graphic design skills are limited at best, so if someone would like to create a new icon and post it here, I will add it in :)

Thanks,
Alan.

perhaps something like that

sonata 06-08-2007 07:10 AM

Thanks. Works great. Installed it on my forum(version 3.6.5). It would be nice if those moderated threads can be list down in the admincp.


All times are GMT. The time now is 11:37 PM.

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.01223 seconds
  • Memory Usage 1,740KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (6)bbcode_code_printable
  • (5)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (2)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (7)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.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/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete