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 |
#2
|
|||
|
|||
Sorry about the wrapping(or lack of it)
It took too long to write, so im not going to bother going thru it all and fix it all up :| Hope you all enjoy it! PS, there is no demo, unless someone is willing to set one up. But it works, my moderators are using it as we read this! |
#3
|
|||
|
|||
Yay! You think you could shove that in a text file though?
|
#4
|
|||
|
|||
I didnt even think of that
Too late now anyway Oh well! |
#5
|
|||
|
|||
n/t
|
#6
|
|||
|
|||
Thanks buddy
|
#7
|
|||
|
|||
Great man,
this is exactly the stuff, i was lookin 4 Running an Online Gaming Board its cool to give the mods of certain forums (mostly the 'Clanleaders') the possibility to add certain users (mostly 'Clanmembers' ) to their internal forums. Haven't installed it yet, but I guess this is it -Alex |
#8
|
|||
|
|||
Thats exactly why i wrote it
Ive almost finished another one that allows them to modify the specific forum colours as well |
#9
|
|||
|
|||
ERROR IN HACK
I have found an error. I have many moderators who do not reside in the moderator usergroup. Expect a workaround in about 2/3 hours. Sorry! (that means only supermods and admins and mods who still reside in the mod usergroup can see it) |
#10
|
|||
|
|||
Hey,
are you in some kind of temporal flux?? Your timeline seems not to be the same as mine -Alex |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|