Register Members List Search Today's Posts Mark Forums Read

Reply
 
Mod Options
Display Forum Name and Usergroup in Forum Permission Table Head Details »
Display Forum Name and Usergroup in Forum Permission Table Head
Mod Version: 1.00, by Stretchr (Member) Stretchr is offline
Developer Last Online: Nov 2013 I like it Show Printable Version Email this Page

This modification is in the archives.
vB Version: 2.2.x Rating: (0 vote - 0 average) Installs: 22
Released: 18 Jan 2002 Last Update: Never Downloads: 1
Not Supported  

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:


Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

Replace with:

Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

Note the line that is not indented must stay that way!

Next Find:

Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

Replace with:

Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.


Still in admin/forumpermission.php,
Find:

Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

and Replace with:

Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

Finally, still in admin/forumpermission.php
Find:

Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

Replace with:

Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

Save and upload the file to your admin directory and that's it! Enjoy the hack.

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.

Download Now

Only licensed members can download files, Click Here for more information.

Show Your Support

  • To receive notifications regarding updates -> Click to Mark as Installed.
  • This modification may not be copied, reproduced or published elsewhere without author's permission.
Comments
  #2  
Old 18 Jan 2002, 20:45
Stretchr's Avatar
Stretchr Stretchr is offline
 
Join Date: Jan 2002
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:
Attached Images
File Type: jpg screen.jpg (38.0 KB, 307 views)
__________________
It's a small world.....
But I wouldn't want to paint it!
Stephen Wright

Last edited by Stretchr; 18 Jan 2002 at 21:02.
Reply With Quote
  #3  
Old 18 Jan 2002, 20:49
Shenlong's Avatar
Shenlong Shenlong is offline
 
Join Date: Nov 2001
can we get a demo plz?
Reply With Quote
  #4  
Old 18 Jan 2002, 22:42
Stretchr's Avatar
Stretchr Stretchr is offline
 
Join Date: Jan 2002
Look one post back. There's a screen shot.
__________________
It's a small world.....
But I wouldn't want to paint it!
Stephen Wright
Reply With Quote
  #5  
Old 19 Jan 2002, 01:17
MrLister's Avatar
MrLister MrLister is offline
 
Join Date: Oct 2001
thanks. I'm just about to do permissions for my forums so it comes in handy.
Reply With Quote
  #6  
Old 19 Jan 2002, 07:51
Stretchr's Avatar
Stretchr Stretchr is offline
 
Join Date: Jan 2002
Code changed and text file updated to fix small problem that Forum Name did not display for Custom permissions.
__________________
It's a small world.....
But I wouldn't want to paint it!
Stephen Wright
Reply With Quote
  #7  
Old 19 Jan 2002, 18:02
Stretchr's Avatar
Stretchr Stretchr is offline
 
Join Date: Jan 2002
Question

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?
__________________
It's a small world.....
But I wouldn't want to paint it!
Stephen Wright
Reply With Quote
  #8  
Old 19 Jan 2002, 18:41
mem mem is offline
 
Join Date: Oct 2001
nice hack
i like it......
Reply With Quote
  #9  
Old 19 Jan 2002, 19:57
Shenlong's Avatar
Shenlong Shenlong is offline
 
Join Date: Nov 2001
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
Reply With Quote
  #10  
Old 19 Jan 2002, 20:07
Stretchr's Avatar
Stretchr Stretchr is offline
 
Join Date: Jan 2002
You're very welcome. It's nice to be able to give something back after all the great hacks I've used from here.
__________________
It's a small world.....
But I wouldn't want to paint it!
Stephen Wright
Reply With Quote
  #11  
Old 25 Jan 2002, 19:28
Stretchr's Avatar
Stretchr Stretchr is offline
 
Join Date: Jan 2002
Glad it's working well for you. If anyone runs into a bug or a problem, please feel free to post it here so I can get you fixed up!

Originally posted by Shenlong
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
__________________
It's a small world.....
But I wouldn't want to paint it!
Stephen Wright
Reply With Quote
  #12  
Old 01 Feb 2002, 19:05
Dark_Wizard Dark_Wizard is offline
 
Join Date: Nov 2001
Real name: Bob
Nice hack...wish I would have seen this earlier.
Reply With Quote
  #13  
Old 04 Feb 2002, 09:04
Stretchr's Avatar
Stretchr Stretchr is offline
 
Join Date: Jan 2002
FYI, this hack has also been tested and works as written on vB 2.2.2 final.
__________________
It's a small world.....
But I wouldn't want to paint it!
Stephen Wright
Reply With Quote
  #14  
Old 23 May 2002, 05:35
rstark rstark is offline
 
Join Date: May 2002
For VB version 2.2.5, it doesn't show the (COPPA) Users Awaiting Moderation group in the table.
Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Mod Options

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off


New To Site? Need Help?

All times are GMT. The time now is 20:17.

Layout Options | Width: Wide Color: