Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > vBulletin 3.0 > vBulletin 3.0 Full Releases
IMG tags per usergroup per forum Details »»
IMG tags per usergroup per forum
Version: 1.00, by boozehound boozehound is offline
Developer Last Online: Sep 2007 Show Printable Version Email this Page

Version: 3.0.7 Rating:
Released: 03-03-2005 Last Update: Never Installs: 2
DB Changes
 
No support by the author.

This hack allows control over the user of IMG tags per usergroup, per forum. That means you can control exactly which people are allowed to post images and where.

There are a couple of small disclaimers. First, the settings page for this in admincp does not make use of phrases. Second, you may run into a problem with users editing their own posts if they have the mimetex hack installed, their usergroup is set to 'view only' for that forum, and they are using the WYSIWYG editor. Other than that, it seems to be working pretty much perfectly (been running for a week now with no other noticed problems).

--
Description

For every usergroup, for every forum, there is a setting which governs whether or not that usergroup can post images, just view them, or whether the behaviour defaults to whatever the forum is set to.

In admincp, go into the usergroup manager. In the dropdown list for each usergroup you will find a new option called 'IMG tags per forum'. When you choose this you will be taken to a new page.

In this new page, you will see a list of the forums, and next to each forum a radio button with three options (and handy 'all' buttons at the top so you don't have to go through them all one by one).

If you select 'post and view', that usergroup will be able to use IMG tags in that forum irrespective of whether IMG tags are switched on or off in that forum.

If you select 'view only', that usergroup will be able to see images embedded in posts posted by people who have the ability to use IMG tags in that forum, but they won't be able to post images themselves. If they try, the image will just be a link rather than being embedded in the post (the IMG tags are replaced with URL tags.

If you select 'forum default', the setting for that forum for that usergroup goes by what the forum's IMG tag settings are, i.e. if the forum has IMG tags off, they won't be able to post images, if it's on, they can.

--

Screenshot 1: IMG tag settings for the administrators usergroup
Screenshot 2: User 'a' has 'post and view' set for this forum, user '1' has 'view only'.

Show Your Support

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

Comments
  #2  
Old 03-04-2005, 08:54 PM
Mr_Bob's Avatar
Mr_Bob Mr_Bob is offline
 
Join Date: Jul 2004
Location: NJ, USA
Posts: 51
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Very nice, this is somthing I've wanted for a while. I'm a little sick of new members coming and posting images like mad then having to lower the max img amount. Nice work, great job.
*clicks install*
Reply With Quote
Reply

Thread Tools

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 04:14 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.08502 seconds
  • Memory Usage 2,195KB
  • Queries Executed 15 (?)
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
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (6)navbar_link
  • (120)option
  • (2)post_thanks_box
  • (2)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (2)post_thanks_postbit_info
  • (1)postbit
  • (2)postbit_onlinestatus
  • (2)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
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete