PDA

View Full Version : Moderators Functions - Moderator Checkpoint System


Kirk Y
20 Mar 2008, 16:50
Moderator Checkpoint System

For boards with a large moderating staff, it can be difficult to know who has checked what post and which threads are completely checked. The goal of the Moderator Checkpoint System is to ensure that moderators don't read over the same post(s) twice, leaving them to spend this time checking other posts/threads.

The core functionality of the Moderator Checkpoint System (MCS) is the ability (for those with appropriate permission) to mark threads/posts as having been "Checked" - indicating that no further action is required and the thread(s)/post(s) has/have been given the OK by a Staff Member. When a post is marked as checked, the checking user's User ID, Username, and a timestamp is stored in the database. This information then appears on the checked post(s), and the post will change markup (depending on your customizations through the included options) indicating the post has been checked. This process is, of course, completely invisible to the community at-large, and only those Users with adequate permission will be allowed to Check/Uncheck and view Checked posts/threads.

Because some Moderators may like to browse forums normally, a feature has been integrated that will allow each user to Enable/Disable viewing the forum in "Moderation Mode" at their leisure. Disabling Moderation Mode will return the display of posts/threads to their normal state.

Features

Forumdisplay
Threads can be (Admin Optional) colored according to whether they are completely checked -OR- contain unchecked posts.
A new column next to "Views" will display the number of Unchecked Posts in each thread.
Clicking the "Unchecked" column's header will allow the user to sort threads by the least/most number of unchecked posts, allowing them to see which threads need the most attention.
Threads can be (Admin Optional) marked as "Checked", thereby checking ALL the posts in a thread. This is useful for large, old threads which you know contain no problem posts.
Showthread
Posts can be (Admin Optional) colored according to whether they have been checked -OR- remain to be checked.
Checked posts will display the Date/Time they were Checked and the Moderator Username/User ID who checked it. (Unchecked posts will have text indicating as much)
Posts can be marked as Checked/Unchecked via Inline Moderation.
"Active Checking" is utilized.
Active Checking is a feature which each User can Enable/Disable at their leisure. When Active Checking is Enabled, each time the User visits a thread, the posts displayed on that page will be marked as "Checked". The idea is that when in Active Checking mode, the User is actively reviewing the posts that they are reading, thus each can be marked as Checked.
Newly Checked Posts can be (Admin Optional) colored to indicate their recent activity. This coloring is visible only to the Checking User and is intended to serve as a guide for them to see which posts they, in their current session, have checked.
Update Counters
If you ever feel your counters (Unchecked Count per Thread) are off, there is an Update Counters feature included in the modification. To access this feature, go to your AdminCP -> Maintenance (Very bottom) -> Update Counters -> Update Checkcount Counters (Very bottom).
Installation
Import the Product XML file.
(a) IMPORTANT: THIS PRODUCT ADDS COLUMNS TO YOUR DATABASE'S POST TABLE. IF YOU HAVE A LARGE NUMBER OF POSTS, THE IMPORT PROCESS WILL TAKE SOME TIME (AND MAY APPEAR TO HANG); IT IS *IMPORTANT* THAT YOU DO NOT EXIT YOUR BROWSER DURING THE INSTALLATION PROCESS
Follow the instructions included in the ZIP archive to edit your templates.
Configuration Options are accessible through AdminCP -> vBulletin Options -> Moderator Checkpoint Configuration. Permissions are accessible through the Moderator Permissions panel (AdminCP -> Forums & Moderators -> Show All Moderators -> Edit Permissions.Upgrade
Upgrading from 1.0.9 to 1.1.1: http://www.vbulletin.org/forum/showpost.php?p=1561299&postcount=44
Upgrading from 1.1.1 to 1.1.5: http://www.vbulletin.org/forum/showpost.php?p=1693075&postcount=76
Upgrading from 1.1.5 to 1.1.6: http://www.vbulletin.org/forum/showpost.php?p=1697326&postcount=88
If you like this modification, feel free to Nominate it for Modification of the Month. Please click Install if you're actively using it, so you can receive updates about new releases.

This modification was written by request for Spinball (http://www.vbulletin.org/forum/member.php?u=7533), whose MCS Concept was utilized throughout development.
------------------------------------------------------------

Version History:
1.1.7 - Fixes Checkcount Display Bug in Forumdisplay
1.1.6 - Fixes Announcement Bug in Forumdisplay
1.1.5 - Prevents Checks/Unchecks from being written to the Moderator Log
1.1.4 - Added option for Default Moderation Mode
1.1.3 - Bug fixes
1.1.2 - Bug fixes
1.1.1 - Bug fix for soft-deleted post redirection issue
1.1.0 - Core code consolidated - numerous bug fixes
1.0.9 - Minor SQL Query fix
1.0.8 - Bug fix to correct issue with Forumdisplay sorting of Unchecked Threads
1.0.7 - Bug fix to correct counters not carrying over when merging threads
1.0.6 - Initial Release to Community

lasto
20 Mar 2008, 17:11
is this boardwise or can it be set to only allowing checking in certain forums.
Good hack by the way m8

mystic10
20 Mar 2008, 17:20
Will Be Installing It Tonight Exactly What I Was Looking For..thanks So Much...i Was Wondering As Mr. Lasto Asked Can It Be Set For Certain Forum And Not So Much For Others...regardless Awesome...thanks So Much Its A Prayer Well Answered

codershark
20 Mar 2008, 17:48
also works on 3.7 ?

iogames
20 Mar 2008, 17:56
Wow! incredible job! [as always]

But I was planning to assign my Mods which forums to moderate and which don't :P

anyways voted & promoted :up:

I'm more worried about the 'Mod Performance', your hack got this function? HOW MY MODERATORS ARE WORKING?

Cybertims
20 Mar 2008, 18:12
All works great for me so far except:

I get this column but no numbers show up in yet...

A new column next to "Views" will display the number of Unchecked Posts in each thread.

Sorry, forgot to add I am using it on 3.7, is that maybe why?

Kirk Y
20 Mar 2008, 19:28
is this boardwise or can it be set to only allowing checking in certain forums.
Good hack by the way m8

It was designed to work globally across all a board's forums.

also works on 3.7 ?

I have not tested this version for 3.7.x compatibility, but I will be releasing a 3.7-specific version (should this one be incompatible) sometime soon.

Wow! incredible job! [as always]

But I was planning to assign my Mods which forums to moderate and which don't :P

anyways voted & promoted :up:

I'm more worried about the 'Mod Performance', your hack got this function?

Mod Performance? Are you speaking of database usage, extra queries, etc. or something else?

All works great for me so far except:

I get this column but no numbers show up in yet...

A new column next to "Views" will display the number of Unchecked Posts in each thread.

Sorry, forgot to add I am using it on 3.7, is that maybe why?

Like I said above, I haven't tested this version for compatibility with the 3.7.x series, however, if this version is incompatible, I will be releasing a 3.7-specific version.

Magnumutz
20 Mar 2008, 20:09
Whoa... this sure is an awesome idea. Good job !!
Hope that it is compatible with 3.7.

fluentdesigns
20 Mar 2008, 21:36
Awesome will look for the 3.7 version!

Spinball
20 Mar 2008, 22:45
I want to thank Kirk for scripting this mod for our board.
We used to have an unapproved checkpoint thread in each forum which indicated which threads had been checked. The moderators read those threads newer than the checkpoint thread and then replied to to it to bump it to the top.
But this was crude and didn't prevent moderators from reading the same posts in a thread.
So a while back I kicked around the checkpoint system idea here (http://www.vbulletin.org/forum/showthread.php?t=167671) which helped me focus some ideas.
With help from the moderators on our forum (I have about 60 of them), we nailed the functionality down and Kirk agreed to put it into action.
I feel it's important that the community benefits from ideas like this so I asked Kirk to release it here.
My moderators love this functionality as it saves loads of their precious time and helps them efficiently work their way through posts and threads checking the content for rule breaking, infractions and libellous material.
(Incidentally here in the UK at least, the OWNER of a forum can get sued for libellous contents of their board irrespective of whom wrote it).
I think we're going to become very reliant on this modification very quickly.

I found a couple of SQL statements very useful.
Firstly to assign post check and uncheck permissions to all the moderators in all the forums they moderate (after you have installed the plugin, of course!):
UPDATE moderator SET cancheck=1,canuncheck=1(remember to put any table prefixes in).
And because we wanted to start with a clean slate and mark all the old threads as having been checked, I ran this:
UPDATE post SET `ischecked`=1, `checkedby`=nnnnn, `checkedbyu`= 'Username', `checkedtime`=xxxxxxxxxx WHERE `ischecked`=0 AND `dateline`<xxxxxxxxxx
Where nnnnn is the id of your chosen moderator, 'Username' is the name of your chosen moderator and xxxxxxxxxx is the unix time before which you want to mark your posts as having been checked.
On our board, we have a system user which I used, and I marked all the posts prior to 01/01/2008 to having been checked on 01/01/2008:
update post set `ischecked`=1, `checkedby`=160503, `checkedbyu`= 'AVForums system', `checkedtime`=1199145600 WHERE `ischecked`=0 AND `dateline`<1199145600(remember to put any table prefixes in).
This processed 4.7 million posts in a few minutes - which is a lot faster than manually checking all the threads! And afterwards don't forget to run the checked post counter (in admincp->update counters) to correctly set the checked post count in your threads.

Spinball
20 Mar 2008, 22:52
is this boardwise or can it be set to only allowing checking in certain forums.
Good hack by the way m8

This is board wide, but you can (and I recommend you should) set the permissions so that moderators can only use this functionality in the forums they moderate. Supermods and Admin can use it forum-wide.

mariocaz
20 Mar 2008, 23:41
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.

Hope you can do that soon, will be really great!!

Hornstar
21 Mar 2008, 00:01
wow, this looks impressive! a fantastic mod. I will install this when vb 3.7 goes gold. thanks.

Kirk Y
22 Mar 2008, 00:45
To upgrade from 1.0.x - 1.0.8, perform the following template edit (as well as import the new product) --

THREADBIT_DELETED
Find:
<td class="alt2" colspan="3" align="center">Replace with:
<td class="alt2" <if condition="$show['mcs_colspan']">colspan="4"<else />colspan="3"</if> align="center">

mariocaz
22 Mar 2008, 04:57
Hi Kirk,

I want to know if with the update now the template edits are automatic ?

Thank you!

Kirk Y
22 Mar 2008, 10:35
Hi Kirk,

I want to know if with the update now the template edits are automatic ?

Thank you!
No, mariocaz the template edits are not (nor do I currently plan for them to be) automatic. It would be virtually impossible to do so and have it work uniformly across all boards.

citroenar
24 Mar 2008, 10:12
I get this:

Database error in vBulletin 3.6.8:

Invalid SQL:

SELECT cancheck, canuncheck, cancheck_whole, canuncheck_whole, canuncheck_others
FROM forummoderator
WHERE moderator.userid =1;

MySQL Error : Unknown table 'moderator' in where clause Error Number : 1109

lutics
24 Mar 2008, 14:42
Yes I also Get the database error.

Ok fixed it. Open your .xml file end edit this

'WHERE moderator.userid =' . $vbulletin->GPC['userid'],

to

'WHERE userid =' . $vbulletin->GPC['userid'],

works good now :) great work.

citroenar
24 Mar 2008, 15:24
and now:

Parse error: syntax error, unexpected T_STRING in /home/public_html/forum/admincp/moderator.php(204) : eval()'d code on line 2


did I make something wrong with template edit?

Kirk Y
24 Mar 2008, 18:00
It seems I forgot to add an alias to the table name. I will do this when I get home; I would prefer that you wait for my version and not attempt to modify the XML yourself.

Discussions
24 Mar 2008, 18:02
Will this work for vBulletin 3.7?

choccyclaire
24 Mar 2008, 21:17
^ Ditto to that! Anyone tested or shall I be the hero? lol.

Kirk Y
24 Mar 2008, 22:31
v1.0.9 is released: fixes the aforementioned SQL error.

Select "upgrade" when importing the new Product XML, to upgrade.

Neo_obs
31 Mar 2008, 21:54
Works great.... But Just wondering... Can we have it put the date it was checked in the threadbit so you can see when the last time it was checked without opening the thread?

my evil twin
02 Apr 2008, 20:25
Hello,

thanks for the good mod, we're happily using it :)

One question tho:

Is it possible to display the unchecked posts in a searchquery, too? For example getnew or getdaily?

I suppose it's somewhere to find here:
<hookname>threadbit_display</hookname>
<phpcode><![CDATA[$mcsreplycount = intval(str_replace(',', '', $thread['replycount']));

$mcshiddencount = intval(str_replace(',', '', $thread['hiddencount']));

$mcsdeletedcount = intval(str_replace(',', '', $thread['deletedcount']));

$checkedcount = $thread['checkcount'];

$thread['checkcount'] = $thread['open'] != 10 ? (($mcsreplycount + $mcshiddencount + $mcsdeletedcount) + 1) - $thread['checkcount'] : "-";

$mcpcolor['forumdisplay'] = iif(

(($vbulletin->options['mc_choice_forumdisplay'] == 0 AND $thread['checkcount'] == 0) OR

($vbulletin->options['mc_choice_forumdisplay'] == 1 AND $thread['checkcount'] > 0)) AND

$inmodmode AND cancheck() AND can_moderate($foruminfo['forumid']), true, false

);

$show['mcs_colspan'] = iif($inmodmode AND cancheck() AND can_moderate($foruminfo['forumid']), true, false);]]></phpcode>
</plugin>



would be great if it could be possible.

thanks in advance for any hit or tip,

greetings :)

my evil twin
03 Apr 2008, 14:36
Another question....

is it possible to save the activation-state of the script in a cookie?

so you don't have to switch on moderation-mode after every log-on?

thanks in advance

ForenFan
07 Apr 2008, 22:50
I have to say: this is one great hack ! I just testet it and it works perfect, at least with the default style. Now i'm going to edit my other styles. Thank You very much for this hack.

Suggestions:
"my evil twin" already asked for the option to search unchecked posts, I think that would be a really great addition. The "save activation" option he suggested would be good to, because I know my Mods, they will forget to switch it on and think the threads are already checken *g*.
Another option I'd like to have as admin is to force moderation mode on moderators, or at least set it as default when they log-in. I hope you will implement our suggestions :).

Thanks again fpr this great hack.

Kirk Y
08 Apr 2008, 03:20
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

my evil twin
08 Apr 2008, 16:21
Suggestions:
"my evil twin" already asked for the option to search unchecked posts, I think that would be a really great addition. The "save activation" option he suggested would be good to, because I know my Mods, they will forget to switch it on and think the threads are already checken *g*.
Another option I'd like to have as admin is to force moderation mode on moderators, or at least set it as default when they log-in. I hope you will implement our suggestions :).


i'm not a HE :cool:

i'm also looking forward your improvements, kirk, as this is a very very useful hack.

our mods tend to moderate with the "new posts" view (getdaily search), so it would be very useful for us to have this feature, or, at least, to know how to to make it work with other views than "showthreads".

thanks in advance and have a nice day :)

ForenFan
08 Apr 2008, 16:36
i'm not a HE :cool:

Ooops, sry :).

our mods tend to moderate with the "new posts" view (getdaily search), so it would be very useful for us to have this feature, or, at least, to know how to to make it work with other views than "showthreads".

I'd prefer a new button/link below "Moderation Mode", like "Show unchecked".


I installed it now with my other styles, it works fine with style 1, but with style 2 there is a litte problem: The "Forumdisplay Markup Color" doesn't show in Style2. It's still the same color as in the original style. In Style1 everythings's fine.

Can u give me hint, where to check and resolve the problem? :)

my evil twin
08 Apr 2008, 16:47
i'm not kirk, but it is in "threadbit" or "postbit", i think....


threadbit:
FIND: <td class="alt1" id="td_threadtitle_$thread[realthreadid]" title="$thread[preview]">

REPLACE WITH: <td class="alt1" <if condition="$mcpcolor['forumdisplay']">style="background-color:$vboptions[mc_bgcolor_fd];" </if>id="td_threadtitle_$thread[realthreadid]" title="$thread[preview]">


or

postbit:
FIND: <td class="alt1" id="td_post_$post[postid]">

REPLACE WITH: <td class="alt1" id="td_post_$post[postid]"<if condition="($mcpcolor['showthread'] OR $show['mcsrecent']) AND $inmodmode"> style="background-color:$mcscolor;"</if>>


sometimes custom themes do have custom id's in it, so replace doesn't work. just go and do a search for "alt1", it's pretty easy to find and self-explanatory i think :)

ForenFan
08 Apr 2008, 17:06
Thank You, but that doesn't help me. To be honest, I don't know what to do.
Maybe you or someone else could take a look at my code.

Threadbit:
<tr>
<td class="alt1" id="td_threadstatusicon_$thread[realthreadid]">
$thread[openclose_editable]
<img src="$stylevar[imgdir_statusicon]/thread$thread[statusicon].gif" id="thread_statusicon_$thread[realthreadid]" alt="<if condition="$show['threadcount']"><phrase 1="$thread[dot_count]" 2="$thread[dot_lastpost]">$vbphrase[have_x_posts_in_thread_last_y]</phrase></if>" border="" />
</td>
<if condition="$show['threadicons']">
<td class="alt2"><if condition="$show['threadicon']"><img src="$thread[threadiconpath]" alt="$thread[threadicontitle]" border="0" /><else />&nbsp;</if></td>
</if>

<if condition="$show['sticky']">
<td class="stuck" id="td_threadtitle_$thread[realthreadid]" title="$thread[preview]">
<else />
<if condition="$show['threadprefix'] == 2">
<td class="alt1" align="$prefixalign" nowrap="nowrap"><if condition="$thread['threadprefix']"><a href="$sorturl&amp;threadprefix=$thread[threadprefix]">$prefixmarkup[0]$thread[threadprefix]$prefixmarkup[1]</a></if></td>
</if>
<td class="alt1" <if condition="$mcpcolor['forumdisplay']">style="background-color:$vboptions[mc_bgcolor_fd];" </if>id="td_threadtitle_$thread[realthreadid]" title="$thread[preview]">
</if>
$thread[title_editable]
<div>
<if condition="$show['moderated'] OR $show['deletedthread'] OR $show['paperclip'] OR $show['subscribed'] OR $show['sticky'] OR $show['rexpires']">
<span style="float:$stylevar[right]">
<if condition="$show['rexpires']"> <img class="inlineimg" src="$stylevar[imgdir_misc]/expires.gif" alt="<phrase 1="$thread[expiredate]" 2="$thread[expiretime]">$vbphrase[expires_on_x_y]</phrase>" /> </if>
<if condition="$show['moderated']"> <img class="inlineimg" src="$stylevar[imgdir_misc]/moderated_small.gif" alt="<phrase 1="$thread[hiddencount]">$vbphrase[x_moderated_posts]</phrase>" /> </if>
<if condition="$show['deletedthread']"> <img class="inlineimg" src="$stylevar[imgdir_misc]/trashcan_small.gif" alt="<phrase 1="$thread[deletedcount]">$vbphrase[x_deleted_posts]</phrase>" /> </if>
<if condition="$show['paperclip']"> <a href="#" onclick="attachments($thread[threadid]); return false"> <img class="inlineimg" src="$stylevar[imgdir_misc]/paperclip.gif" border="0" alt="<phrase 1="$thread[attach]">$vbphrase[x_attachments]</phrase>" /></a> </if>
<if condition="$show['subscribed']"> <img class="inlineimg" src="$stylevar[imgdir_misc]/subscribed.gif" alt="$vbphrase[you_are_subscribed_to_this_thread]" /> </if>
<if condition="$show['sticky']"> <img class="inlineimg" src="$stylevar[imgdir_misc]/sticky.gif" alt="$vbphrase[sticky_thread]" /> </if>
</span>
</if>
<if condition="$show['gotonewpost']"><a href="showthread.php?$session[sessionurl]goto=newpost&amp;t=$thread[threadid]" id="thread_gotonew_$thread[realthreadid]"><img class="inlineimg" src="$stylevar[imgdir_button]/firstnew.gif" alt="$vbphrase[go_to_first_new_post]" border="0" /></a></if>
$thread[movedprefix]
$thread[typeprefix]
<if condition="$show['threadprefix'] == 1">
<if condition="$thread['threadprefix']"><a href="$sorturl&amp;threadprefix=$thread[threadprefix]">$prefixmarkup[0]$thread[threadprefix]$prefixmarkup[1]</a></if>
</if>
$thread[moderatedprefix]
<a href="showthread.php?$session[sessionurl]t=$thread[threadid]$thread[highlight]" id="thread_title_$thread[realthreadid]"<if condition="$show['gotonewpost']"> style="font-weight:bold"</if>>$thread[threadtitle]</a>
<if condition="$thread['pagenav']">$stylevar[dirmark]<span class="smallfont" style="white-space:nowrap">(<img class="inlineimg" src="$stylevar[imgdir_misc]/multipage.gif" alt="$vbphrase[multipage_thread]" border="0" /> $thread[pagenav]<if condition="$show[pagenavmore]"> ... <a href="showthread.php?$session[sessionurl]t=$thread[threadid]&amp;page=$thread[totalpages]$thread[highlight]">$vbphrase[last_page]</a></if>)</span></if>
</div>

<if condition="$show['rmanage']"><div class="smallfont"><span style="float:$stylevar[right]"><a href="postings.php?$session[sessionurl]do=editthread&amp;t=$thread[redirectthreadid]">$vbphrase[manage]</a></span></div></if>

<div class="smallfont">
<if condition="$show['threadratings'] AND $show['threadrating']"><span style="float:$stylevar[right]"><img class="inlineimg" src="$stylevar[imgdir_rating]/rating_$thread[rating].gif" border="0" alt="<phrase 1="$thread[votenum]" 2="$thread[voteavg]">$vbphrase[thread_rating_x_votes_y_average]</phrase>" /></span></if>
<if condition="$show['guestuser']">
$thread[postusername]
<else />
<span style="cursor:pointer" onclick="window.open('member.php?$session[sessionurl]u=$thread[postuserid]', '_self')">$thread[postusername]</span>
</if>
</div>

<if condition="$show['unsubscribe']">
<div class="smallfont">
<a href="newreply.php?$session[sessionurl]do=newreply&amp;t=$thread[threadid]" rel="nofollow">$vbphrase[reply]</a> |
<a href="subscription.php?$session[sessionurl]do=removesubscription&amp;return=ucp&amp;t=$thread[threadid]" rel="nofollow">$vbphrase[unsubscribe]</a>
</div>
</if>

</td>

<if condition="$show['threadmoved']">
<td class="alt2" align="center">-</td>
<else />
<td class="alt2" title="<phrase 1="$thread[replycount]" 2="$thread[views]">$vbphrase[replies_x_views_y]</phrase>">
<div class="smallfont" style="text-align:$stylevar[right]; white-space:nowrap">
$thread[lastpostdate] <if condition="!$show['detailedtime']"><span class="time">$thread[lastposttime]</span></if><br />
<phrase 1="member.php?find=lastposter&amp;t=$thread[threadid]" 2="$thread[lastposter]">$vbphrase[by_x]</phrase> <a href="showthread.php?$session[sessionurl]p=$thread[lastpostid]$thread[highlight]#post$thread[lastpostid]"><img class="inlineimg" src="$stylevar[imgdir_button]/lastpost.gif" alt="$vbphrase[go_to_last_post]" border="0" /></a>
</div>
</td>
</if>

<if condition="$show['notificationtype']">
<td class="alt1"><div class="smallfont">
<label for="sub$subscribethread[$threadid]">$thread[notification]</label>
</div></td>
<td class="alt2"><input type="checkbox" name="deletebox[$subscribethread[$threadid]]" id="sub$subscribethread[$threadid]" value="yes" /></td>
<else />
<td class="alt1" align="center"><if condition="$show['threadmoved']">-<else /><a href="misc.php?do=whoposted&amp;t=$thread[threadid]" onclick="who($thread[threadid]); return false;">$thread[replycount]</a></if></td>
<td class="alt2" align="center">$thread[views]</td>
<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>

<if condition="$show['forumlink']">
<td class="alt1"><a href="forumdisplay.php?$session[sessionurl]f=$thread[forumid]">$thread[forumtitle]</a></td>
</if>
</if>

<if condition="$show['inlinemod']">
<td class="alt1">
<input type="checkbox" name="tlist[$thread[realthreadid]]" id="tlist_$thread[realthreadid]" value="$thread[checkbox_value]" <if condition="$show['disabled']">disabled="disabled"</if> />
</td>
</if>
</tr>

ForenFan
08 Apr 2008, 17:07
postbit: (hab to do a second post, because the first was too long ;) )

<br />
<!-- top category table setup -->
<table width="100%" class="tcat" border="0" cellpadding="0" cellspacing="0">
<tr>
<td width="54" height="28" align="left" valign="top"><img src="$stylevar[imgdir_misc]/cat_top_ls.gif" width="54" height="28" alt=" " border="0" /></td>
<td width="100%" valign="middle"><div class="smallfont" align="center">$post[icon] <strong>$post[title]</strong></div></td>
<td width="27" height="28" align="right" valign="top"><img src="$stylevar[imgdir_misc]/cat_top_rs.gif" width="27" height="28" alt=" " border="0" /></td>
</tr>
</table>
<!-- End top category table setup -->

$template_hook[postbit_start]
<table class="tborder" id="post$post[postid]" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%" align="center">
<tr>
<td class="thead" $post[scrolltothis]>
<div class="normal" style="float:$stylevar[right]">
&nbsp;
<if condition="$show['postcount']">#<a href="showpost.php?$session[sessionurl]p=$post[postid]&amp;postcount=$post[postcount]" target="new" rel="nofollow" id="postcount$post[postid]" name="$post[postcount]"><strong>$post[postcount]</strong></a> &nbsp;</if>
<if condition="$show['reputationlink']">
<span id="reputationmenu_$post[postid]"><a href="reputation.php?$session[sessionurl]p=$post[postid]" rel="nofollow" id="reputation_$post[postid]"><img class="inlineimg" src="$stylevar[imgdir_button]/reputation.gif" alt="<phrase 1="$post[username]">$vbphrase[add_to_xs_reputation]</phrase>" border="0" /></a></span>
<if condition="$show['popups']"><script type="text/javascript"> vbrep_register("$post[postid]")</script></if>&nbsp;
</if>
<if condition="$show['infractionlink']"><a href="infraction.php?$session[sessionurl]do=report&amp;p=$post[postid]" rel="nofollow"><img class="inlineimg" src="$stylevar[imgdir_button]/infraction.gif" alt="<phrase 1="$post[username]">$vbphrase[add_infraction_for_x]</phrase>" border="0" /></a> &nbsp;</if>
<if condition="$show['reportlink']"><a href="report.php?$session[sessionurl]p=$post[postid]" rel="nofollow"><img class="inlineimg" src="$stylevar[imgdir_button]/report.gif" alt="$vbphrase[report_bad_post]" border="0" /></a> &nbsp;</if>
$post[iplogged]
<if condition="$show['inlinemod']">
<input type="checkbox" name="plist[$postid]" id="plist_$postid" style="vertical-align:middle; padding:0px; margin:0px 0px 0px 5px" value="$post[checkbox_value]" />
</if>
</div>

<div class="normal">
<!-- status icon and date -->
<a name="post$post[postid]"><img class="inlineimg" src="$stylevar[imgdir_statusicon]/post_$post[statusicon].gif" alt="$post[statustitle]" border="0" /></a>
<if condition="!$show['announcement']">
$post[postdate]<if condition="!$show['detailedtime']">, $post[posttime]</if>
<else />
<phrase 1="$post[startdate]" 2="$post[enddate]">$vbphrase[x_until_y]</phrase>
</if>
$post[firstnewinsert]
<!-- / status icon and date -->
</div>
</td>
</tr>
<tr>
<td class="alt2" style="padding:0px">
<!-- user info -->
<table cellpadding="0" cellspacing="$stylevar[cellpadding]" border="0" width="100%">
<tr>
<if condition="$show['avatar']"><td class="alt2"><a href="member.php?$session[sessionurl]u=$post[userid]"><img src="$post[avatarurl]" $post[avwidth] $post[avheight] alt="<phrase 1="$post[username]">$vbphrase[xs_avatar]</phrase>" border="0" /></a></td></if>
<td nowrap="nowrap">

<div id="postmenu_$post[postid]">
<if condition="$show['profile']">
<a class="bigusername" href="member.php?$session[sessionurl]u=$post[userid]">$post[musername]</a>
$post[onlinestatus]
<script type="text/javascript"> vbmenu_register("postmenu_$post[postid]", true); </script>
<else />
$post[musername]
</if>
</div>

<if condition="$post['usertitle']"><div class="smallfont">$post[usertitle]</div></if>
<if condition="$post['rank']"><div class="smallfont">$post[rank]</div></if>
$template_hook[postbit_userinfo_left]

</td>
<td width="100%">&nbsp;</td>
<td valign="top" nowrap="nowrap">

<div class="smallfont">
<if condition="$post['joindate']"><div>$vbphrase[join_date]: $post[joindate]</div></if>
<if condition="$post['field2']"><div>$vbphrase[location_perm]: $post[field2]</div></if>
<if condition="$post['age']"><div>$vbphrase[age]: $post[age]</div></if>
<div>
$vbphrase[posts]: $post[posts]
<if condition="$show['edithistorylink']"><br /><a href="edithistory.php?$session[sessionurl]&amp;p=$post[postid]"><phrase 1=$post[editcount]>$vbphrase[saved_edits]</phrase><a></if>
</div>
<if condition="$show['hidetag_thankyou_system']">
<div id="thanks_postbit.$post[postid]">$thanks_postbit</div>
</if>
$template_hook[postbit_userinfo_right_after_posts]
<if condition="$show['infraction']"><div>$vbphrase[infractions]: $post[warnings]/$post[infractions] ($post[ipoints])</div></if>
<if condition="$show['reputation']"><if condition="$show['reppower']">$vbphrase[reppower]: <span id="reppower_$post[postid]_$post[userid]">$post[reppower]</span> </if><div><span id="repdisplay_$post[postid]_$post[userid]">$post[reputationdisplay]</span></div></if>
$template_hook[postbit_userinfo_right]
<div>$post[icqicon] $post[aimicon] $post[msnicon] $post[yahooicon] $post[skypeicon]</div>
</div>

</td>
</tr>
</table>
<!-- / user info -->
</td>
</tr>
<tr>
<td class="alt1" id="td_post_$post[postid]"<if condition="($mcpcolor['showthread'] OR $show['mcsrecent']) AND $inmodmode"> style="background-color:$mcscolor;"</if>>
<!-- message, attachments, sig -->

$template_hook[postbit_messagearea_start]

<if condition="$show['messageicon'] OR $post['title']">
<!-- icon and title -->
<div class="smallfont">
<if condition="$show['messageicon']"><img class="inlineimg" src="$post[iconpath]" alt="$post[icontitle]" border="0" /></if>
<if condition="$post['title']"><strong>$post[title]</strong></if>
</div>
<hr size="1" style="color:$stylevar[tborder_bgcolor]" />
<!-- / icon and title -->
</if>

<!-- message -->
<div id="post_message_$post[postid]">$post[message]</div>
<!-- / message -->

<if condition="$show['attachments']">
<!-- attachments -->
<div style="padding:$stylevar[cellpadding]px">

<if condition="$show['thumbnailattachment']">
<fieldset class="fieldset">
<legend>$vbphrase[attached_thumbnails]</legend>
<div style="padding:$stylevar[formspacer]px">
$post[thumbnailattachments]
</div>
</fieldset>
</if>

<if condition="$show['imageattachment']">
<fieldset class="fieldset">
<legend>$vbphrase[attached_images]</legend>
<div style="padding:$stylevar[formspacer]px">
$post[imageattachments]
</div>
</fieldset>
</if>

<if condition="$show['imageattachmentlink']">
<fieldset class="fieldset">
<legend>$vbphrase[attached_images]</legend>
<table cellpadding="0" cellspacing="$stylevar[formspacer]" border="0">
$post[imageattachmentlinks]
</table>
</fieldset>
</if>

<if condition="$show['otherattachment']">
<fieldset class="fieldset">
<legend>$vbphrase[attached_files]</legend>
<table cellpadding="0" cellspacing="$stylevar[formspacer]" border="0">
$post[otherattachments]
</table>
</fieldset>
</if>

<if condition="$show['moderatedattachment']">
<fieldset class="fieldset">
<legend>$vbphrase[attachments_pending_approval]</legend>
<table cellpadding="0" cellspacing="$stylevar[formspacer]" border="0">
$post[moderatedattachments]
</table>
</fieldset>
</if>

</div>
<!-- / attachments -->
</if>

$template_hook[postbit_signature_start]

<if condition="$post['signature']">
<!-- sig -->
<div>
__________________<br />
$post[signature]
</div>
<!-- / sig -->
</if>

$template_hook[postbit_signature_end]

<if condition="$show['postedited']">
<!-- edit note -->
<div class="smallfont"> <hr size="1" style="color:$stylevar[tborder_bgcolor]" />
<em>
<phrase 1="$post[edit_username]" 2="$post[edit_date]" 3="$post[edit_time]">$vbphrase[last_edited_by_x_on_y_at_z]</phrase>.
<if condition="$post['edit_reason']">$vbphrase[reason]: $post[edit_reason]</if>
</em>
</div>
<!-- / edit note -->
</if>

<div style="margin-top: 10px" align="$stylevar[right]">
<!-- controls -->
<if condition="$show['hidetag_thankyou_system']">
<div id="thanks_postbtn.$post[postid]" style="display: inline;">$thanks_postbtn</div>
</if>
<if condition="$inmodmode AND THIS_SCRIPT == 'showthread' AND $show['cancheckforum']">
<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>
<if condition="$post['editlink']">
<img style="display: none" id="progress_$postid" src="$stylevar[imgdir_misc]/progress.gif" alt="$vbphrase[loading_editor_please_wait]" />
<a href="$post[editlink]" name="vB::QuickEdit::$post[postid]"><img src="$stylevar[imgdir_button]/edit.gif" alt="$vbphrase[edit_delete_message]" border="0" /></a>
</if>
<if condition="$post['forwardlink']">
<a href="$post[forwardlink]"><img src="$stylevar[imgdir_button]/forward.gif" alt="$vbphrase[forward_message]" border="0" /></a>
</if>
<if condition="$post['replylink']">
<a href="$post[replylink]" rel="nofollow"><img src="$stylevar[imgdir_button]/<if condition="$post['forwardlink']">reply_small<else />quote</if>.gif" alt="$vbphrase[reply_with_quote]" border="0" /></a>
</if>
<if condition="$show['multiquote_post']">
<a href="$post[replylink]" rel="nofollow" onclick="return false"><img src="$stylevar[imgdir_button]/multiquote_<if condition="$show['multiquote_selected']">on<else />off</if>.gif" alt="$vbphrase[multi_quote_this_message]" border="0" id="mq_$post[postid]" /></a>
</if>
<if condition="$show['quickreply'] AND !$show['threadedmode']">
<a href="$post[replylink]" rel="nofollow" id="qr_$post[postid]" onclick="return false"><img src="$stylevar[imgdir_button]/quickreply.gif" alt="$vbphrase[quick_reply_to_this_message]" border="0" /></a>
</if>
<if condition="$show['moderated']">
<img src="$stylevar[imgdir_misc]/moderated.gif" alt="$vbphrase[moderated_post]" border="0" />
</if>
<if condition="$show['deletedpost']">
<img src="$stylevar[imgdir_misc]/trashcan.gif" alt="$vbphrase[deleted_post]" border="0" />
</if>
<if condition="$show['redcard']">
<a href="infraction.php?$session[sessionurl]do=view&amp;p=$post[postid]"><img src="$stylevar[imgdir_button]/redcard.gif" alt="$vbphrase[received_infraction]" border="0" /></a>
<else />
<if condition="$show['yellowcard']">
<a href="infraction.php?$session[sessionurl]do=view&amp;p=$post[postid]"><img src="$stylevar[imgdir_button]/yellowcard.gif" alt="$vbphrase[received_warning]" border="0" /></a>
</if>
</if>
$template_hook[postbit_controls]
<!-- / controls -->
</div>

<!-- message, attachments, sig -->

</td>
</tr>
</table>
$template_hook[postbit_end]

<!-- post $post[postid] popup menu -->
<div class="vbmenu_popup" id="postmenu_$post[postid]_menu" style="display:none;">
<table cellpadding="4" cellspacing="1" border="0">
<tr>
<td class="thead">$post[username]</td>
</tr>
<if condition="$show['profile']">
<tr><td class="vbmenu_option"><a href="member.php?$session[sessionurl]u=$post[userid]">$vbphrase[view_public_profile]</a></td></tr>
</if>
<if condition="$show['pmlink']">
<tr><td class="vbmenu_option"><a href="private.php?$session[sessionurl]do=newpm&amp;u=$post[userid]" rel="nofollow"><phrase 1="$post[username]">$vbphrase[send_private_message_to_x]</phrase></a></td></tr>
</if>
<if condition="$show['emaillink']">
<tr><td class="vbmenu_option"><a href="sendmessage.php?$session[sessionurl]do=mailmember&amp;u=$post[userid]" rel="nofollow"><phrase 1="$post[username]">$vbphrase[send_email_to_x]</phrase></a></td></tr>
</if>
<if condition="$show['homepage']">
<tr><td class="vbmenu_option"><a href="$post[homepage]"><phrase 1="$post[username]">$vbphrase[visit_xs_homepage]</phrase></a></td></tr>
</if>
<if condition="$show['search']">
<tr><td class="vbmenu_option"><a href="search.php?$session[sessionurl]do=finduser&amp;u=$post[userid]" rel="nofollow"><phrase 1="$post[username]">$vbphrase[find_all_posts_by_x]</phrase></a></td></tr>
</if>
<if condition="$post['userid'] AND $show['member']">
<tr><td class="vbmenu_option"><a href="profile.php?$session[sessionurl]do=addlist&amp;userlist=buddy&amp;u=$post[userid]"><phrase 1="$post[username]">$vbphrase[add_x_to_buddy_list]</phrase></a></td></tr>
</if>
$template_hook[postbit_user_popup]
</table>
</div>
<!-- / post $post[postid] popup menu -->
<if condition="$show['hidetag_thankyou_system']">
<div id="thanks_wrapper.$post[postid]" style="display: $thanks_wrapper_display;">$thanks_wrapper</div>
</if>

<!-- bottom table setup -->

<table width="100%" class="thead" cellpadding="0" cellspacing="0">
<tr>
<td width="100%" height="12"><img src="$stylevar[imgdir_misc]/trans.gif" height="12" alt=" " border="0" /></td>
</tr>
</table>
<!-- End bottom table setup -->

civil78
12 Apr 2008, 06:44
Excellent mod and something that was needed.

But there is something more. Sometimes users edit the post and change the content of the message. If a moderator mark as checked this post and the original post was good for the rules, when the user change the content the post doesn’t checked again and still remain as checked.

So it will be better on edits by the user, the post marked again as unchecked so the moderator knows what exactly changed after the first check.

Also something else. When a moderator, admin post a new thread is good to be in Checked mode, I don’t think that my moderators broke the rules ;), also an override for some UserGroups will be pleased.

Thanks.

By the way, the mod working fine on v3.6.4.

civil78
14 Apr 2008, 08:42
Sorry for this if is too much.

I talk with my moderators and they use this mod for a little and says me 2 more suggestions.

First, if is possible to make an Ajax button that checks or uncheck the message without reload, and not only from the Moderation list.

Also, in search feature, if is possible to works as “search.php?do=getnew”, and to show the complete unchecked posts not the threads, as the advanced search option “Show Results as Posts”. And if you can show only the posts that they can moderate not the complete forum. So this will be useful for moderators that they want to check only the messages that are on the area that they have the rights for moderating.

Thanks you again for this useful mod.

Eric E.
14 Apr 2008, 23:55
This was a waste of my time, because, appearantly, this didn't work. I did everything correctly and it still didn't work. Anyways, private message me if you would like to help me on this because I won't memorize this thread, Lol.

Eric E.

civil78
15 Apr 2008, 07:56
Did you go to Admin CP-->Forums & Moderators-->Show All Moderators and on [Edit Permissions] check the Moderator Checkpoint Permissions Options to Yes.

If you already have modarators, because the public rights is all to No you can use this link to change the global rights.

yoursite/admincp/moderator.php?do=editglobal&u=XXXXX

as XXXXX the UserID

for example for admin yoursite/admincp/moderator.php?do=editglobal&u=1

Ignicoccus
04 May 2008, 14:05
Anybody tried this on 3.7 ?

tai16
14 May 2008, 21:48
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

Hi.

When this changes will appear? Or someone have an idea what shuld be done to work this? Other question - there is a posibility to turn off checking posts/threads in some forums?

I am apologise for my English.
I would be greatefull for fast forward to this message.

Kirk Y
14 May 2008, 22:51
Well I'm not going to give you an arbitrary date, but yes I am continuing development on the MCS.

civil78
16 May 2008, 00:01
That’s great news, I thought that this mod discontinued.

karamayros
09 Jun 2008, 22:05
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
28 Jun 2008, 11:48
has anyone got this working on vb 3.7 yet? thanks

Kirk Y
28 Jun 2008, 16:05
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:
<input type="hidden" name="checkedposts" value="$mcscount" />

Find and remove in your SHOWTHREAD template:
<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:
<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:
<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:
<if condition="$inmodmode AND THIS_SCRIPT == 'showthread' AND $show['cancheckforum']">
Replace with:
<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
28 Jun 2008, 21:44
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
28 Jun 2008, 22:03
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
28 Jun 2008, 22:10
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
28 Jun 2008, 22:19
Please fix this, I would like this. Please and thanks.
As of my previous posting, the problem had already been identified and fixed...

EagleNick
29 Jun 2008, 01:23
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
29 Jun 2008, 03:07
That's why "Active Checking" was implemented. But AJAX is something I may implement at some point in the future.

KURTZ
29 Jun 2008, 08:26
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
29 Jun 2008, 10:30
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
29 Jun 2008, 15:21
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
30 Jun 2008, 12:52
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
04 Jul 2008, 18:44
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
13 Jul 2008, 12:50
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:


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
they wish to recognize checked/unchecked threads also in the "new posts" table
posts by moderators should automatically be marked as checked
how could the length of the announcement column be modified? it's too short in moderation mode:

https://www.vbulletin.org/forum/

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
13 Jul 2008, 13:23
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
20 Jul 2008, 04:03
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/forums/showthread.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
20 Jul 2008, 17:47
Any help here?

SSJB_7
21 Jul 2008, 19:47
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
21 Jul 2008, 21:10
Kirk is away on vacation for a few days yet.

pspmaster93
21 Jul 2008, 21:46
THE FOLLOWING EDITS ARE 100% IMPOSSIBLE

+--------------------------+
+-- 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
22 Jul 2008, 22:45
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
22 Jul 2008, 23:09
I refer you to my post above.

PGAmerica
27 Jul 2008, 18:08
So, I guess I was right. I am sick and tired of people putting hacks up and then offering zero support.

eXoOutsider
22 Aug 2008, 17:12
Works perfectly fine for me. What I'm wondering though, is there a way to have it default that Moderation mode is on

wuelfi71
23 Aug 2008, 18:46
What I'm wondering though, is there a way to have it default that Moderation mode is onI 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 ModeratorsUnfortunately 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
05 Sep 2008, 15:14
Still no support? I am removing this mod as a huge pile of crap!

my evil twin
25 Nov 2008, 14:29
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
25 Nov 2008, 18:12
I've got another bug: If a thread has more than 1000 replies, forumdisplay shows "-1001" unchecked posts in this thread :erm:

kalleklorin
03 Dec 2008, 23:22
very nice

alik4277
07 Dec 2008, 11:42
Thanks
works on on 3.8 too?

Spinball
21 Dec 2008, 17:28
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
21 Dec 2008, 18:42
That would be great. thanks.

TomJames
22 Dec 2008, 17:51
Awesome add-on, if this is made for 3.8 once it goes gold I'll be installing it :)

Kirk Y
24 Dec 2008, 19:34
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
25 Dec 2008, 10:07
great christmas gift - THANKS A LOT! :up:

wuelfi71
25 Dec 2008, 19:04
Wow, it's wonderful, that there is further development for this add-on.

But unfortunately the following bugs are still there:I've got another bug: If a thread has more than 1000 replies, forumdisplay shows "-1001" unchecked posts in this thread :erm:

how could the length of the announcement column be modified? it's too short in moderation mode:

http://fantasy-forum.org/uploads/announcement.jpgOr am I the only one with these problems?

PyroMarkus
28 Dec 2008, 14:23
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: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:

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
28 Dec 2008, 18:57
@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?

PyroMarkus
28 Dec 2008, 19:08
That would be even better, Kirk! No to search for "new" threads/posts as normal in vB, but search for unchecked threads/posts - this would be great, yes!

If this is too time consuming/difficult, then it would be fine, if the normal vB search result from any search would mark threads containing unchecked messages.

I have some searches "preperated" for my users/mods, which say
- new messages since last visited
- new messages since the last X days (where X is to specify 1, 2 ... more days).

With these two searches my moderators look for new threads/messages - noone of them is crawling the single forums. Marking unchecked threads in their search results would be great.

But both versions are very fine and would be highly appreciated!
Thank you for your quick answer and the great mod!

Kirk Y
28 Dec 2008, 20:01
Ah, OK, I see what you mean now. I'll see what I can do for the next release.

Cristi_XP
29 Dec 2008, 07:02
ok,i get myslq gone away when I try to install this .
What queries should i use to remove from DB the changes that where made,because i cannot install this,so I can run uninstall.

Kirk Y
30 Dec 2008, 02:24
It would help if you *explained* whatever problem you're having. :)

Cristi_XP
30 Dec 2008, 16:17
whenever i try to upload the product I get DB error,Mysql server has gone away.Probablly it hangs to much ,and the mysql kills the connection,and i thought that though the instalation wasn`t complete,there are still changes made to the DB ...so I want to undo the changes.

Kirk Y
30 Dec 2008, 18:08
How many posts does your board have?

The following queries are executed on the removal of this modification:

// Drop Post Columns
$db->query_write("ALTER TABLE " . TABLE_PREFIX . "post DROP ischecked");
$db->query_write("ALTER TABLE " . TABLE_PREFIX . "post DROP checkedby");
$db->query_write("ALTER TABLE " . TABLE_PREFIX . "post DROP checkedbyu");
$db->query_write("ALTER TABLE " . TABLE_PREFIX . "post DROP checkedtime");

// Drop Moderator Columns
$db->query_write("ALTER TABLE " . TABLE_PREFIX . "moderator DROP cancheck");
$db->query_write("ALTER TABLE " . TABLE_PREFIX . "moderator DROP cancheck_whole");
$db->query_write("ALTER TABLE " . TABLE_PREFIX . "moderator DROP canuncheck");
$db->query_write("ALTER TABLE " . TABLE_PREFIX . "moderator DROP canuncheck_others");
$db->query_write("ALTER TABLE " . TABLE_PREFIX . "moderator DROP canuncheck_whole");

// Drop Thread Columns
$db->query_write("ALTER TABLE " . TABLE_PREFIX . "thread DROP checkcount");

Deviant K1
30 Dec 2008, 18:56
Thanks.. great mod! **INSTALLED**

Kirk Y
30 Dec 2008, 18:58
v1.1.6 released--

Announcement bug in Forumdisplay fixed. (Thanks Wuelfi)

Upgrading
To upgrade simply upload (allow overwrite) the new product XML.

wuelfi71
31 Dec 2008, 15:40
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?Oh, i update them regulary, that has nothing to do with the bug. I made a hardcopy and attached it.

v1.1.6 released--

Announcement bug in Forumdisplay fixed. (Thanks Wuelfi)That's wonderful, thank you for your work^^

Another slight problem: When i keep logged in und return to the forum, moderation mode is always "off". When i log out and log in again it's "on" like it should be in version 1.1.6. But when i return without logging out, it's "off" again.

Kirk Y
31 Dec 2008, 19:00
The Moderator cookie is set to expire at the end of your session (when you close your browser). I'll increase the expiry date in the next release.

Regarding the check count bug: can you reset your thread/post check count counters and then see if it still shows the negative value?

wuelfi71
01 Jan 2009, 09:38
The Moderator cookie is set to expire at the end of your session (when you close your browser). I'll increase the expiry date in the next release.
That's nice, thank you.

Regarding the check count bug: can you reset your thread/post check count counters and then see if it still shows the negative value?Sry, don't know how:confused: Rebuilding thread information doesn't have an effect.

btw: Would there be a cronjob for updating MCS post and thread counters in the future?

Ziki
01 Jan 2009, 11:03
I do not have any use for this right now,but this is an excellent modification!Rated 5 stars!

Kirk Y
01 Jan 2009, 17:14
No, there will be no crontab. For large boards it is a very intensive process, so it should only be done when it is absolutely needed (ie. upgrades, miscounts, etc.).

To manually reset the counts:

AdminCP -> Maintenance (Very bottom) -> Update Counters -> Update Checkcount Counters (Very bottom)

wuelfi71
02 Jan 2009, 17:03
To manually reset the counts:

AdminCP -> Maintenance (Very bottom) -> Update Counters -> Update Checkcount Counters (Very bottom)Sry, can't find it :(

I quote the vBulletin manual for update counters:
The following functions are available:

Update User Titles
Rebuild Thread Information
Rebuild Forum Information
Fix Broken User Profiles
Rebuild Search Index
Rebuild Post Cache
Rebuild Signature Cache
Rebuild Statistics
Rebuild Similar Threads
Delete Duplicate Threads
Rebuild Thumbnails
Rebuild User Reputation
Update User Names
Update Post Counts
Rebuild Styles
Remove Orphan Threads
Remove Orphan PostsAdditional i've got the two functions from your add-on "Update MCS Thread Counters" and "Update MCS Post Counters", i use them regulary, but it doesn't solve the problem.

my evil twin
02 Jan 2009, 17:15
I have the same issue (negative counters). updating thread counters or post counters didn't have an effect, too.

Kirk Y
02 Jan 2009, 19:08
Wuelfi, please set me up with an Admin account on your board if you don't mind.

franzis
03 Jan 2009, 12:39
Also running addon under this 3.8?

LG Franzis

Kirk Y
03 Jan 2009, 18:45
v1.1.7 released. This release fixes a Checkcount Display bug in Forumdisplay. The bug affects boards whose native thousandth-separator is not the comma.

ie. "1.119" instead of "1,119"

Upgrading--
To upgrade simply upload (allow overwrite) the new product XML file.

wuelfi71
04 Jan 2009, 04:32
Thank you very much :up:
We love this mod, should be part of the vBulletin main programm

GoHa
22 Jan 2009, 06:14
How many queries per forum page view for non-moderators this mod add?

darkie79
22 Jan 2009, 18:16
I have installed this on 3.8, and it appears to be working flawlessly. I thank the developer, as this mod is a Godsend to me :)

caltek
23 Jan 2009, 03:23
A great mod to the forums! My Moderators love this one!

Just one question....is it possible in 3.7.4 to have the feature enabled by default ( currently my Mods have to enable the feature when they log in ).

Is there a way to have it enabled by default?

I sure hope there is....thanks again for this GREAT add-on. :D

GoHa
23 Jan 2009, 05:02
This is great mod. However. It supposed to be used with big forums. In the same time, it adds 4 new fields to the "posts" table, and one of it - varchar 100.
Adding varchar100 to "posts" through admincp is almost unreal operation if your posts table have couple of millions records.
Also, adding VC100 to "posts" will badly impact the performance. I am not speaking about possible extra queries.

We really need something like that. But we need to minimize the impact on performance. Just having a checkbox on the thread "checked by moderator" is enought, with the option (admincp option) to auto uncheck it if someone made a reply. In this case we just need to add 1 flag to "threads" (wich is much smaller then "posts")

I know, in this case, the list of features will be not that impressive, but at least, it will be possible to use it on the big forums.

May be someone knows the plugin like I described? May be author can create a modification?

Your help will be appreciated!

rightstuff_mike
30 Jan 2009, 13:41
hi there, when i installed this today, it works perfectly, however, when i view the parent forum's for thread's, over on the right hand side of the screen where it shows "views" and "unchecked" fields, there are no number's visable.

any help?

rightstuff_mike
03 Feb 2009, 23:05
hi, i got this working perfectly until now.

i set all mod's smods and admins to have it turned on automatically, but some of them want to browse the forum and not have to use it. so they disable it.

now when they try to turn it on, and when the other's try to turn it off, they get

error 503.
The server is temporarily busy, try again later!

the forum is working perfectly for all member's who dont have access to this hack. ive turned it off for now, and everything is running smoothly.

any idea's on how it can be resloved?
im using vbulletin 3.8.1

any more info, please let me know and ill get it for you.

GSeybold
22 Mar 2009, 18:19
I don't know squat about coding, but what I do know it that it takes a ton of mental energy so thank you for expending your mental enery for this great mod! Installing now. (If I know how) LOL MOTH for sure


Gabby

rmxs
25 Mar 2009, 18:07
works for 3.8.1?
I read some problems at last pages without answers :|

1Unreal
27 Mar 2009, 18:52
Any chance of making this available on 3.8.1?

Budget101
28 Mar 2009, 21:04
Doesn't work... using 3.7.x ver of vb, when I click on Moderation Mod: Disabled to Enable it, it goes to a screen

http//myforum.com/index.php?do=modmode

and lists a bunch of stuff about cookies, but doesn't ever Enable the system.

Teknologist
01 Apr 2009, 14:13
Having a bit of an issue, and have tried resolve it myself with no luck.

Could anyone please advise how to fix this:

https://www.vbulletin.org/forum/external/2009/04/36.png

Budget101
02 Apr 2009, 11:23
**Uninstalled- didn't work, no support.**

lindwurm3
02 Apr 2009, 15:57
Hi VBulletin Community,

we installed this add-on and have the following problem. Could anyone help? Thank you very much!

When logged in as admin we receive an "Internal Server Error 500" after clicking the "enable" option (in the upper right corner of the startscreen in normal forum mode).

This might be easy to fix, but we tried for some time and followed each step of the installation exactly. All menus and options of the add-on are shown correctly.

Cheers,
Lindwurm3

wuelfi71
02 Apr 2009, 17:40
works for 3.8.1?I've got it running under 3.8.1.

EDIT: Works fine under 3.8.1/3.8.2.

Only one little bug left: Checked Posts from ignored users (my friend harvey) lead to a negative number of unchecked posts.

vitrag24
03 Apr 2009, 13:46
will this add load to server?
will it increasing loading time to my forum?

sinucello
20 Apr 2009, 12:36
Hi,

thanks for this nice mod.

I have two suggestions/problems:

1. if a moderator marks a thread as checked, it will only be marked as long as nobody adds a post to the thread after it was marked. This may be useful in some/most situations but my mods would prefer if the thread would stay marked once it was checked no matter if new posts are added afterwards. So I kindly ask if this behaviour could be added as an option.

2. If I install this mod, the inlinemod-entry of this add-on:
http://www.vbulletin.org/forum/showthread.php?t=200952
will be removed. Maybe the fact that both add-ons have the same execution order for inlinemod_action_switch has something to do with this?

thank you - all the best,
Sacha

mme42
02 May 2009, 21:10
problem fixed. thanks.

Dan Clement
04 May 2009, 00:08
Works like a dream. Many thanks! :)

voro
27 May 2009, 16:59
we have around 40 mods and for some of them this isnt working, any ideas?

v

sinucello
22 Jun 2009, 06:35
Hi,

when I activate this mod

Change Threads' Prefix Inline from Milad:
http://www.vbulletin.org/forum/showthread.php?t=200732

and

Change Threads/Posts Owner/Date for vB3.8 from Phalynx
http://www.vbulletin.org/forum/showthread.php?t=200952

won`t work any more. Could you please change your code for the inline-mod select box so that it doesn`t kill any other mods entries there?

Thank you - all the best,
Sacha

ShawneyJ
29 Jun 2009, 02:27
database error trying to uninstall the product. wtf?? lol. cant uninstall this!

edit: ahhh there goes my site with it, FULL database error on the whole site, great :D

mme42
02 Jul 2009, 03:34
How hard would it be to hack this so that the color of unchecked posts could be changed per style? Any idea where to start?

Thanks :D

ShawneyJ
06 Jul 2009, 09:46
database error trying to uninstall the product. wtf?? lol. cant uninstall this!

edit: ahhh there goes my site with it, FULL database error on the whole site, great :D


lol was cleaning up today by deleting products and forgot uninstalling this product does what i quoted :rolleyes: grrr

mme42
08 Jul 2009, 15:02
How hard would it be to hack this so that the color of unchecked posts could be changed per style? Any idea where to start?

Thanks :D

Nevermind, I figured it out. :D You can just change the code a bit in the threadbit template to get the background color from a class instead of from the admincp options. And, to clarify, I'm talking about changing the background color for the thread title cell in the forumdisplay per style. Saying "unchecked posts" was kind of vague and inaccurate.

I can explain more if the coder is ok with it (it doesn't say the code is reusable) and anybody needs to do this. It seems he hasn't been around for a bit though.

xyzmary2001
05 Aug 2009, 12:05
I understand the mod is supported, but I see no support for the last... few months.

I installed the mod when I had vBulletin 3.7 and it worked. Now, with 3.8.2 just doesn't show anything and the "enabled/disabled" doesn't appear at all. Any suggestions, maybe a version for 3.8?...

Cybertims
05 Aug 2009, 14:27
Can "Active Checking" be turned on always by default??

RobbieZ
15 Aug 2009, 17:12
Can "Active Checking" be turned on always by default??

Unsure Cybertims. Every time I log in mine is always on disabled. May be a java cookie thing.

I can't seem to assign the system to usergroup 7 : moderators. i made their persmissions but they still dont see the menu button under login section.

m002.p
24 Sep 2009, 00:17
Anyone have an idea how I get the "Checked by admin at xxx" message that appears in the posts checked to display in the forumdisplay (threadbit template)?

I tried the variables $thread[checkedbyu] & $post[checkedbyu] and both do not work.

Anyone got a solution or idea for this?

passwords
01 Oct 2009, 22:23
hello
http://www.vbulletin.org/forum/attachment.php?attachmentid=77495&d=1206031782
cannot find that options in the groups permissions .
V 3.8.2

mme42
01 Oct 2009, 22:40
hello
http://www.vbulletin.org/forum/attachment.php?attachmentid=77495&d=1206031782
cannot find that options in the groups permissions .
V 3.8.2

It's not in usergroup permissions. It's in the individual moderator permissions for each moderator. So, you'll have to change the permissions for each moderator. But, once you do it the first time, then all you have to do is remember to set the permissions for future moderators when you first add them.

Go to AdminCP > Forums & Moderators > Show All Moderators then click "edit" for each moderator that you want to change. You should find those options towards the bottom of the permissions.

You can also do this from the "Forum Manager" dropdown for moderators. It brings up the same mod permissions screen.

passwords
01 Oct 2009, 23:07
grt but when im clicking on : Moderation Mode: Disabled ( link: index.php?do=modmode ) im geting: Internet Explorer cannot display the webpage ..:confused:

ShawneyJ
27 Oct 2009, 13:14
last post asking how to uninstall this damn thing 06 Jul 2009...

anyone wanting to install this think twice as you cant uninstall it.
the best you can do is disable grrrr.

alik4277
23 Jan 2010, 13:41
It`s possible to upgrade this Mod for vBulletin 4.0

Thanks

jet rex
20 Jun 2010, 09:51
Who know how to install it at
v.3.8.4?

korgkurzweil
18 Aug 2010, 19:54
working on me, 3.8.4

but the only thing is threads do not change color like this

http://www.vbulletin.org/forum/attachment.php?attachmentid=77492&d=1206031763

EDIT:

everything works when i apply to the default style, but in my other style won't work with the forumdisplay coloring...

EDIT:

it works everything now, this is what i do

In the original instructions (ThreadBit) :

Find:
<td class="alt1" id="td_threadtitle_$thread[realthreadid]" title="$thread[preview]">

Replace With:
<td class="alt1" <if condition="$mcpcolor['forumdisplay']">style="background-color:$vboptions[mc_bgcolor_fd];" </if>id="td_threadtitle_$thread[realthreadid]" title="$thread[preview]">


i changed to

<td <if condition="$mcpcolor['forumdisplay']"> style="background-color:$vboptions[mc_bgcolor_fd];" <else />class="alt1"</if>id="td_threadtitle_$thread[realthreadid]" title="$thread[preview]">

Marv
26 Aug 2010, 11:37
Stuart, I would love to see this mod working in vb4 until...erm...XF comes out ;) Any chance ?

belowthebelt
15 Sep 2010, 01:33
Stuart, I would love to see this mod working in vb4 until...erm...XF comes out ;) Any chance ?

I would totally love to see this working with 4.x,
this is such an awesome modification, I am truly missing it on version 4.

I am going to try and install is and see what happens anyhow, I will post back here the details of the aftermath :D

-------------------------------------

No dice ! :(

ProFifaLeagues
15 Sep 2010, 06:51
Be a great addititon to Vbull 4 :)

Pladimir
04 Jan 2012, 14:53
Great addon, but i got the following error, when i want to enable or disable
the moderation mode in my forum:

Fatal error: Allowed memory size of 134217728 bytes exhausted (tried to allocate 311296 bytes) in /var/www/vhosts/.../httpdocs/includes/functions.php(2948) : eval()'d code on line 224

Can anyone help me?

Greez

Lynne
04 Jan 2012, 17:52
Fatal error: Allowed memory size of 134217728 bytes exhausted (tried to allocate 311296 bytes) in /var/www/vhosts/.../httpdocs/includes/functions.php(2948) : eval()'d code on line 224

That error indicates that your php doesn't have enough memory allocated to complete the operation. You can either increase your memory_limit setting in php.ini to xxM (something larger than what you currently have) or to temporarily up your limits edit your includes/config.php file and add this line right under the <?php line:

ini_set("memory_limit", "xxM");

(You can view your current memory_limit in Maintenance > View PHP Info . If it's 16M, try 32M. If it's 32M, try 64M. If it's 64M, try 92M or 128M, etc.)

Pladimir
06 Jan 2012, 19:23
Thanks for the answer. Ive tested the memory_limit value, actual its on 128M and the error ist still here. Should i change this value to a higher one?