vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   Modification Requests/Questions (Unpaid) (https://vborg.vbsupport.ru/forumdisplay.php?f=112)
-   -   Thread closed by admin (https://vborg.vbsupport.ru/showthread.php?t=102386)

NuclioN 12-06-2005 10:35 PM

Thread closed by admin
 
Is it possible to make a function for admins that threads closed by them are unable to open by supermods or mods?

Evil X 12-06-2005 10:44 PM

suggestion, if a mod or smod overrules you, strip them of thier powers, and ban them....

Borgs8472 12-06-2005 11:14 PM

Indeed, 'defenstrate' would be an appropriate verb also...

Boofo 12-06-2005 11:21 PM

"defenstrate"? wth does that mean? LOL

peterska2 12-07-2005 12:08 AM

Well you spelt it wrong, but thanks to dictionary.com here's the meaning

Quote:

de?fen?es?trate
tr.v. de?fen?es?trat?ed, de?fen?es?trat?ing, de?fen?es?trates

To throw out of a window.

Chris M 12-07-2005 12:40 AM

Quote:

Originally Posted by NuclioN
Is it possible to make a function for admins that threads closed by them are unable to open by supermods or mods?

threaddata_start
PHP Code:

$this->validfields['adminclose'] = array(TYPE_INTREQ_NO); 

threadmanage_openclose
PHP Code:

if (is_member_of($vbulletin->userinfo6)) {
$threadman->set('adminclose', ($threadman->fetch_field('adminclose') == 1));
}

if (
$threadinfo['adminclose'] && !(is_member_of($vbulletin->userinfo6))) {
$threadman->set('open'0);


This is only theoretical code - It's 20 to 3 in the morning so it may be wrong :p

Chris

Marco van Herwaarden 12-07-2005 06:18 AM

Have a look here: https://vborg.vbsupport.ru/showthrea...threadid=82599

Might be what you want.

NuclioN 12-07-2005 10:48 AM

MarcoH64 is this a working addon? It looks still on the 'to do list'. Anyway thanks for this tip. Banning of smods en mods when they cross the admin's plans is an option too. :d

Marco van Herwaarden 12-07-2005 11:12 AM

Why you think it is not a working addon?


All times are GMT. The time now is 07:32 AM.

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.01925 seconds
  • Memory Usage 1,730KB
  • 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
  • (2)bbcode_php_printable
  • (2)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (9)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
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete