View Full Version : Finally, a good idea from me
PaulBearer2k
07-17-2002, 05:24 PM
Okay, I trust you guys are familiar with the supermod cp. What I am suggesting is that you expand that cp, as well as make some options useable for the moderators.
Super Moderator Controls
-------------------------------------
Now can you make it so that super moderators have the options to create custom user titles for moderators and normal users if he chooses too. This use to be an option only available to the admins, but I really think it'd be useful since I have it so all mods can have custom user titles.
For the thread control options under the supermod panel. Can you make it so now in addition that supermods have the ability to see who voted in polls, strip polls, and Unsubscribe to threads.
In addition for supermods this is something I'm sure a lot of you will agree with, make it so that super mods can Add/Modify Smilies.
Be able to edit signatures
Moderator Options
------------------------------------
Now when mods go to the cp can you make it so that they are actually able to edit the following things.
The own user title. No one elses but theres.
Be able to edit Moderation Lists.
And be to edit signatures.
See who voted in polls and strip polls.
Thats all.
Xenon
07-18-2002, 09:56 PM
you have two possibilities:
make another cp for supermods, cookied nearly equal as the ACP and copy the files and parts of index.php into it if you need them for em
or you can copy&paste needed code from your ACP-files into your mod directory and add some security checks to it.
As an half advertisment:
You should download my hack
"Mods can edit Usernames, Signatur...."
so you can add usertitle functions very easy to it (read inside the thread)
at least you got some work copying the right parts, but all in all it shouldn't be to hard to do
PaulBearer2k
07-19-2002, 02:31 PM
Yes, about an hour after I posted this I saw your hack. I do have a problem, maybe because I'm an idiot but my moderators can't do anything in the mod cp besides access to it. Yet supermods can. I would try what you told me above, but not without help. Maybe someone should create a supermod cp, and a mod cp.
Xenon
07-19-2002, 10:41 PM
you must give your normal mods the right to do more in there mod-cp like canview user profiles and so on
you can give those rights in your Forums/Moderators section of your Admin CP
i have already created a supermod cp for vb225 and it wasn't very hard, but it is just what my supermods can do (templatemods and this style things ;))
it's a problem because often you need to change on more places in one file, also the supermod global.php is changed, and it wouldn't be easy to comment all those changes, but i think it's easier to try yourself, if you need help at some section you can ask me or someone else here you'll surely get help
PaulBearer2k
07-20-2002, 04:51 PM
Alright after reviewing what you said, I honestly probably cannot build this hack, it's out of my league. But here is a suggestion to you hackers, 2 seperate cp's.
Super Moderator's Control Panel
------------------------------
*Add/Modify Announcements
*Who Voted/Strip Poll/Unsubscrive Thread
*Find Users, Edit Users, Edit Signatures, Edit Custom Titles
*Add/Edit Avatars
*Add/Edit Smilies
*Add/Edit Posting Icons
*Ban/Suspend Users
*Ban Emails
*Search for multiple IP's
And as for the moderator's cp, can you make it so that on the admin's cp that they can individually choose which moderator's get access or select Global for all mods getting access?
Moderator's Control Panel
----------------------------
*Search for users (But Can't Edit)
*Edit Signatures
*Who Voted, Strip Poll
*Add/Edit Smilies
*Suspend users
*Search for multiple IP's
*Edit Custom Titles
I am really hoping someone here can design this hack, I really do need it created. Or if you can somehow give me detailed instructions, I can give it a crack.
Xenon
07-20-2002, 05:08 PM
have not much time today now, but i can give you the first and i think most important step for the supermodcp:
create dir supermod and copy the global.php file from your admincp in it, then do following changes (i have done this with vb225 i hope most parts are identical ;))
find://load config
require("./config.php");
// init db **********************
// load db class
$dbservertype = strtolower($dbservertype);
$dbclassname="./db_$dbservertype.php";
require($dbclassname);
$DB_site=new DB_Sql_vb;
$DB_site->appname="vBulletin Control Panel";
$DB_site->appshortname="vBulletin (cp)";
$DB_site->database=$dbname;
$DB_site->server=$servername;
$DB_site->user=$dbusername;
$DB_site->password=$dbpassword;
replace with:
//load config
require("./../admin/config.php");
// init db **********************
// load db class
$dbclassname="./../admin/db_$dbservertype.php";
require($dbclassname);
$DB_site=new DB_Sql_vb;
$DB_site->appname="vBulletin SuperMod Control Panel";
$DB_site->appshortname="vBulletin (mcp)";
$DB_site->database=$dbname;
$DB_site->server=$servername;
$DB_site->user=$dbusername;
$DB_site->password=$dbpassword;
find// ###################### Start functions #######################
require("./functions.php");
require("./adminfunctions.php");
// ###################### Start sessions #######################
/*if (!isset($bbadminon) and !$bbadminon) {
$sessionhash="";
$bbuserinfo[userid]="";
$bbuserinfo[password]="";
}*/
require("./sessions.php");
and replace with:
// ###################### Start functions #######################
require ("./../admin/functions.php");
require ("./../admin/adminfunctions.php");
// ###################### Start sessions #######################
/*if (!isset($bbadminon) and !$bbadminon) {
$sessionhash="";
$bbuserinfo[userid]="";
$bbuserinfo[password]="";
}*/
require("./../admin/sessions.php");
find$getperms=$DB_site->query_first("SELECT cancontrolpanel FROM user,usergroup WHERE user.usergroupid=usergroup.usergroupid AND user.userid='$bbuserinfo[userid]'");
if ($getperms[cancontrolpanel]!=1) {
and replace with:
$getperms=$DB_site->query_first("SELECT ismoderator FROM user,usergroup WHERE user.usergroupid=usergroup.usergroupid AND user.userid='$bbuserinfo[userid]'");
if ($getperms[ismoderator]!=1) {
find cpheader("<title>Forums admin</title>");
?><br><br><br>
<table cellpadding="1" cellspacing="0" border="0" class="tblborder" align="center" width="450"><tr><td>
<table cellpadding="4" cellspacing="0" border="0" width="100%">
<?php maketableheader("Please Log in:","login",0,1); ?>
<tr class="firstalt" id="submitrow"><td align="center" nowrap><p>You are either not a valid administrator or have not logged in.</p>
<form action="../admin/index.php" method="post" id="submitrow">
and replace with
cpheader("<title>Forums Supermoderator</title>");
?><br><br><br>
<table cellpadding="1" cellspacing="0" border="0" class="tblborder" align="center" width="450"><tr><td>
<table cellpadding="4" cellspacing="0" border="0" width="100%">
<?php maketableheader("Please Log in:","login",0,1); ?>
<tr class="firstalt" id="submitrow"><td align="center" nowrap><p>You are either not a valid supermoderator or have not logged in.</p>
<form action="../supermod/index.php" method="post" id="submitrow">
that's all needed.
now you can copy files from your admin-cp to your supermod-cp
to which you want the should have access
be carefull and don't copie files which allow to change user/groups so they cannot kill your account ;)
copy the index.php and make the right links in it ;)
ok so much for now, no time anymore :)
hope you can use it
vBulletin® v3.8.12 by vBS, Copyright ©2000-2025, vBulletin Solutions Inc.