![]() |
Prefix Management - Forum prefix limited by usergroup
Another personal product, but thought I would share (I have no idea if anyone else has done this already).
What this mod does... I wanted to limit forum prefixes to just admin and moderators in some forums while allowing members in other usergroups to use them in other forums. This product lets you restrict who can use prefixes on a forum by forum basis. After installing the product you need to edit template 'newthread'. PLEASE NOTE: There are TWO (2) identical conditions that need replacing. Find the first one and replace... look about 10 lines down and you will see another. This needs replacing too! FIND: PHP Code:
PHP Code:
To restrict forum prefix by usergroup, goto 'Forum Manager'. Hope this is of use to someone else. |
installing now! i suggested this as a default feature along with several others. well needed!
|
Nice!... installed
|
yes something which is important, wish it was default.
|
Quote:
|
Installed and uninstalled. It did not fit my needs.
Is there any way to make it allow a certain usergroup access some of the thread prefix in that forum but no access to others? [Video] [Audio] [Specials] Regular members are required to use either [Video] or [Audio] Paid members are allowed to use [Audio] [Video] and [Specials] I hope it is understandable |
You need to edit template "Editpost" too!
|
Pretty nifty, but I also think it needs the ability to pick and choose specific phrases per forum. I have an FAQ/Support forum and I'd like to be able to prevent members from using certain prefixes I have setup, for they are really reserved for mods.
|
will this allow other users to SEE these results but not pick them?
|
I need to be able to allow/disallow certain prefixes in the drop-down based on usergroup.
|
Quote:
|
Quote:
|
nice work :)
|
Installed but ... Where is this in my AdminCp ?
*edit* found it |
Where is this in my AdminCp?
|
Great man!
|
This mod doesn't extend to edit post, and when i change the required text on the edit post template the thread prefix doesn't show up for any user group on edit post at all, not even the user group i selected it to show up for? think maybe it is a different code change needed on edit post?
can you help? great mod if we can get this sorted :-) |
User really cannot creation of topic with prefix. However, user can edit first post and add this prefix :)
|
Edit template "editpost"
Find Code:
<if condition="$prefix_options"> Code:
<if condition="$prefix_options AND ($prefix_allowed == "unrestricted" OR (is_member_of($vbulletin->userinfo, $prefix_allowed)))"> |
And other templates :
threadadmin_movethread threadadmin_editthread Because moderators have access to edit and add prefix... |
Quote:
Quote:
|
Can this get ported over on VB4 please?
Thanks |
Hello can some one please update this?
|
need same for 4.2!!! It seems that plugin works with 4.2 but template edit give error:
Code:
Parse error: syntax error, unexpected ')' in /home/.../adminfunctions_template.php(5423) : eval()'d code on line 62 |
All times are GMT. The time now is 02:32 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:
|