![]() |
|
Mod Options |
![]() |
|||||||||||||||||||||||||||
Limit Thread Prefix by Usergroup
![]() Developer Last Online: Apr 2009 ![]() ![]() ![]() This modification is in the archives.
/*======================================================================*\ || #################################################################### || || # ---------------- 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):
Replace with:
3. MAKE FILE EDIT (2) ------------------------------------------------ Find (approx. Line 448):
Replace with:
] 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
No members have liked this post.
|
![]() |
||||
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
|
|||
|
|||
nice one mate!
![]() ps. it's time to put an avatar ... ![]() No members have liked this post.
|
#3
|
|||
|
|||
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 ![]() No members have liked this post.
|
#4
|
|||
|
|||
done well. Thanks for all your help. Ive done some further testing and all seems to work fine.
No members have liked this post.
|
#5
|
||||
|
||||
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.
No members have liked this post.
|
#6
|
|||
|
|||
No members have liked this post.
|
#7
|
|||
|
|||
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?
No members have liked this post.
|
#8
|
|||
|
|||
nope - you can set the user groups per forum via a setting....
No members have liked this post.
|
#9
|
|||
|
|||
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. No members have liked this post.
|
#10
|
|||
|
|||
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! ![]() No members have liked this post.
|
#11
|
|||
|
|||
No problem. I'm glad my first modification has been bug free
![]() No members have liked this post.
|
#12
|
|||
|
|||
thanks. Very nice mod!
No members have liked this post.
|
#13
|
||||
|
||||
Excuse me, but how do you actually edit the permissions?
No members have liked this post.
|
#14
|
|||
|
|||
You can set the permissions when adding/editing the Prefix Set.
No members have liked this post.
|
#15
|
||||
|
||||
Eh? I took a look at that, and there was nothing there.
No members have liked this post.
|
![]() |
«
Previous Mod
|
Next Mod
»
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
Mod Options | |
|
|
New To Site? | Need Help? |
All times are GMT. The time now is 12:29.