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)

Spinball 03-20-2008 09:52 PM

Quote:

Originally Posted by lasto (Post 1469791)
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 03-20-2008 10:41 PM

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 03-20-2008 11:01 PM

wow, this looks impressive! a fantastic mod. I will install this when vb 3.7 goes gold. thanks.

Kirk Y 03-21-2008 11:45 PM

To upgrade from 1.0.x - 1.0.8, perform the following template edit (as well as import the new product) --

THREADBIT_DELETED
Find:
Code:

<td class="alt2" colspan="3" align="center">
Replace with:
Code:

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

mariocaz 03-22-2008 03:57 AM

Hi Kirk,

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

Thank you!

Kirk Y 03-22-2008 09:35 AM

Quote:

Originally Posted by mariocaz (Post 1471317)
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 03-24-2008 09:12 AM

I get this:

Code:

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 03-24-2008 01:42 PM

Yes I also Get the database error.

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

Quote:

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

Quote:

'WHERE userid =' . $vbulletin->GPC['userid'],
works good now :) great work.

citroenar 03-24-2008 02:24 PM

and now:

Code:

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 03-24-2008 05:00 PM

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.


All times are GMT. The time now is 12:49 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.01082 seconds
  • Memory Usage 1,739KB
  • 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
  • (4)bbcode_code_printable
  • (4)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (3)pagenav_pagelink
  • (1)pagenav_pagelinkrel
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

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