Register Members List Search Today's Posts Mark Forums Read

Reply
 
Mod Options
Limit Thread Prefix by Usergroup Details »
Limit Thread Prefix by Usergroup
Mod Version: 1.0, by Opserty (Member) Opserty is offline
Developer Last Online: Apr 2009 I like it Show Printable Version Email this Page

This modification is in the archives.
vB Version: 3.7.1 Rating: (5 votes - 5.00 average) Installs: 28
Released: 24 Jun 2008 Last Update: Never Downloads: 86
Not Supported DB Changes Uses Plugins Code Changes Additional Files  

/*======================================================================*\
|| #################################################################### ||
|| # ---------------- LIMIT THREAD PREFIX BY USERGROUP -------------- # ||
|| # ---------------------- CREATED BY OPSERTY ---------------------- # ||
|| # This modification may not be redistributed without prior consent # ||
|| #################################################################### ||
\*======================================================================*/


WARNING: THIS MODIFICATION REQUIRES FILE EDITS.
Please follow all instructions carefully before attempting to use this modification


What does this modification do?
This modification allow you to control which Usergroups have access to use certain prefix sets. For example in a Help/Bug Report forum, you may only want to allow staff to prefix problems into categories.

Why does this modification require file edits?
The AdminCP has a minimal number of hook locations onto which to attach plugins, this is done for security and stability reasons by the vBulletin team. Therefore it has not been possible to make this modification 'file edit' free.

What versions of vBulletin does this modification work with?
This modification has been tested to work with 3.7.1, however it will most probably also work on 3.7.0. Please note I cannot offer support for help with this modification on 3.7.0 so if you experience problems it will be best to upgrade to 3.7.1 and then see if your errors are resolved.

How to install:
(These instructions are detailed also in the README file attached in the ZIP Archive.)


1. IMPORT PRODUCT
------------------------------------------------

Import the product as normal through the AdminCP.

AdminCP > Plugins & Products > Manage Products


2. UPLOAD FILE
------------------------------------------------

Upload functions_opserty_prefix_ugps.php to the '/includes/' directory of your forum root


3. MAKE FILE EDIT (1)
------------------------------------------------

Download and Open admincp/prefix.php from your vBulletin installation. (Code additions have been highlighted in Green)

You will need to edit the file in a plain text editor, notepad or wordpad will do fine.

Find (approx. Line 303):



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.

3. MAKE FILE EDIT (2)
------------------------------------------------

Find (approx. Line 448):


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.

]


4. UPLOAD
------------------------------------------------

Upload the newly edited prefix.php to your server and test away =]

If you receive PHP Parse errors it means you have probably edited prefix.php incorrectly, download a new copy of prefix.php from vBulletin.com and try editing the file again.

Remember to undo file edits and remove files, if you uninstall this product in order to avoid errors in future.

I have done my best to test this modification, however if you notice any bugs please post them in this thread so I can look into them.

Please do not private message me for support with this modification, all support will be given through this thread ONLY.

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.
  • If you like this modification support the author by donating.
  • This modification may not be copied, reproduced or published elsewhere without author's permission.
Similar Mod
Mod Developer Type Replies Last Post
New Posting Features Prefix Management - Forum prefix limited by usergroup woostar vBulletin 3.7 Add-ons 23 14 Jan 2013 09:42

  #16  
Old 15 Jul 2008, 16:38
zhabbo's Avatar
zhabbo zhabbo is offline
 
Join Date: Aug 2006
OK, found it. Thanks for support and release.
Reply With Quote
  #17  
Old 04 Aug 2008, 07:19
superjeff superjeff is offline
 
Join Date: Apr 2007
Thank you for this!
__________________
Sorry for my english - TechForum.it
Reply With Quote
  #18  
Old 04 Aug 2008, 11:23
Opserty Opserty is offline
 
Join Date: Apr 2007
You are most welcome
Reply With Quote
  #19  
Old 08 Aug 2008, 00:41
RLShare RLShare is offline
 
Join Date: Jun 2008
Thanks alot for this Opserty, using this I was able to create a front page/semi-CMS where the staff can control whats shown and where its shown on the front page by using certain prefixes on threads. It saved me alot of work.
Reply With Quote
  #20  
Old 08 Aug 2008, 22:38
Opserty Opserty is offline
 
Join Date: Apr 2007
No problem.

Note as of 4th Aug. vBulletin has announced a similar feature in 3.8 development update:
Thread Prefix Permissions
For those who want to be able to limit the ability of their users to access thread prefixes and prefix sets, vBulletin 3.8 now gives you that ability.
As such, further development of this modification seems unlikely. I will however try to ensure that any bugs are fixed.
Reply With Quote
  #21  
Old 16 Aug 2008, 09:21
oz_girl's Avatar
oz_girl oz_girl is offline
 
Join Date: Mar 2008
great mod, reserved
Reply With Quote
  #22  
Old 05 Nov 2008, 04:58
nando99 nando99 is offline
 
Join Date: Dec 2005
Real name: Fernando
So you can only set usergroup permission when adding new thread prefixes? When I go to edit a prefix, I don't see a way to edit usergroup permissions...

Nevermind.... The permissions are on the prefix set not on individual prefixes... thanks!

Last edited by nando99; 05 Nov 2008 at 05:07.
Reply With Quote
  #23  
Old 06 Dec 2008, 21:10
puertoblack2003's Avatar
puertoblack2003 puertoblack2003 is offline
 
Join Date: Aug 2005
works well on 3.7.4
__________________
Android Custom Creations
Reply With Quote
  #24  
Old 08 Jun 2009, 14:22
FreneZy FreneZy is offline
 
Join Date: Sep 2008
The mod did not works anymore since I upgraded vB to 3.8.1
I have included the file change to the new adminCP prefix.php file.

Seems that the userCP is unable to change anything on the prefix "group" rights.
When I add a new group to enable it to use a prefix, it still is unable to do.
When I remove a group, it still is enable to use prefixes !

So there is something strange and I don't find what ! HELP !!!
Reply With Quote
  #25  
Old 12 Jun 2009, 19:21
FreneZy FreneZy is offline
 
Join Date: Sep 2008
bump
Reply With Quote
  #26  
Old 22 Jul 2009, 05:11
yotsume's Avatar
yotsume yotsume is offline
 
Join Date: Jan 2007
I need this for a 3.7x site so I am going to give it a try. It looks very promising!
__________________
Yotsume
Kaydev Media Productions
Check out my mods
:
EYO-AIM, FlashChat Combo-Module for vBadvanced 3.6x or 3.7x
Reply With Quote
  #27  
Old 04 Oct 2009, 13:17
dimmicosacerchi dimmicosacerchi is offline
 
Join Date: Jun 2009
Is compatible with 3.8.4?
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 09:06.

Layout Options | Width: Wide Color: