The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
![]() |
|||||||||||||||||||||||||
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 |
#32
|
||||
|
||||
![]()
I have the same problem:
Usergroup enabled: Yes Forum Enabled: Yes "You do not have permission to do this" I've spent a few hours making sure everything you had said is correctly done, or at least I hope it is. I also noticed the error at the end of the file which Darkreaper mentioned. Thanks |
#33
|
|||
|
|||
![]()
Well..? Why isn't this working?
|
#34
|
|||
|
|||
![]()
I recently formatted and install Win 2k, so sorry for not replying. I will try and install it on a fresh vbulletin and see if i get the same error. Hopefully I won't.
Last question, does your admin usergroup also have super moderator set to yes, as I'm presumming your testing this as the admin user. |
#35
|
|||
|
|||
![]()
I was testing using the account of a regular forum user who I had set to be able to do this.
Well...I just tested it with my account and it worked fine. You mentioned being a super moderator. Do I have to enable this for the person/category for it to work? I think I remember you mentioning having a hack that allows moderators to be given the ability to change the styles for their forums. Do you? Or is that someone else? |
#36
|
|||
|
|||
![]()
This hack is for allowing moderators to give access to the forums they moderate(or take.)
The styles hack for moderators is coming, but its more complex, and im adding more options for control. |
#37
|
|||
|
|||
![]() Quote:
![]() |
#38
|
|||
|
|||
![]()
Ah, okay
![]() |
#39
|
|||
|
|||
![]()
No, the user only has to be a moderator of a forum and if they are also a super mod then they will show all forums. If you wish to enable it for people who are not moderators then it would involve editing of everything within the vBulletin mod panel.
Scott |
#40
|
|||
|
|||
![]()
I made the person a moderator, enabled it for his usergroup, and enabled it for his forum, and it still doesn't work.
|
#41
|
|||
|
|||
![]() PHP Code:
|
![]() |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|