PDA

View Full Version : ADVANCED MOD CONTROL PANEL v2.0


unplugged
13 Jul 2001, 00:11
here is a hack that will give your mods more power without having them roam round the Admin Control Panel :)

Mods can now UNBAN as well as BAN users.
Mods can now Ban people from specific Forums
Mods can now add/remove Smileys to the database
Mods can view Forums Stats
Mods can edit peoples Usernames *
Mods can edit Peoples Signatures *
Mods can edit peoples Avitars *
Mods can edit BASIC profile information *
Mods can give Custom User Titles to a user *
Mods can still veiw a persons complete profile
Mods can send Password Reminders
Mods can now Authorise COPPA users *
Mods can now authorise (Awaiting Email Notification) **
Mods can now authorise Unregistered/Not Loggid in users **

* Can only edit registered users
** Using the UNBAN feature

To use simply extract all the files into your MOD folder to activate the features :)

Please report any Bugs you find this hack works fine on my forums and another that I moderate :)

[attachment removed]

Juan
13 Jul 2001, 02:37
This hack is what I have been waiting for. I'll install it tonight.

Many thanks

dxb
13 Jul 2001, 07:03
great hack I try it now :)

this just what I'm looking for

Dakota
13 Jul 2001, 08:24
nice...but could you change it so a mod could edit his/her own profile like the title and avatar? So the can use html in it, and not be limited by the normal Title regualtions?

White Knight
13 Jul 2001, 19:21
Looks like this was a no no? Attachment is gone.

orca
13 Jul 2001, 19:25
Hmm, it was Ed Sullivan who edited the message...

pestilence
13 Jul 2001, 20:51
all the files out the mods folder were posted complete not just instructions and code to hack...breech of license agreement

unplugged
14 Jul 2001, 00:02
The hack is to big to post up if any one wants it please contact me.

If I post up just the hacked files (two of them) and instructions would that be breakin the rules?

HairyMonster
14 Jul 2001, 01:17
Check your mail and thanks in advance :)

HM

philliplewis
22 Jul 2001, 19:03
Send me that mod hack...

edd u pratt.. who cares?

eva2000
22 Jul 2001, 19:06
Originally posted by Unplugged
The hack is to big to post up if any one wants it please contact me.

If I post up just the hacked files (two of them) and instructions would that be breakin the rules? check how other hacks have been posted, instructions and hacked code only

Freddie Bingham
22 Jul 2001, 22:00
Post the files again and you will be banned. You can not post any files, not even if you have "edited" them.

unplugged
22 Jul 2001, 22:17
Well... I did ask seems a pretty pathetic forum to me where people are encouraged to write hacks and are not even allowed to publish them!

Sorry if it breaks the rules but the hack has a whole subroutene for the unban feature and the whole hack is to big to post up and seeing were not alowed to post source code either dont see any other way or publishing the hack!

Freddie Bingham
22 Jul 2001, 22:52
If you read the license agreement you will see that it clearly states that you may not give out the source code.

btw why don't you put your valid license information in your profile?

Dakota
23 Jul 2001, 01:07
Post a text file giving steps to install it, telling what files to edit and such, not the actual php files.

tubedogg
23 Jul 2001, 01:11
Originally posted by Unplugged
Sorry if it breaks the rules but the hack has a whole subroutene for the unban feature and the whole hack is to big to post up and seeing were not alowed to post source code either dont see any other way or publishing the hack!If you wrote a subroutine you are more than welcome to post that, as well as snippets of vBulletin source to help people find where to insert your subroutine, etc. You are *not* allowed to post full vBulletin files. Take a look at my hacks in this forum. I have probably produced 15 or more and never had to post a complete source file.

unplugged
27 Jul 2001, 02:14
Ok... Would this do?

jrwap
06 Aug 2001, 00:15
I really like this hack and it works well. How would I go about adding a couple of things?

I want the mods to be able to use the mailing list and be able to send a mass email to all members, just the mods, and just a certain user group. Can this be done and how could I do it.

Thanks and nice hack,

-JRW

unplugged
06 Aug 2001, 22:15
Ill add it to the to do list ill be working on Version 2.1 soon as soon as my mate lets me use the FTP server hes been having probs with it at the mo..

To Add

Mods can send mass emails
Mods can edit their own profiles
Idividual User Stats *maybe*

TheFlib
07 Aug 2001, 00:27
I know lots of people have been asking for this, but nobody seems to have done it, and people have generally been less than helpful (as well as downright abusive) when I asked for help doing it. (I'm a PHP nebwie)
SO anyway, for the mod control panel, there could be an option similar to what the admin can do to private forums- if you create a private forum and appoint a mod to it, the mod can grant access and revoke access to only his forum.
This would be great for things like company sites where you have lots of different projects, you can make the project manager a mod and let him add members to his team or whatever, there are tons of uses.

jrwap
07 Aug 2001, 00:45
I think that could be a useful feature if I am understanding it correctly.

I am basicly setting up communities for various organizations and allowing them to run them on their own with only minimal help from me. I would want the mods to have complete control over many aspects of the forum. Obviously, I wouldn't want them to be able to edit the templetes and things of that nature.

I think that this is a very good hack and with a few more additions it should become part of the actual software. Please keep us up to date with any additions.

Thanks,

-JRW

almighty one
19 Aug 2001, 20:08
ok i couldnt find this post till just now anyways i get a parese error on a line when i try this hack i dont know if it is the way i ama dding the part that says add this to end of file there is the end like ?> do i put it before this yes? or after it? i figured it had to be before that could soemone who has this working tell eme xactly where to insert the start unban part of code thanx alot

SirSteve
20 Aug 2001, 18:43
This thread needs to be started over... I cannot understand any of it. Is this an actual working hack?

almighty one
20 Aug 2001, 23:44
someone said they got it working i just need a little help here to get mine working i really need one of my co admins to access user profiles to edit them please help me here if ya got it working

drives_fast
21 Aug 2001, 02:30
Unplugged,
I tried to e-mail you but your status stated that you did not want to receive e-mails.

Would you please e-mail me at drivesfast@globaldungeon.net. I would like to use this hac please.

anothony121
21 Aug 2001, 02:41
I want the hack E-mail me the Info where to download it please.



Lisandrogrullon@hotmail.com

k@mi
21 Aug 2001, 22:11
I want it so that Mods can change the user level of a person Except to Mod or above...
ie: A Regular User can be changed to "Clan Member"

:/

k@mi
21 Aug 2001, 23:27
got it working
:)
heres how i did it:

Under:

maketableheader("Edit User:</b> $user[username]<b>","",0);
makeinputcode("User Name","ausername",$user[username],0);


Add:

makechoosercode("User Group","usergroupid","usergroup",$user[usergroupid]);


Modify:

$countadmin=$DB_site->query_first("SELECT COUNT(*) AS users FROM user,usergroup WHERE user.usergroupid=usergroup.usergroupid AND usergroup.cancontrolpanel=1 AND user.userid<>$userid");
$getperms=$DB_site->query_first("SELECT cancontrolpanel FROM usergroup WHERE usergroupid=$usergroupid");
if ($countadmin[users]==0 and $getperms[cancontrolpanel]!=1) {
echo "<p>You are about to edit the last user with control panel access so that they do not have control panel access. This would lock you out of the control panel, so you cannot proceed.</p></body></html>";
exit;
}


To: (change ($usergroupid != "19" && $usergroupid != "2") to what you want if to be allowed to change, 19 just happens to be our clan members group, 2 is the registered group)

if ($usergroupid != "19" && $usergroupid != "2") {
echo "<p>You may not change this user to this level.</p></body></html>";
exit;

}
else {
$countadmin=$DB_site->query_first("SELECT COUNT(*) AS users FROM user,usergroup WHERE user.usergroupid=usergroup.usergroupid AND usergroup.cancontrolpanel=1 AND user.userid<>$userid");
$getperms=$DB_site->query_first("SELECT cancontrolpanel FROM usergroup WHERE usergroupid=$usergroupid");
if ($countadmin[users]==0 and $getperms[cancontrolpanel]!=1) {
echo "<p>You are about to edit the last user with control panel access so that they do not have control panel access. This would lock you out of the control panel, so you cannot proceed.</p></body></html>";
exit;
}
}

