Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > vBulletin 3.7 > vBulletin 3.7 Add-ons
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools
Prefix Management - Forum prefix limited by usergroup Details »»
Prefix Management - Forum prefix limited by usergroup
Version: 1.00, by woostar woostar is offline
Developer Last Online: Nov 2023 Show Printable Version Email this Page

Category: New Posting Features - Version: 3.7.x Rating:
Released: 06-05-2008 Last Update: Never Installs: 37
Template Edits
 
No support by the author.

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.

Supporters / CoAuthors

Show Your Support

  • This modification may not be copied, reproduced or published elsewhere without author's permission.

Comments
  #2  
Old 06-06-2008, 12:49 AM
uberjon uberjon is offline
 
Join Date: Sep 2006
Posts: 22
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

installing now! i suggested this as a default feature along with several others. well needed!
Reply With Quote
  #3  
Old 06-06-2008, 01:23 AM
TCattitude's Avatar
TCattitude TCattitude is offline
 
Join Date: Oct 2004
Location: Chile
Posts: 195
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Nice!... installed
Reply With Quote
  #4  
Old 06-06-2008, 05:25 AM
Hornstar Hornstar is offline
 
Join Date: Jun 2005
Location: Australia
Posts: 2,469
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

yes something which is important, wish it was default.
Reply With Quote
  #5  
Old 06-06-2008, 12:10 PM
Max Paint Max Paint is offline
 
Join Date: Mar 2008
Posts: 26
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by hornstar1337 View Post
yes something which is important, wish it was default.
/sign
Reply With Quote
  #6  
Old 06-07-2008, 04:12 AM
edongski edongski is offline
 
Join Date: Jul 2005
Posts: 18
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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
Reply With Quote
  #7  
Old 06-22-2008, 10:24 PM
djilou djilou is offline
 
Join Date: Dec 2006
Posts: 119
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

You need to edit template "Editpost" too!
Reply With Quote
  #8  
Old 06-24-2008, 08:21 PM
lazserus's Avatar
lazserus lazserus is offline
 
Join Date: Mar 2004
Location: Planet Earth
Posts: 72
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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.
Reply With Quote
  #9  
Old 06-27-2008, 02:49 PM
RedGTiVR6 RedGTiVR6 is offline
 
Join Date: Dec 2006
Location: Little Elm, TX
Posts: 817
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

will this allow other users to SEE these results but not pick them?
Reply With Quote
  #10  
Old 06-29-2008, 11:58 PM
Dennis Olson Dennis Olson is offline
 
Join Date: Jul 2004
Location: Wisconsin
Posts: 137
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I need to be able to allow/disallow certain prefixes in the drop-down based on usergroup.
Reply With Quote
Reply


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

Forum Jump


All times are GMT. The time now is 03:11 PM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2024, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.04917 seconds
  • Memory Usage 2,291KB
  • Queries Executed 24 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (2)bbcode_php
  • (1)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (6)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (2)pagenav_pagelink
  • (10)post_thanks_box
  • (10)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (10)post_thanks_postbit_info
  • (9)postbit
  • (10)postbit_onlinestatus
  • (10)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.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/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.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
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete