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
  #112  
Old 05-22-2006, 06:28 AM
kurtbarker kurtbarker is offline
 
Join Date: Nov 2005
Location: Kogarah, NSW
Posts: 304
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

i'll keep my eye out for it... thanks
Reply With Quote
  #113  
Old 05-24-2006, 03:28 AM
Ambie Ambie is offline
 
Join Date: Apr 2005
Posts: 28
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

This is nice. Thank you! One problem though. When I get the pm, and go to click on the approve link, I am getting this message.

This action can only be done through a vbAccessDenied approval pm.
Reply With Quote
  #114  
Old 05-24-2006, 04:17 AM
hambil's Avatar
hambil hambil is offline
 
Join Date: Jun 2004
Location: Seattle
Posts: 1,719
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

It's a security feature. There are two ways to get that message. 1) No pm was sent (or it didnt' get recorded in the database for some reason). 2) The person clicking the approve link is not one of the people the pm was sent too.
Reply With Quote
  #115  
Old 08-28-2006, 06:30 PM
kafi kafi is offline
 
Join Date: Apr 2004
Posts: 379
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

hambil thank you for this fantastic hack, I always had problems with generic alerts...

One suggestion though .-) I have pretty much sub-forums and would like to have inheriting message function (according to my testing id doesnt work). I mean that sub-forum will inherit the message from parent forum (if I tick it on) - the same way it inherit permissions...

Is this something possible/interesting for you to do? Please let me know, if not I will do this manually for all my forums (I have about 100 subforums - about third of them permissioned).

Installed - great hack .-)
Reply With Quote
  #116  
Old 08-28-2006, 07:49 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 kafi
hambil thank you for this fantastic hack, I always had problems with generic alerts...

One suggestion though .-) I have pretty much sub-forums and would like to have inheriting message function (according to my testing id doesnt work). I mean that sub-forum will inherit the message from parent forum (if I tick it on) - the same way it inherit permissions...

Is this something possible/interesting for you to do? Please let me know, if not I will do this manually for all my forums (I have about 100 subforums - about third of them permissioned).

Installed - great hack .-)
That's interesting. And I think it's probably pretty easily doable. I'll add it into the 3.6 update this week.
Reply With Quote
  #117  
Old 08-30-2006, 06:45 AM
kafi kafi is offline
 
Join Date: Apr 2004
Posts: 379
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Great news hambil, you made me happy today :-)

I found that it might be even more handy to have inheritions if it come to use also your per-script function within settings.
Reply With Quote
  #118  
Old 08-30-2006, 09:54 AM
kafi kafi is offline
 
Join Date: Apr 2004
Posts: 379
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

humbil, if you want to add PM title to phrases it will be great: $pmdm->set('title', 'vbAccessDenied PM from ' . $vbulletin->userinfo['username']);
I have translated for myself in plugin.
Reply With Quote
  #119  
Old 08-30-2006, 10:18 AM
kafi kafi is offline
 
Join Date: Apr 2004
Posts: 379
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

hambil me again :-)

I am not sure that I understand the flow of the PM.

PM is sent automatically although I do not know wheter the user will want to join the usergroup or not and therefor I do not know wheter to approve him.

My model situation:
I have an article forum where shouldnt be posted any questions or so - just articles. I have set up alert-message saying that he has not right to post in article forum and asking him wheter he is serious about adding new article or not...
1. Lets say he is not and I am getting request PM from him to join automatically ( I do not know wheter he is serious or not) ...yes I can disable PM, but I like the automated PM-request and therefor I would add sort of confirmation of the request from the users side (either link in PM sended to user asking him wheter he is serious about adding new article and want to join author group, or maybe direct link in alert-message where he may apply to join author group).

hmm is it possible/interesting for you to do? I have disabled currently autoPM request for the time being.
Reply With Quote
  #120  
Old 08-30-2006, 11:04 PM
hambil's Avatar
hambil hambil is offline
 
Join Date: Jun 2004
Location: Seattle
Posts: 1,719
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Yeah, I'm not sure I fully understand. Making the pm title so it is configurable is no problem, and a good idea. The other part you talk about I'll need to understand better...
Reply With Quote
  #121  
Old 08-31-2006, 07:42 AM
kafi kafi is offline
 
Join Date: Apr 2004
Posts: 379
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

sorry sometimes I am lost in expressing things in englis :-)))

Current situation:
- if I want to automate process of approving user for usergroup I tick "Send PM" and this PM with "Approve" link is send whenever any user try to post in forum that he doesnt have a permission for it.
- this PM is sent on users behlaf [I find this part a problem, because I do not know wheter user who attempted to post in certain forum is really interested in posting in this certain forum (what mostly happen is that some newbies push "new thread" button wherever they happen to be)]

Desired situation:
- I suggest not to send PM on users behalf to admin but rather send automated PM to user asking him "Are you interested in posting in XY forum and become member of XY usergroup?" In this very same PM he will have a link like "I want to join" and once he click the link admin gets application PM with "Aprove" link.
----------------------------------------

Model situation:
I have a forum with articles/tutorials. Lot's of newbies are posting here because they happen to read tutorial and they start new thread with questions. Then I need to moderate this forum. I would rather use permission base system with your customized annoncement saying that "This forum is dedicated to tutorials. If you are interested in posting tutorials, PM was sent to you with application link to join our tutorial authors usergroup. If you are not interested in posting tutorial, please ignore PM and find appropriate forum to post your thread".
------------------

hope it is a bit better now ? ;-)
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:07 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.05633 seconds
  • Memory Usage 2,311KB
  • 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
  • (1)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
  • (3)pagenav_pagelink
  • (1)pagenav_pagelinkrel
  • (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