Lordmusic
22 Aug 2001, 22:39
k@mi, does that work with 2.0.3 and can you restrict what user groups have this full power?

SirSteve
22 Aug 2001, 22:43
Can someone start over from the beginning with this hack?

jrwap
22 Aug 2001, 23:34
I would just like to say that I have this hack installed and it works perfectly. It allows there to be a LIMITED ACCESS CONTROL PANEL which only users in the groups MODERATOR, SUPERMODERATOR, and ADMINISTRATOR can access it. Baisicly it gives your moderators more power over your forums so that you (as the admin) don't have to do everything on your own. As I have stated in a few replys back, there are a few otehr things I would like to see added which I think would be very usefull.

-JRW

SirSteve
23 Aug 2001, 03:49
Tried this several times on 2.0.3 and I keep getting a parse error when trying to view/edit users.

almighty one
23 Aug 2001, 11:38
Originally posted by SirSteve
Tried this several times on 2.0.3 and I keep getting a parse error when trying to view/edit users.
exactly if you try clicking on viewusers/ban or whatever it is then it parse errorrs and i also do not see extra options listed in the cp so maybe somene who has implemented this in 2.03 can rewrite the directions on installing this heh

fxs158
29 Aug 2001, 04:10
CAn someone send me this hack,

fxs158@email.com

Thanks

unplugged
29 Aug 2001, 22:15
I took the group change code out for obvious reasons becausde I found out people could promote themselfs to admin :D

Not having much knowledge with PHP i simply removed it... Ive not rearlyl tested it on 2.0.3 as I only co-administrate the boards im on and all though they use 2.0.3 what I test with is only 2.0.0 i dont think my mate would appreciate if I ran rampant roudn the actual forms :) as far as I know its running fine ill have a look

I will restart this thread but at the monet im still trying to iron out bugs and maybe add more to the new version.

Christine
28 Oct 2001, 01:08
Does anyone have this running on 2.0.3?

Zeoran
01 Nov 2001, 15:35
I would also really like to see this hack work for 2.0.3 or even 2.2.

I need my moderators to be able to change a users group listing and right now, the only way to do it is to have them with admin access.

Does anyone have this working on 2.0.3 or 2.2 yet?

~Z

User
06 Nov 2001, 15:34
This hack won't work with vB 2.2.0, is it goning to be fixed?

Ed FvC
10 Nov 2001, 23:29
I'd love to see this for 2.2.0. My supermods +++++ and whine because they don't have admin priviledges...and I'm sick of unbanning people. :D

psico
30 Nov 2001, 18:41
I need this hack for 2.2.1, any updates?

Itīs a very good one...

Thanks,
Psico.

Dark Blaze
05 Dec 2001, 20:36
Aswome hack, well done unplugged :)

Psychdrone
06 Dec 2001, 01:04
please look at my post in Requests, on how this hack could be so much greater!

Its called "more mod powers"

sk187
11 Dec 2001, 13:10
has anyone updated this for 2.2.1?

trainer
12 Dec 2001, 00:16
it would be very nice to see this hack updated to work with 2.2.1

thanks

sk187
16 Dec 2001, 06:41
any 1

??

ToraTora!
16 Dec 2001, 09:06
I think this is way to much power to give to a mod. Hell, save yourself the trouble, and just make him a admin if there is that much trust. :)

Dark_Wizard
10 Jan 2002, 00:47
Please check this thread (http://www.vbulletin.org/forum/showthread.php?s=&threadid=32808).

unplugged
23 Jan 2003, 12:51
Hmmm the hack is here http://www.vbulletin.org/forum/attachment.php?s=&postid=144963 for people who keep pming me for it

It doesent rearlly work with the 2.2.9 control panel so ill be making a new version soon maybe turning it into a Super Mod control panel ill see what my workload is next week

If you despratly want it ive seen similar hacks but getting hold of an old copy of vbulliten (I think i made it on 2.2.0) and just copy over the /mod folder and hack that.

The mod control panel hasent changed at all apart from the coding so the old 2.2.0 version still works a treat