View Full Version : Thread closed by admin
NuclioN
12-06-2005, 10:35 PM
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
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
Is it possible to make a function for admins that threads closed by them are unable to open by supermods or mods?
threaddata_start
$this->validfields['adminclose'] = array(TYPE_INT, REQ_NO);
threadmanage_openclose
if (is_member_of($vbulletin->userinfo, 6)) {
$threadman->set('adminclose', ($threadman->fetch_field('adminclose') == 1 ? 0 : 1));
}
if ($threadinfo['adminclose'] && !(is_member_of($vbulletin->userinfo, 6))) {
$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/showthread.php?s=&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?
vBulletin® v3.8.12 by vBS, Copyright ©2000-2025, vBulletin Solutions Inc.