The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
Details »» | |||||||||||||||||||||||||
Description: Basically, this allows the moderator of a certain forum to add/take
access to users via access masks, however it only allows it if the forum they moderate has that option enabled. It also lists what users have access to a specified forum. Please NOTE! If you dont use the Moderator Control Panel (forum/mod/) Then this hack probably wont work, sorry! Install: Step1: First off, you will need phpMyAdmin, or something similar to add a column to the 'forum' database. I suggest you read > http://vbulletin.com/forum/showthrea...threadid=18558 for instructions on how to install it. Once you get that installed, go to the forum table, and scroll down till you see 'Add new field :', put 1 in the box, choose 'At the end of the table' and click Go. Call the field, 'allowmodaccess', its type, 'smallint' and size, '6'(all without quotes of course), then also choose default, and make it 0(zero) Step2: Now comes the modding of forum.php in the AdminCP. Find at approximatly Line 120 PHP Code:
PHP Code:
PHP Code:
PHP Code:
PHP Code:
PHP Code:
PHP Code:
PHP Code:
Find at approx line 124 PHP Code:
PHP Code:
Okay, this bit wont be easy :| Basically, make this file as below, however, there are a few bits your going to have to grab from user.php in the admin directory.(which i will explain down furthur) PHP Code:
PHP Code:
PHP Code:
Now you need to mod that code. Step5: >> Find PHP Code:
PHP Code:
PHP Code:
PHP Code:
PHP Code:
PHP Code:
PHP Code:
Find PHP Code:
PHP Code:
Phew, you should be done. Now go into your AdminCP, and modify all the forums you wish your users to be able to change/add accessmasks to and at the bottom, choose 'yes' for allow mods to change access masks. To access it, go to http://yourforum.url/forumpath/mod/ login, and hit the Add | Edit | View button on the menu. Thats all Folks! PS Phew for the 12345 char limit Show Your Support
|
Comments |
#62
|
||||
|
||||
Merks
|
#63
|
|||
|
|||
Somehow mine isnt working properly, even after my tests, i found no errors.
If you can wait about a week, i will have version2 out, which will hopefully work alot better(and the instructions will be alot better) |
#64
|
|||
|
|||
Is this using my additions to the hack?
If so, is the user an Admin or Super Mod ( usergroupid 5 or 6)? Is the account your trying to edit with a Moderator of the forum or any of its parents, Admin, or Super Mod? Need a bit more to go on here. |
#65
|
|||
|
|||
This can happen in forums where you have not enabled the feature for the Forum in the Admin CP. The ability to edit it is not derived from parent forums.
I get a blank page when listing forums and selecting one that I have not explicitly given Mods access to edit. |
#66
|
|||
|
|||
I have a request simliar to this. I need my moderators to be able to change the users profile options (namely user title and group). The default is that they can view it, but they can't change it. Are there any hacks out there that would allow them to edit the information too? I could really use this so I can stop having them have access to the main admin cp panel.
TIA |
#67
|
|||
|
|||
[QUOTE]Originally posted by PPN
i released a working version under a different thread, and i sorted the inheritance to be more than one level. http://vbulletin.com/forum/showthrea...threadid=28654 i also knew what i had done wrong in this version but its too much to fix XD |
#68
|
|||
|
|||
Quote:
|
#69
|
|||
|
|||
I did... no luck so far.
Quote:
|
#70
|
|||
|
|||
Please I hope this works for 2.2.5
|
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|