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 08:42

Comments
  #2  
Old 24 Jun 2008, 18:54
KURTZ KURTZ is offline
 
Join Date: Nov 2006
Real name: Christian
nice one mate!

ps. it's time to put an avatar ...
Reply With Quote
  #3  
Old 24 Jun 2008, 19:06
Opserty Opserty is offline
 
Join Date: Apr 2007
Glad you like it

Well hopefully if I hang around here long enough I might be able to bribe an Admin into getting me promoted and be then be able to get my sticky mits on a vB.org Staff Avatar
Reply With Quote
  #4  
Old 25 Jun 2008, 21:16
Gamezod Gamezod is offline
 
Join Date: Jan 2008
Real name: Dan Bell
done well. Thanks for all your help. Ive done some further testing and all seems to work fine.
Reply With Quote
  #5  
Old 25 Jun 2008, 22:27
FleaBag's Avatar
FleaBag FleaBag is offline
 
Join Date: Dec 2001
Great work, thank you. I needed this to allow me to post "Site News" on my vBadvanced without allowing regular users to do so too.
__________________
AndroidETC.com :: Android, and other stuff.
Reply With Quote
  #6  
Old 27 Jun 2008, 15:51
RedGTiVR6 RedGTiVR6 is offline
 
Join Date: Dec 2006
Real name: Jan
How is this mod different from this one?

http://www.vbulletin.org/forum/showthread.php?t=181644
Reply With Quote
  #7  
Old 27 Jun 2008, 15:54
Charlie98902 Charlie98902 is offline
 
Join Date: Dec 2006
Originally Posted by RedGTiVR6 View Post
How is this mod different from this one?

http://www.vbulletin.org/forum/showthread.php?t=181644
That one is limited to just mods and admins. I think this one still allows users to use prefixes but only the ones you let them?
Reply With Quote
  #8  
Old 27 Jun 2008, 16:33
RedGTiVR6 RedGTiVR6 is offline
 
Join Date: Dec 2006
Real name: Jan
nope - you can set the user groups per forum via a setting....
Reply With Quote
  #9  
Old 28 Jun 2008, 10:09
Opserty Opserty is offline
 
Join Date: Apr 2007
RedGTiVR6 - That modification is done on a per forum basis I believe (i.e. enable usergroups to use any prefixes in a forum or not).

Where as this modification is per prefix set. With this one you can still allow people to use selected prefixes but restrict certain prefixes to certain User groups, for example only Administrators could use an "Announcement" prefix or something.
Reply With Quote
  #10  
Old 01 Jul 2008, 04:05
transparent transparent is offline
 
Join Date: Apr 2008
I installed this and it works perfect! I was gonna put in a feature request and then I found this and it's exactly what I needed.

Thank you so much Opserty!
Reply With Quote
  #11  
Old 03 Jul 2008, 12:03
Opserty Opserty is offline
 
Join Date: Apr 2007
No problem. I'm glad my first modification has been bug free
Reply With Quote
  #12  
Old 13 Jul 2008, 20:10
Slaxi Slaxi is offline
 
Join Date: Aug 2006
thanks. Very nice mod!
Reply With Quote
  #13  
Old 15 Jul 2008, 14:39
zhabbo's Avatar
zhabbo zhabbo is offline
 
Join Date: Aug 2006
Excuse me, but how do you actually edit the permissions?
Reply With Quote
  #14  
Old 15 Jul 2008, 15:13
Opserty Opserty is offline
 
Join Date: Apr 2007
You can set the permissions when adding/editing the Prefix Set.
Reply With Quote
  #15  
Old 15 Jul 2008, 15:18
zhabbo's Avatar
zhabbo zhabbo is offline
 
Join Date: Aug 2006
Eh? I took a look at that, and there was nothing there.
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 02:25.

Layout Options | Width: Wide Color: