![]() |
Er...
Perhaps you can select which forums to delete?:) i.e. You can mass prune the moderators, but from certain forums instead of having to go and delete individual ones;) Satan |
Does this delete them from the board or just take their moderatorship (is that even a word?) away?
|
Well, when you have deleted a moderator, or let's say, you've took his moderator (or Super Mod) status away and changed it into Member or whatever, he will still be listed as moderator in showgroups.php because he isn't deleted from the forums!
That's why i made this hack, i had 7 mods wich i have deleted And i had to delete them manualy what took lots time more that this! So this hack don't delete them from the forum, but just what you said, it take their moderatorship away! |
Ok, I see. Then you could basically take his moderatorship away from all forums and leave him as a moderator without anything to moderate. Like a "Moderator Langoliers", so to speak. The drop down with the forums listing that they are mods of would be great in case you didn't want to delete them from all forums.
|
Uhuh;) What I asked for:)
Satan |
I figured if 2 of us ask, it might happen a little quicker? :p
|
Lol:p
Good idea;) Satan |
:P LoL
Satan, do you have ICQ or MSN?! I need your help again I think |
|
Ok i'm now in your MSN but you are doin' homework hahah :)
|
Quote:
Thanks Boofo for asking the exact question that I had in mind.... and thanks to flup for providing this hack and for providing support for it I shall try it now. |
Well you also have to thank HellSatan and Xenon for helping me with this hack!
|
:surprised: :surprised: :surprised: :surprised: :surprised:
Yes your hack works very well buddies.. it DOES delete the moderator from All forums in One Shot.......... BUT I COULD STILL ENTER PRIVATE FORUMS AS A KILLED MODERATOR!!!!! ANY HELP OUT THERE?????? |
and the killed moderator status in the admin control panel is STILL as MODERATOR after deleting the mod with your method.
when I kill a mod manually, his status would go back to simple normal members.... |
I know that's coming in version 2.2
Mod's wil automaticly turned into Member status. But I think this would result in some problems, but i'll look! |
Why would it result in problems?
Just add a query in the "dogo" part: Code:
$DB_site->query("UPDATE user SET usergroupid='2' WHERE userid='$modtodel'"); |
Caus I thougt I couldn't make 2 db queries
|
Of course you can:)
You can have 100 "$DB_site->query" lines in a row (as long as they are correctly formed) I wouldn't recommend that though;) Satan |
Ok, version 2.2 laucned, in 1st post the DONWLOAD link is renewed and .txt file is renewed., have fun :)
|
Lol:)
Now for v3;) ^^^^^^^^^ Satan |
Yeah V3 will have checkboxes with the forums a moderator has to be deleted from :|
It will take some time though but i think me and hellsatan, and some other hacker wich is able to help will get it :) |
I'm still bussy, ;)
I can't get it really actually :| |
How about an option for removing their access from any private forums? Like any set to yes it sets to default or something?
|
Well by defualt it will set the user to the usergroupid 2 (registered), so it isn't possible unless you use an option to say "reset to registered usergroup?", and then code that above;)
Satan |
ok fair enough. At least with this hack is one less step.
|
I just can't get this code working (check boxes)
Sorry :| |
Have you tried using Radio buttons?
It would be much simpler;) Satan |
Radio Buttons or Check Boxes I can't get it :(
|
What would be the point of using radio buttons...? You wouldn't be able to select more than one moderator ;).
If you do figure out the checkboxes, here's some indepth do'da's you could do :D : Each moderator is listed, and under his name is: Checkboxes for each forum he mods, if selected, he will be demodded from that forum. A select all checkbox which selects all forums. A 'usergroupid to put mod into after being demodded' (this is good for say putting a mod as a supermod) A checkbox which will reset all his access masks to default. There could be a link on the page which will demod all mods from all forums. There could be a link on the page which will reset every mod's usergroupid to a given usergroupid, IF all mods are demodded. There could be a link on the page which will reset all mods' access masks to default. There's loads of stuff you could do here :D Anyway, great hack, will use it, very useful as I have over 20 mods! |
:bored:
Anyone help him? @N9ne - Sure you can:) And not any more you don't;) Satan |
Thx for support I will add some of this stuff certainly to V3
|
Quote:
Directed at me? Well technically I still do have 20 mods left in my DB backup :p And you can't select multiple radio buttons, that's why checkboxes are around... |
Who said anything about multiple radio buttons?:bored:
You have a dropbox with values to show the set number of mods on the page You have the moderator's name as a heading, and all the forums they moderate, and a "yes" or "no" option to delete them as moderator of that forum, and then the next moderator is below with a similar setup etc:p Satan |
LOL well if you put it THAT way then yes you CAN use radio buttons :p
Hellsatan 2003, still confusing people...522,353 victims :p |
rofl
|
Quote:
|
This would be the first to for me to work with DB commands ....
|
Code:
$DB_site->query("DELETE FROM moderator WHERE userid="$modtodel ON forumid=$forums2del"); |
Rest from hack:
Code:
<?php |
By The Way, I just copied the DB query from the 1st made by Xenon and than edited it a little bit :p
But the problem is that "home made db querie :)" If that's working I have got step 1 of delete mod from forum finished, and i could work on checkboxes/radiobuttons to make it easier. |
All times are GMT. The time now is 01:16 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 | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|