The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
Comments |
#12
|
|||
|
|||
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...
|
#13
|
|||
|
|||
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. |
#14
|
||||
|
||||
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 |
#15
|
|||
|
|||
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. |
#16
|
||||
|
||||
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 ####################### function show_nopermission() { global $bbtitle,$logincode,$url,$scriptpath,$bbuserinfo,$session; // generate 'logged in as:' box or username and pwd box if (!$logincode) { $logincode=makelogincode(); } else if ($bbuserinfo[userid]==0) { eval("standarderror(\"".gettemplate("error_nopermission_loggedout")."\");"); } else if($bbuserinfo[usergroupid] == 3) { eval("standarderror(\"".gettemplate("error_nopermission_awaiting_email_confirmation")."\");"); } else if($bbuserinfo[usergroupid] == 4) { eval("standarderror(\"".gettemplate("error_nopermission_awaiting_moderation" )."\" );" ); } else { eval("standarderror(\"".gettemplate("error_nopermission_loggedin")."\");"); } exit; } and, the two templates are: template1:error_nopermission_awaiting_email_confirmation Code:
<p align="center">ATTENTION! ACTION IS REQUIRED BEFORE YOU CAN POST:<br> You have recently registered at $bbtitle but <b>have not activated your account.</b> </p> <p align="left"> <br> When you registered, an email was automatically sent to the address $bbuserinfo[email]. That email has a link you need to click on to activate your account. You will not be able to post until you click on the activation link within that email and enter your email address. If you did not received the activation email or you have already deleted it, <a href="register.php?s=$session[sessionhash]&action=requestemail">click here</a> to receive the email again. </p> <p>If you still don't receive your activation email, then you have probably entered an incorrect email address. You can correct it by editing your <a href="member.php?s=$session[sessionhash]&action=editprofile">profile</a>. </p> template2: error_nopermission_awaiting_moderation Code:
<p align="center"><font color=red><b>ATTENTION! YOUR ACCOUNT IS UNDER MODERATION:</b></font><br> You have recently registered at $bbtitle. However, your account <b>have not been activated.</b> </p> <p align="left"> <br> When you registered with $bbtitle, your information will be verified by $bbtitle Staff. $bbtitle Staff will check all the required information in your account.<br> - If you dont have the information filled correct and clear, your account may not be activated. you can correct the information by editing your <a href="member.php?s=$session[sessionhash]&action=editprofile">profile</a>.<br> <br> - If you have all the information filled correct, you may have registered at $bbtitle as a child under age 13. A COPPA form was sent to the email address you entered in the ?Parent/Guardian Email Address? section.<br> <b>You will not be able to post until your parent/guardian returns the COPPA form to $bbtitle Staff. </b> Please have your parent/guardian check her/his email account and send in the completed form so you can post. <br> - Otherwise, your account should be activated soon.<br> <br> If you have any question, please contact our $bbtitle Staff. </p> <p>Thank you,<br><br> -$bbtitle Staff </p> |
#17
|
||||
|
||||
Thnx mtha, your modifications are more in line with what I need for this hack.
|
#18
|
||||
|
||||
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 ; |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|