![]() |
This is a simple hack designed to address what may be merely an oversight in the Forumpermission Table. When you're editing a forum, the name of that forum appears in the table head, but when you're editing the permissions, it doesn't. When you're modifying a long string of forum permissions, it's easy to forget which one you're currently doing. This hack addresses that issue and only requires 3 lines of code to the admin/forumpermission.php file. I couldn't have completed this hack without the help of MrLister, who showed me the variable I'd been fruitlessly searching for.
Here's my first hack: In admin/forumpermission.php, find: PHP Code:
PHP Code:
Next Find: PHP Code:
PHP Code:
Still in admin/forumpermission.php, Find: PHP Code:
PHP Code:
Find: PHP Code:
PHP Code:
If you have any problems with this hack, please do not email or PM me. Post them to this board so that others can benefit from our experiences. |
It's in the txt file but not in the post so FYI:
This hack written and tested on vB 2.2.1 Here's a screen shot: |
can we get a demo plz?
|
Look one post back. There's a screen shot. ;)
|
thanks. I'm just about to do permissions for my forums so it comes in handy. :)
|
Code changed and text file updated to fix small problem that Forum Name did not display for Custom permissions.
|
I'm surprised this hasn't gotten a bigger response. It's a little hack but it seemed to be a necessity when you're doing a bunch of Permissions. I'm wondering if it's not really popular because not so many boards use individual permissions for their forums? Any feedback?
|
nice hack
i like it...... |
Installed it and my hackers (not real hackers, just ppl who do stuff on my forum) are jumping for joy! thanks so much and i really enjoy the hack..well...they do ;)
|
You're very welcome. It's nice to be able to give something back after all the great hacks I've used from here. :)
|
All times are GMT. The time now is 03:48 AM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|