Go Back   vb.org Archive > vBulletin Modifications > Archive > Modification Graveyard
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools
vbAccessDenied Details »»
vbAccessDenied
Version: 1.1, by hambil hambil is offline
Developer Last Online: Apr 2013 Show Printable Version Email this Page

Category: Moderators Functions - Version: 3.5.4 Rating:
Released: 03-27-2006 Last Update: 04-05-2006 Installs: 40
Uses Plugins
Additional Files  
No support by the author.

Keywords: admincp, access denied, forum access, access, user, admin, usergroup


This modification contains a MySQL injection vulnerability, and you are hereby advised to unintall this modification until such time that the author provides a fix.
-- vBorg Staff



Description:
A powerful tool for customizing the generic vBulletin access denied message.

Translations
German (Thanks to alluidh)

Features:
  • Fully Phrased.
  • Turn on or off in admin cp.
  • Created a custom message for any vBulletin generic access denied message.
  • Personalize messages with any user, forum or usergroup information.
  • Automatically send a PM to one or more users the first time a member receives a specific access denied message.
  • Personalize the PM with any user, forum or usergroup information.
  • Add an approval link to the automatic PM that will give the user a new primary or secondary usergroup of your choice when clicked.
  • Send a PM to everyone who received the original access request, and the requesting user, when they are approved.
  • Several layers of security.
Use Case
On my board we only allow access to a few forums until a user has been approved by an admin. The sample screen shots show this process in action.

Install
  1. Download the vbAccessDenied_1.0.zip file.
  2. Unzip and upload the files in the upload directory to your forum root.
  3. Import the product file in your admincp.
  4. Create custom messages as desired.
1.1 Changes
  1. Supports bbcodes in messages (see updated screen shot).
  2. Fixed sql bug that prevented many messages from showing properly.
  3. Removed 255 character limit on messages.
Upgrade from 1.0 to 1.1
You will need to reupload all files, and uninstall and reinstall the product to upgrade from 1.0 to 1.1. Please copy your messages to a text editor first if you want to save them.

Show Your Support

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

Comments
  #42  
Old 03-29-2006, 08:58 PM
pugmy pugmy is offline
 
Join Date: Nov 2001
Posts: 12
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

installed
Reply With Quote
  #43  
Old 03-30-2006, 04:16 AM
Tyegurl's Avatar
Tyegurl Tyegurl is offline
 
Join Date: Mar 2006
Location: NY
Posts: 480
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

okay so how do i choose more than one forum to deeny for one group?
Reply With Quote
  #44  
Old 03-30-2006, 04:43 AM
hambil's Avatar
hambil hambil is offline
 
Join Date: Jun 2004
Location: Seattle
Posts: 1,719
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Tyegurl
okay so how do i choose more than one forum to deeny for one group?
You can duplicate the message, or use the * option for the forum - or set it up for a top level forum and it will also affect all the subforums because of how vBulletin works.

If people find they need a more powerful "multi-list box" kind of selection for forums and/or usergoups then I may consider adding that.
Reply With Quote
  #45  
Old 03-30-2006, 04:48 AM
Tyegurl's Avatar
Tyegurl Tyegurl is offline
 
Join Date: Mar 2006
Location: NY
Posts: 480
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

okay so there's no way to just hold ctrl and click.....that would be nice....have a mass denial for certain forums....can you do that?
Reply With Quote
  #46  
Old 03-30-2006, 04:52 AM
hambil's Avatar
hambil hambil is offline
 
Join Date: Jun 2004
Location: Seattle
Posts: 1,719
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Tyegurl
okay so there's no way to just hold ctrl and click.....that would be nice....have a mass denial for certain forums....can you do that?
Well, I'm not sure it's needed. Consider this: It only customizes the already existing "access denied" message. So - if you have 10 forums, and you have a usergroup that only has access to three of those forums, and you create a vbAccessDenied message with that usergroup name, and * for the forum, it will display whenever they try to access any of the seven forums they don't have access too.

vBulletin's usergroup, forum and promotion system is already very powerful - this hack builds on that, rather than replaces it.
Reply With Quote
  #47  
Old 03-30-2006, 05:28 AM
Tyegurl's Avatar
Tyegurl Tyegurl is offline
 
Join Date: Mar 2006
Location: NY
Posts: 480
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

okay so i get it lol * goes in the forum....duh see i am a little thick....wasn't quite understanding....

so you can make one denial for a group for all the forums vb has denied them.

or a denial for a forum for all groups?
Reply With Quote
  #48  
Old 03-30-2006, 05:34 AM
Tyegurl's Avatar
Tyegurl Tyegurl is offline
 
Join Date: Mar 2006
Location: NY
Posts: 480
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

well now i get a db error when i am unregisterd trying to access a page i shouldn't. i don't get a message about denial.

what have i done wrong?

SELECT * FROM accessdenied_message
WHERE usergroupid = 1
AND forumid =
AND (script = 'arcade(*)' OR script = '*');

MySQL Error : You have an error in your SQL syntax. Check the manual that corresponds to your MySQL server version for the right syntax to use near 'AND (script = 'arcade(*)' OR script = '*')' at line 4
Error Number : 1064
Date : Thursday, March 30th 2006 @ 12:32:57 AM
Script : http://www.teamrespawn.com/vBulletin/arcade.php
Referrer : http://www.teamrespawn.com/vBulletin/forum.php
Reply With Quote
  #49  
Old 03-30-2006, 05:36 AM
hambil's Avatar
hambil hambil is offline
 
Join Date: Jun 2004
Location: Seattle
Posts: 1,719
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Tyegurl
so you can make one denial for a group for all the forums vb has denied them.
Yup!

Quote:
Originally Posted by Tyegurl
or a denial for a forum for all groups?
For all groups who vb has denied that forum, anyway.

Also, the messages are handled from specific to generic. So, if you have a group with a * for forum, and then you have the same group with a specific forum and a different message, they'll get the specific message for that forum, but the general one for all others.

The order is:
Specific message
General Usergroup Message
General Forum Message
Reply With Quote
  #50  
Old 03-30-2006, 05:37 AM
hambil's Avatar
hambil hambil is offline
 
Join Date: Jun 2004
Location: Seattle
Posts: 1,719
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Tyegurl
well now i get a db error when i am unregisterd trying to access a page i shouldn't. i don't get a message about denial.

what have i done wrong?

SELECT * FROM accessdenied_message
WHERE usergroupid = 1
AND forumid =
AND (script = 'arcade(*)' OR script = '*');

MySQL Error : You have an error in your SQL syntax. Check the manual that corresponds to your MySQL server version for the right syntax to use near 'AND (script = 'arcade(*)' OR script = '*')' at line 4
Error Number : 1064
Date : Thursday, March 30th 2006 @ 12:32:57 AM
Script : http://www.teamrespawn.com/vBulletin/arcade.php
Referrer : http://www.teamrespawn.com/vBulletin/forum.php
This should be fixed if you download the latest zip file.
Reply With Quote
  #51  
Old 03-30-2006, 05:39 AM
Tyegurl's Avatar
Tyegurl Tyegurl is offline
 
Join Date: Mar 2006
Location: NY
Posts: 480
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

if its the one i downloaded tonight from the top of the page then yes.

nm i uploaded the wrong one dammit....i will fix thanks!
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 11:39 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.04384 seconds
  • Memory Usage 2,315KB
  • Queries Executed 25 (?)
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
  • (5)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (4)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (11)post_thanks_box
  • (11)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (11)post_thanks_postbit_info
  • (10)postbit
  • (11)postbit_onlinestatus
  • (11)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