PDA

View Full Version : New Posting Features - Prefix Management - Forum prefix limited by usergroup


woostar
06-05-2008, 10:00 PM
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:
<if condition="$prefix_options">
REPLACE WITH:
<if condition="$prefix_options AND ($prefix_allowed == "unrestricted" OR (is_member_of($vbulletin->userinfo, $prefix_allowed)))">


To restrict forum prefix by usergroup, goto 'Forum Manager'.


Hope this is of use to someone else.

uberjon
06-06-2008, 12:49 AM
installing now! i suggested this as a default feature along with several others. well needed!

TCattitude
06-06-2008, 01:23 AM
Nice!... installed

Hornstar
06-06-2008, 05:25 AM
yes something which is important, wish it was default.

Max Paint
06-06-2008, 12:10 PM
yes something which is important, wish it was default.

/sign

edongski
06-07-2008, 04:12 AM
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

djilou
06-22-2008, 10:24 PM
You need to edit template "Editpost" too!

lazserus
06-24-2008, 08:21 PM
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.

RedGTiVR6
06-27-2008, 02:49 PM
will this allow other users to SEE these results but not pick them?

Dennis Olson
06-29-2008, 11:58 PM
I need to be able to allow/disallow certain prefixes in the drop-down based on usergroup.

RedGTiVR6
06-30-2008, 12:28 PM
will this allow other users to SEE these results but not pick them?

Yes.

Dutchytje
07-20-2008, 06:08 PM
I need to be able to allow/disallow certain prefixes in the drop-down based on usergroup.

I would like to able to use this option aswell.

studentsforum
08-06-2008, 11:02 PM
nice work :)

RobbieZ
08-12-2008, 06:23 PM
Installed but ... Where is this in my AdminCp ?

*edit* found it

DWZ_Webmaster
08-18-2008, 02:57 PM
Where is this in my AdminCp?

edermix
10-05-2008, 08:06 PM
Great man!

technom8t
10-18-2008, 06:01 PM
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 :-)

Dimoks
03-18-2009, 03:14 PM
User really cannot creation of topic with prefix. However, user can edit first post and add this prefix :)

Dimoks
03-18-2009, 03:27 PM
Edit template "editpost"

Find
<if condition="$prefix_options">

REPLACE WITH:
<if condition="$prefix_options AND ($prefix_allowed == "unrestricted" OR (is_member_of($vbulletin->userinfo, $prefix_allowed)))">

Dimoks
05-06-2009, 05:47 PM
And other templates :

threadadmin_movethread
threadadmin_editthread

Because moderators have access to edit and add prefix...

Charlie98902
05-28-2009, 11:20 PM
You need to edit template "Editpost" too!

Edit template "editpost"

Find
<if condition="$prefix_options">

REPLACE WITH:
<if condition="$prefix_options AND ($prefix_allowed == "unrestricted" OR (is_member_of($vbulletin->userinfo, $prefix_allowed)))">

Thanks for this info as I had a regular user edit his/her post then added a prefix. I hold a support forum so there is only 3 prefixes I have and a user can't state resolved or inactive when they just posted :) Came here then to see the editpost part needed.

Charlie98902
11-15-2009, 11:29 PM
Can this get ported over on VB4 please?

Thanks

Charlie98902
12-25-2009, 01:29 AM
Hello can some one please update this?

M.C.
01-14-2013, 08:42 AM
need same for 4.2!!! It seems that plugin works with 4.2 but template edit give error: Parse error: syntax error, unexpected ')' in /home/.../adminfunctions_template.php(5423) : eval()'d code on line 62