vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.7 Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=228)
-   -   New Posting Features - Prefix Management - Forum prefix limited by usergroup (https://vborg.vbsupport.ru/showthread.php?t=181644)

woostar 06-05-2008 10:00 PM

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:

<if condition="$prefix_options"

REPLACE WITH:
PHP Code:

<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

Quote:

Originally Posted by hornstar1337 (Post 1542072)
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.


All times are GMT. The time now is 01:54 PM.

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.01105 seconds
  • Memory Usage 1,737KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (2)bbcode_php_printable
  • (1)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (2)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete