![]() |
Custom errors for users that cannot post!
This hack will present custom errors to users explaining that they need to verify thier email, or, that they are COPPA and they need to have their parent/guardian send in the approval form.
I made this hack because I was getting 80 emails a day askining: "why cant I post?" This hack is an improvent to the basic idea Mas*Mind had on his email verification hack. This has been updated to include coppa users and to work in vbb 2.3.0. I believe it will work in versions 2.1 and later.. Download the attached file and follow the instructions. This hack requires one cut -n- paste to functions.php and two templates (all included). That's it! Lemmie know how it turns out. |
you should add this in a text file or something and attach it. so idiots that have illegal or cracked vB's cant use it :) its in the rules as well. Thanks for sharing though
|
They cant view it anyway
Thanks! |
I would, but for the life of me I cant seem to figure out how to edit this post. I note that when I make changes they are reflected in the Hacks DB only, not in this forum.
ALso, there is no option to upload a file once you have submitted the thread. |
Hit the "edit" button, on the lower, right side of your post. It takes the place of where the report button should be.
|
Jeepha,
what was the name of the original hack you found? I have an older version of vbulletin and cannot find the hack you referenced in the requests forum thanks in advance |
|
thank you
|
What permissions should be used for Awaiting Email Confirm?
|
I'm not sure I understand your question. I think you are asking for what template to use for awaiting email confirmation.....
in that case use : error_nopermission_awaiting_moderation Now, if you follow my instructions you really dont need to know anything except how to get into your templates section of your admin panel, it is all cut n paste from there. |
sorry, for the usergroup settings for Users Awaiting Email COnfirmation, I have everything checked to no, it works, but when when I click to change the email address, it shows the same page...
|
Try hitting refresh.
You can set the permissions on the group to whatever you want. But if the user cannot post when they hit New Thread or Reply, then this hack will give them the reason they cannot post. |
Quote:
this code actually error_nopermission_awaiting_email_confirmation and error_nopermission_awaiting_moderation Quote:
and the templates should have the same respected names error_nopermission_awaiting_email_confirmation and error_nopermission_awaiting_moderation also, if you turn on WAITING for MODERATION option, for new members, you need to change the error_nopermission_awaiting_moderation template |
WHat?
error_nopermission_awaiting_moderation is for those that have not checked email. Why would you care to change the names of the templates? They do the exact same thing. You are just confusing people. |
Quote:
I just want to make it more detailed, and clear, for those who have the "Moderate New Members" option turned on People can use your hack, or make changes, of their choice :). Sorry if I made anyone confuse. here's why: In USERGROUP list, there're two group called (COPPA) Users Awaiting Moderation -- groupid=4 Users Awaiting Email Confirmation ---- groupid=3 Ofcouse you can use any name that you want to, (it still works with whatever name you call it). However, "Awaiting Email Confirmation" is a little bit different from "Awaiting Moderation" If you have your "Verify Email address in registration" option turned on, new users will have to check email before their account is activated. their groupid will be 3. (so, you can call them "awaiting email confirmation", or "awaiting moderation", it doesnt matter) The problem comes up when you have the "Moderate New Members" option turned on. After a new member verify his/her email (if this option turned on) by click on the activation link, he/she will be moved to groupid4, which is (COPPA) Users Awaiting Moderation. So, this group is for both COPPA AND other members who's waiting for moderation. What should you call these members, but "awaiting moderation", as the group name is? I'd add some more detail on the templates, and change their names, to fit my need. My replacement code would be: (PLEASE NOTE that, I've CHANGED the TEMPLATE names, to fit my need, DONT be confused. If you apply hacks, you should understand what you are doing ) Code:
// ###################### Start show_nopermission ####################### and, the two templates are: template1:error_nopermission_awaiting_email_confirmation Code:
<p align="center">ATTENTION! ACTION IS REQUIRED BEFORE YOU CAN POST:<br> template2: error_nopermission_awaiting_moderation Code:
<p align="center"><font color=red><b>ATTENTION! YOUR ACCOUNT IS UNDER MODERATION:</b></font><br> |
Thnx mtha, your modifications are more in line with what I need for this hack.
|
oops, it's not my hack, yxboom. it's Jeepha's :) and I'm not going to steal it from him :)
dont forget to thank him, for the original one. Modifications are just for fit your customizations ;;) |
All times are GMT. The time now is 03:27 AM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|