vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.7 Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=228)
-   -   Moderators Functions - Moderator Checkpoint System (https://vborg.vbsupport.ru/showthread.php?t=173609)

civil78 05-15-2008 11:01 PM

That’s great news, I thought that this mod discontinued.

karamayros 06-09-2008 09:05 PM

I am using this for quite a time now and I noticed few things:

1) In a forum running on a machine with php v5.1.6 installed quite often when one moderator attempts to enable moderation mode the result is a empty page and the error reported in error.log "'PHP Fatal Error : Allowed memory size of (64M) exhausted". Any ideas ?

2) Everytime a moderator logs out and relogs in the moderation mode has been set to disabled. Is there a way to leave the moderation mode permanently enabled ?

logicuk 06-28-2008 10:48 AM

has anyone got this working on vb 3.7 yet? thanks

Kirk Y 06-28-2008 03:05 PM

Version 1.1.1 has been released (version 1.1.0 was a private beta).

Much of the core code has either been rewritten or consolidated to improve performance and efficiency. Several template edits are now no longer necessary as of the release of vBulletin 3.7.0. With that said...

Moderator Checkpoint System v1.1.1 requires vBulletin 3.7.0 (or higher). Boards wishing to upgrade to the latest release must first upgrade to the latest release of vBulletin.
--------------------
Upgrading from 1.0.9 to 1.1.1

Find and remove in your threadadmin_deleteposts template:
Code:

<input type="hidden" name="checkedposts" value="$mcscount" />


Find and remove
in your SHOWTHREAD template:
Code:

<if condition="$show['cancheck'] AND $inmodmode"><option value="markmoderated">$vbphrase[mark_checked]</option>
<option value="markunmoderated">$vbphrase[mark_unchecked]</option></if>



Find and remove
in your FORUMDISPLAY template:
Code:

<if condition="$show['candothreads'] AND $inmodmode">
<option value="markthread">$vbphrase[mark_thread_moderated]</option>
<option value="unmarkthread">$vbphrase[unmark_thread_moderated]</option>
</if>



Find and remove
in your HEADINCLUDE template:
Code:

<script type='text/javascript'>
<!--

    function mcsRequestData(Location,Handler){
    IE = (window.ActiveXObject)? true : false

        if(IE){
        Request = new ActiveXObject("Microsoft.XMLHTTP")
        } else {
        Request = new XMLHttpRequest()
        }

        if(Request){
        Request.onreadystatechange = function(){mcsCollectData(Handler)}
        Request.open("GET", Location + '&nocache=' + Math.random(0,9999), true)
        Request.send('')
        }
    }

    function mcsCollectData(Handler){
        if(Request.readyState == 4){
            if(Request.status == 200){
            eval(Handler + '(Request)')
            }
        }
    }

    function parseActiveData(Request){
    Data = Request.responseXML.documentElement
    ActiveStatus = Data.getElementsByTagName('activemode')[0].firstChild.data
        if(ActiveStatus == 0){
            document.getElementById('data3').innerHTML = '$vbphrase[mcs_disabled]'
        }else{
            document.getElementById('data3').innerHTML = '$vbphrase[mcs_enabled]'
        }
    }

-->
</script>



Find
in your postbit/postbit_legacy template:
Code:

<if condition="$inmodmode AND THIS_SCRIPT == 'showthread' AND $show['cancheckforum']">

Replace
with:
Code:

<if condition="$show['canbechecked']">



1. Import the 1.1.1 product XML, ensuring to check "Allow Overwrite".
2. Run a counter update via AdminCP -> Maintenance -> Update Counters
-- You must update the MCS Post Counters *and then* update the MCS Thread Counters.

Spinball 06-28-2008 08:44 PM

Couldn't install it Kirk because I just upgraded to 3.7.2 and the install scripts says that dependencies are not met.

Kirk Y 06-28-2008 09:03 PM

Apologies for that Stuart. This is the first time I've ever had the need to integrate dependencies in a product. :)

PS. AVForums should already be running 1.1.1.

CrankyFC 06-28-2008 09:10 PM

Quote:

Originally Posted by Kirk Y (Post 1561549)
Apologies for that Stuart. This is the first time I've ever had the need to integrate dependencies in a product. :)

PS. AVForums should already be running 1.1.1.

Please fix this, I would like this. Please and thanks.

Kirk Y 06-28-2008 09:19 PM

Quote:

Originally Posted by CrankyFC (Post 1561557)
Please fix this, I would like this. Please and thanks.

As of my previous posting, the problem had already been identified and fixed...

EagleNick 06-29-2008 12:23 AM

Very cool MOD, good idea.

However, it would get very annoying very fast to have to check each post, and then scroll to the bottom and use the moderation menu everytime.
A simple button in a post using AJAX like the Post Thanks hack would be a good idea, and more effective :)

Kirk Y 06-29-2008 02:07 AM

That's why "Active Checking" was implemented. But AJAX is something I may implement at some point in the future.


All times are GMT. The time now is 03:21 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.01108 seconds
  • Memory Usage 1,745KB
  • 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
  • (2)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)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