|
Joined: Mar 2000
Posts: 528
Junior Member
|
Junior Member
Joined: Mar 2000
Posts: 528 |
So as an Administrator I click on a user, and it brings me to his profile page, where I can click on "Edit this User". This takes me to an Admin "selectoption" page which allows me to choose from a number of Admin functions for that user.
As a Moderator if you click Edit this User, it takes you to their Profile page...where you cannot add and remove them from groups.
Is there an easy way for a Moderator to get to the Edit Groups option?
|
|
|
|
Joined: Mar 2000
Posts: 528
Junior Member
|
Junior Member
Joined: Mar 2000
Posts: 528 |
Correct, and they can get to a link like that by going into Admin - Show/Edit Users - Search for Specific user, and clicking their name.
A bit involved if a Moderator has no idea how to get there.
Whereas an Admin can click any name, click Edit this User - and click Edit Groups.
I guess I am more asking if anyone knows why the "Edit this User" function for a moderator takes you to the Edit Profile page, whereas for an Admin it takes you to the Selection Page. I would think the Moderator would get the same SelectOption page with less options.
|
|
|
|
Joined: Aug 2000
Posts: 1,609
Addict
|
Addict
Joined: Aug 2000
Posts: 1,609 |
Open up menu.php from your admin folder. You will notice there is a section for Administrators and a section for Moderators. Copy this: <br /> $html -> open_admin_table();<br />echo <<<EOF<br /> <tr><td valign=top class=tdheader><br /> <b>{$ubbt_lang['GROUP_MAN']}</b> <br /> </td></tr> <br /> <tr><td width=30% valign=top class=lighttable><br /> <a href="{$config['phpurl']}/admin/creategroup.php?Cat=$Cat" target="mainFrame"><br /> {$ubbt_lang['CREATE_GROUP']} <br /> </a><br /> <br><br /> <a href="{$config['phpurl']}/admin/showgroups.php?Cat=$Cat&action=rename" target="mainFrame"><br /> {$ubbt_lang['REN_GROUP']} <br /> </a><br /> <br><br /> <a href="{$config['phpurl']}/admin/showgroups.php?Cat=$Cat&action=delete" target="mainFrame"><br /> {$ubbt_lang['REMOVE_GROUP']}<br /> </a><br /> <br><br /> <a href="{$config['phpurl']}/admin/selectgroup.php?Cat=$Cat" target="mainFrame"><br /> {$ubbt_lang['MASS_GROUP']} <br /> </a><br />EOF;<br /> $html -> close_table();<br /> from the Administrator section and add it to the Moderator section.
|
|
|
|
Joined: Nov 2001
Posts: 10,369
I type Like navaho
|
I type Like navaho
Joined: Nov 2001
Posts: 10,369 |
Waaaay easier than that..... In showprofile.php Find this: $useredit .= "<a href="{$config['phpurl']}/admin/login.php?Cat=$Cat&User=$User&option=oneuser">{$ubbt_lang['EDIT_T_U']}</a> | "; Change to this: $useredit .= "<a href="{$config['phpurl']}/admin/login.php?Cat=$Cat&User=$User&option= option">{$ubbt_lang['EDIT_T_U']}</a> | ";
|
|
|
|
Joined: Jun 2003
Posts: 1,025
Junior Member
|
Junior Member
Joined: Jun 2003
Posts: 1,025 |
See, that's why Josh makes the big bucks.
|
|
|
|
Joined: Oct 2003
Posts: 2,305
Old Hand
|
Old Hand
Joined: Oct 2003
Posts: 2,305 |
$useredit .= "<a href="{$config['phpurl']}/admin/login.php?Cat=$Cat&User=$User&option=option">{$ubbt_lang['EDIT_T_U']}</a> | ";
this is the line as I have it in 6.4.1
|
|
|
|
Joined: Nov 2001
Posts: 10,369
I type Like navaho
|
I type Like navaho
Joined: Nov 2001
Posts: 10,369 |
Look futher down - that's the line the admin gets - the moderator normally gets the one that says "oneuser" at the end. It occurs twice in the file.
|
|
|
|
Joined: Mar 2000
Posts: 528
Junior Member
|
Junior Member
Joined: Mar 2000
Posts: 528 |
So do you guys think this is something that UBB.Threads might want to change for the official releases?
I flipped mine to work that way as well, just was not sure why it was linked differently for Mods.
|
|
|
|
Joined: Oct 2003
Posts: 2,305
Old Hand
|
Old Hand
Joined: Oct 2003
Posts: 2,305 |
because ya never wanna give mods too much powa or it will go to their heads.. it should have a switch in the config.inc.php to allow this...
|
|
|
Donate to UBBDev today to help aid in Operational, Server and Script Maintenance, and Development costs.
Please also see our parent organization VNC Web Services if you're in the need of a new UBB.threads Install or Upgrade, Site/Server Migrations, or Security and Coding Services.
|
|
Posts: 808
Joined: July 2001
|
|
Forums63
Topics37,573
Posts293,925
Members13,849
|
Most Online5,166 Sep 15th, 2019
|
|
Currently Online
Topics Created
Posts Made
Users Online
Birthdays
|
|
|
|