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.

KURTZ 06-29-2008 07:26 AM

Kirk, i was wondering with the latest version i must do the template edits or not? in the package was wrote only 'upgrade' ... thx

Xeder 06-29-2008 09:30 AM

Yep, that's what I want too know aswell. After importing the addon, there is nothing in any topic/post menu's about "Checking" anything.

Thanks

Kirk Y 06-29-2008 02:21 PM

Quote:

Originally Posted by KURTZ (Post 1561838)
Kirk, i was wondering with the latest version i must do the template edits or not? in the package was wrote only 'upgrade' ... thx

If you're upgrading from 1.0.9 to 1.1.1, then there are no "new" template changes; only removing old ones from the 1.0.9 installation that are no longer necessary as they can now be implemented via hooks.

Instructions for fresh installations have now been added to the package.

mondadori 06-30-2008 11:52 AM

Hello!

First, thank you Kirk for creating and distributing this hack :)

I believe it does everything we need right now, but our production environment still uses vBulletin v3.6.10, and even though we really should update, as a matter of fact it's not even on our roadmap yet, hence this little request:

Would any kind soul over here post a link to the 1.0.9 version so I can install it on my desperately obsolete platform? :D

Thanks in advance fellows.

Math

wuelfi71 07-04-2008 05:44 PM

great work, i was looking quite a while for such an add-on
installed it on my test-vb and it works fine
I'll upload it to the live forum tomorrow

wuelfi71 07-13-2008 11:50 AM

After one week of usage here are the suggestions for improvement from my team. I'm happy to read, that you're working on the first two, so I hope, you could eventually also help me with the others:
  1. first of all: my mods wish, that the last moderation mode and status of active checking is saved. At least, that the default could be changed from disabled to enabled. They're a little bit nerved by changing the modus every time they came back to the board, although when they didn't log out
  2. they wish to recognize checked/unchecked threads also in the "new posts" table
  3. posts by moderators should automatically be marked as checked
  4. how could the length of the announcement column be modified? it's too short in moderation mode:

    https://vborg.vbsupport.ru/
Quote:

Originally Posted by mariocaz (Post 1470189)
Will be more than awesome that the edit templates do it automatically with the product, for people like me that have 3 skins(templates) in my board, that is why I didn?t installed.

Ever thought of creating a "mother skin"? I use an unvisible mother skin for templates edits like this and child skins for style changes - then you didn't have that problem;)

franzis 07-13-2008 12:23 PM

Quote:

Originally Posted by Kirk Y (Post 1485635)
I am planning on implementing all three of those ideas when I have some free time.

(a) Search for Unchecked Posts
(b) Save Active Status for Moderation Mode
(c) Default Moderation Mode Status for Moderators


After that post, kirk, you made the 1.1.1. - but I haven't found a possibility save the active status for every log-in?! do you made it already?

PGAmerica 07-20-2008 03:03 AM

Getting this DB error when I select a post. Not even doing any editing or checkpointing, just clicked on the post.
------------------------------------
Database error in vBulletin 3.7.2:

Invalid SQL:
UPDATE post SET
ischecked = 1,
checkedby = 250,
checkedbyu = 'JustAsIAm',
checkedtime = 1216527509
WHERE postid = 54704;

MySQL Error : Unknown column 'checkedbyu' in 'field list'
Error Number : 1054
Request Date : Saturday, July 19th 2008 @ 09:18:29 PM
Error Date : Saturday, July 19th 2008 @ 09:18:30 PM
Script : http://www.christianfunforums.com/fo...ead.php?t=3085
Referrer : http://www.christianfunforums.com/forums/holy-bible/
IP Address : 76.167.123.87
Username : JustAsIAm
Classname : vB_Database
MySQL Version : 4.0.27-max-log
------------------------------------
Ideas?

PGAmerica 07-20-2008 04:47 PM

Any help here?

SSJB_7 07-21-2008 06:47 PM

it's not working for me!

I installed made instructions (anyway i couldn't find postbit_legacy (307)

and in my custom styles i couldn't find either this either the 2 lines in postbit_legacy.

anyway thank you i still find this perfect idea but if you can, help me ....

Spinball 07-21-2008 08:10 PM

Kirk is away on vacation for a few days yet.

pspmaster93 07-21-2008 08:46 PM

THE FOLLOWING EDITS ARE 100% IMPOSSIBLE

Code:

+--------------------------+
+-- POSTBIT_LEGACY (307) --+
+--------------------------+

FIND (TWO INSTANCES): id="td_post_$post[postid]" style="border-$stylevar[right]: $stylevar[cellspacing]px solid $stylevar[tborder_bgcolor]"

REPLACE WITH (TWO INSTANCES): <if condition="($mcpcolor['showthread'] OR $show['mcsrecent']) AND $inmodmode">background-color:$mcscolor;</if>


FIND (TWO INSTANCES): align="$stylevar[right]" style="border: $stylevar[cellspacing]px solid $stylevar[tborder_bgcolor]; border-$stylevar[left]: 0px; border-top: 0px"

REPLACE WITH (TWO INSTANCES): align="$stylevar[right]" style="<if condition="($mcpcolor['showthread'] OR $show['mcsrecent']) AND $inmodmode">background-color:$mcscolor;</if>border: $stylevar[cellspacing]px solid $stylevar[tborder_bgcolor]; border-$stylevar[left]: 0px; border-top: 0px"


FIND: <if condition="$post['editlink']">

ADD ABOVE:

<if condition="$show['canbechecked']">
        <if condition="$post['ischecked']">
                <span class="smallfont">
                        <if condition="$show['mcsrecent']">
                                <strong class="highlight">$vboptions[mcs_recent_text] </strong>
                        </if>
                        <phrase 1="$mcpmember" 2="$mcpdate" 3="$mcptime" 4="$post[checkedbyu]">$vbphrase[marked_by_on_at]</phrase>
                </span>
        <else />
                <span class="smallfont highlight" style="font-weight:bold">$vbphrase[mcs_post_not_checked]</span>
        </if>
</if>

+--------------------+
+-- POSTBIT_LEGACY --+
+--------------------+

FIND (TWO INSTANCES): id="td_post_$post[postid]" style="border-right: $stylevar[cellspacing]px solid $stylevar[tborder_bgcolor]"

REPLACE WITH (TWO INSTANCES): id="td_post_$post[postid]" style="<if condition="($mcpcolor['showthread'] OR $show['mcsrecent']) AND $inmodmode">background-color:$mcscolor;</if>border-right: $stylevar[cellspacing]px solid $stylevar[tborder_bgcolor]"



FIND (TWO INSTANCES): align="$stylevar[right]" style="border: $stylevar[cellspacing]px solid $stylevar[tborder_bgcolor]; border-left: 0px; border-top: 0px"

REPLACE WITH (TWO INSTANCES): align="$stylevar[right]" style="<if condition="($mcpcolor['showthread'] OR $show['mcsrecent']) AND $inmodmode">background-color:$mcscolor;</if>border: $stylevar[cellspacing]px solid $stylevar[tborder_bgcolor]; border-left: 0px; border-top: 0px"



FIND: <if condition="$post['editlink']">

ADD ABOVE:

<if condition="$show['canbechecked']">
        <if condition="$post['ischecked']">
                <span class="smallfont">
                        <if condition="$show['mcsrecent']">
                                <strong class="highlight">$vboptions[mcs_recent_text] </strong>
                        </if>
                        <phrase 1="$mcpmember" 2="$mcpdate" 3="$mcptime" 4="$post[checkedbyu]">$vbphrase[marked_by_on_at]</phrase>
                </span>
        <else />
                <span class="smallfont highlight" style="font-weight:bold">$vbphrase[mcs_post_not_checked]</span>
        </if>
</if>

FIRST OF ALL what is the difference between postbit legacy and postbit legacy 307 ive never even heard of postbit legacy 307 and the TWO INSTANCE templates some i cant even find and the ones i can find there is only one instance of

PGAmerica 07-22-2008 09:45 PM

I was able to find all the templates. I had no problems installing this. I am just getting a DB error.

Is there any support for this hack at all?

Spinball 07-22-2008 10:09 PM

I refer you to my post above.

PGAmerica 07-27-2008 05:08 PM

So, I guess I was right. I am sick and tired of people putting hacks up and then offering zero support.

eXoOutsider 08-22-2008 04:12 PM

Works perfectly fine for me. What I'm wondering though, is there a way to have it default that Moderation mode is on

wuelfi71 08-23-2008 05:46 PM

Quote:

Originally Posted by eXoOutsider (Post 1604533)
What I'm wondering though, is there a way to have it default that Moderation mode is on

Quote:

Originally Posted by Kirk Y (Post 1485635)
I am planning on implementing all three of those ideas when I have some free time.

(a) Search for Unchecked Posts
(b) Save Active Status for Moderation Mode
(c) Default Moderation Mode Status for Moderators

Unfortunately Kirk seems to be very busy. So let us hope together, that he finds the time to work further on this great add-on^^

PGAmerica 09-05-2008 02:14 PM

Still no support? I am removing this mod as a huge pile of crap!

my evil twin 11-25-2008 01:29 PM

is this addon still supported?

i have an issue with it, not really a bug, but a little annoying.

whenever an user edits an already marked post, it is reverted to unmarked. so far, so good. but this action shows up in the moderator log, which means it suddenly has a few hundret entries of users which aren't really moderators, they just edited some already marked posting.

this really makes our logs very crowded and almost unusable.

any fix on this?

thanks in advance.

wuelfi71 11-25-2008 05:12 PM

I've got another bug: If a thread has more than 1000 replies, forumdisplay shows "-1001" unchecked posts in this thread :erm:

kalleklorin 12-03-2008 10:22 PM

very nice

alik4277 12-07-2008 10:42 AM

Thanks
works on on 3.8 too?

Spinball 12-21-2008 04:28 PM

Well it broke with 3.7.4 PL1 and Kirk is not responding to PMs so I'm working on asking the vB team to integrate this into the main product.

Alfa1 12-21-2008 05:42 PM

That would be great. thanks.

TomJames 12-22-2008 04:51 PM

Awesome add-on, if this is made for 3.8 once it goes gold I'll be installing it :)

Kirk Y 12-24-2008 06:34 PM

v1.1.5 released (1.1.2 through 1.1.4 were never publicly released -- sorry; I forgot!)

A new option has been added to set specific Usergroups automatically into Moderation mode as they log in (See vBulletin Options).

Checks/Unchecks are no longer written to the Moderator log, so as to avoid bloating it up with entries.

Upgrading: Import the new XML file (remember to allow overwrites) and rebuild your Thread/Post counters via Maintenance page.

my evil twin 12-25-2008 09:07 AM

great christmas gift - THANKS A LOT! :up:

wuelfi71 12-25-2008 06:04 PM

Wow, it's wonderful, that there is further development for this add-on.

But unfortunately the following bugs are still there:
Quote:

Originally Posted by wuelfi71 (Post 1672847)
I've got another bug: If a thread has more than 1000 replies, forumdisplay shows "-1001" unchecked posts in this thread :erm:

Quote:

Originally Posted by wuelfi71 (Post 1574169)
how could the length of the announcement column be modified? it's too short in moderation mode:

http://fantasy-forum.org/uploads/announcement.jpg

Or am I the only one with these problems?

PyroMarkus 12-28-2008 01:23 PM

So,
I added this to a vb 3.7.1 and it seems to work fine - many thanks for this.
I do have to make small comments:

At least when you do a fresh install and do not update from a previous version the template changes are not 100% correct:

for THREADBIT it must be for the second change:
Code:

Find:
 <if condition="$show['inlinemod']">

Add ABOVE:
<if condition="$show['cancheck'] AND $inmodmode AND $show['cancheckforum']"><td class="alt1" align="center"><if condition="$thread['checkcount'] > 0"><a href="forumdisplay.php?$session[sessionurl]view=mcspost&amp;tid=$thread[threadid]">$thread[checkcount]</a><else />$thread[checkcount]</if></td></if>

Otherwise you get the wrong column!


@wuelfi71
You can make it a little nicer, if you edit POSTBIT_ANNOUNCEMENT and add a column too:

Code:

Find:
</tr>

Add above:
<if condition="$show['cancheck'] AND $inmodmode AND $show['cancheckforum']"><td class="alt2" align="center">&nbsp;</td></if>

I wanted to increase colspan by 1 column but could not do so because the value is calculated there.

Most important, Kirk:
Could you please add the same functionality from forumdisplay into the "search for new threads"? In a very quick and heavily used vB with lots and lots of new messages per hour no moderator is able to browse though the single forums. We are searching for new messages/threads only and won't be informed this way. Can this be done by a simple template change? *please* ;)

THANK YOU A LOT for this mod!

Kirk Y 12-28-2008 05:57 PM

@wuelfi71: I'll take a look at those and patch them in the next version.

Cont'd-- Wuelfi, I've setup some test threads on my development board and am unable to replicate this bug (negative counters on 1000k+ post threads). Could you describe the bug further? When was the last time you updated your post/thread checkcount counters?

@PyroMarkus: Thanks! I'll update the README with that correction. Regarding the functionality you requested-- you would like to be able to "search" for unchecked posts/threads; is that correct?


All times are GMT. The time now is 04:39 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.01501 seconds
  • Memory Usage 1,852KB
  • 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
  • (9)bbcode_code_printable
  • (9)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (3)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (40)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