Go Back   vb.org Archive > vBulletin Modifications > Archive > Modification Graveyard

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
  #72  
Old 04-06-2006, 06:37 PM
scottct1 scottct1 is offline
 
Join Date: Mar 2002
Location: Connecticut
Posts: 391
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Here is what I am seeing...

The before is in the admin panel using the big editor.

The after is the message folks are actually seeing...

Thanks for your help!
Reply With Quote
  #73  
Old 04-06-2006, 06:47 PM
scottct1 scottct1 is offline
 
Join Date: Mar 2002
Location: Connecticut
Posts: 391
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by hambil
Try creating the message using the WYSIWYG editor, when switching to the standard editor (button in the top right of the editor will do that). Then copy and pasting the message into vbAccessDenied. That should work.
Tried that, no go, the BB Code displays correctly in the admin control panel (see picture 1)

However when the message is displayed to the user its all garbled up as seen in the second picture.

Thanks again!
Reply With Quote
  #74  
Old 04-06-2006, 07:02 PM
scottct1 scottct1 is offline
 
Join Date: Mar 2002
Location: Connecticut
Posts: 391
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Ok I got it...

I had to use HTML instead of BBcodes and it all worked fine. The error messages now properly display.

Thanks again!
Reply With Quote
  #75  
Old 04-06-2006, 07:26 PM
hambil's Avatar
hambil hambil is offline
 
Join Date: Jun 2004
Location: Seattle
Posts: 1,719
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by scottct1
Ok I got it...

I had to use HTML instead of BBcodes and it all worked fine. The error messages now properly display.

Thanks again!
The bbcode parser somehow didn't make it into the product file. Ack! I've updated the product file, and doing an install with allow overwrite should enable bbcode with no harm done. Though you may need to change the html back to bbcode afterwards, I'm not sure.
Reply With Quote
  #76  
Old 04-07-2006, 09:09 AM
Xplorer4x4 Xplorer4x4 is offline
 
Join Date: Apr 2005
Posts: 938
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

PHP Code:
Database error in vBulletin 3.5.4:

Invalid SQL:

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

MySQL Error  You have an error in your SQL syntaxcheck the manual that corresponds to your MySQL server version for the right syntax to use near 'AND (script = 'private(*)' OR script = '*')' at line 4
Error Number 
1064
Date         
FridayApril 7th 2006 10:05:28 AM
Script       
http://www.domsforums.net/private.php
Referrer     :
IP Address   :
Username     Unregistered
Classname    
vb_database 
I got this trying to send a PM as a user waiting email conformation. It says unregistered but I was infact registered.
Reply With Quote
  #77  
Old 04-07-2006, 09:20 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 Xplorer4x4
PHP Code:
Database error in vBulletin 3.5.4:

Invalid SQL:

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

MySQL Error  You have an error in your SQL syntaxcheck the manual that corresponds to your MySQL server version for the right syntax to use near 'AND (script = 'private(*)' OR script = '*')' at line 4
Error Number 
1064
Date         
FridayApril 7th 2006 10:05:28 AM
Script       
http://www.domsforums.net/private.php
Referrer     :
IP Address   :
Username     Unregistered
Classname    
vb_database 
I got this trying to send a PM as a user waiting email conformation. It says unregistered but I was infact registered.
Make sure you'd downloaded and installed the lastest zip. This problem was fixed a while back.
Reply With Quote
  #78  
Old 04-09-2006, 11:49 PM
hambil's Avatar
hambil hambil is offline
 
Join Date: Jun 2004
Location: Seattle
Posts: 1,719
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I'm taking this off Beta. It hasn't had any complaints or bugs in a while
Reply With Quote
  #79  
Old 04-18-2006, 05:10 PM
computer1 computer1 is offline
 
Join Date: Feb 2005
Posts: 91
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I have install this nowe and markt the forum movies to the moderator group
but when I login to the forum whit normal user I can se and write to that section movies howe can I fix this??.

Can I use admin group I cant finde that groupe ???
here is the link to that section
http://forum.wrestlingsidan.se/showt...?p=644#post644

I dont nowe where is the wrong whit this
Reply With Quote
  #80  
Old 04-18-2006, 05:14 PM
hambil's Avatar
hambil hambil is offline
 
Join Date: Jun 2004
Location: Seattle
Posts: 1,719
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by computer1
I have install this nowe and markt the forum movies to the moderator group
but when I login to the forum whit normal user I can se and write to that section movies
You mark it to the group you want to get the message. So, if you want normal users to get the message then deny them posting access to the forum (in forum settings) and then mark the access denied message as "movies" forum and "normal" usersgroup (whatever your normal usergroup and movies forum is called).
Reply With Quote
  #81  
Old 05-11-2006, 09:18 PM
MissKalunji's Avatar
MissKalunji MissKalunji is offline
 
Join Date: Aug 2003
Location: Canada
Posts: 2,845
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

is it possible to use that to block access to example download section? its not in a forum but its apart of vb?
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 01:08 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.10877 seconds
  • Memory Usage 2,320KB
  • 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
  • (2)bbcode_php
  • (4)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