View Full Version : Insert page in admin section & Verification editting?
info355813
04-17-2009, 11:55 AM
Hi, I am trying to put an insert user page inside the admin section (so we can add users ourselves)- i used data assist to create the insert page...connected to the DB etc. just fine, however when I insert a user, it does not give them a verification code, and in turn, they can't confirm their email address. How would I fix this?
And, how would I add a field that allows me to select if I want that user to be verified or make them have to go through the email process? I am new to all of this so please help. Thank you very much.
Ray Borduin
04-17-2009, 12:01 PM
I would just copy the registration page and put it in the admin section. Then everything will already be in place.
Then you could add the checkbox option that you are referring to which could be set to update the email verified field and automatically mark them as verified. It could also be used to create a trigger so that no email is sent if they are pre-verified.
info355813
04-25-2009, 11:02 PM
Let me see if I can do this right. I would add a check box that is linked to the user verified record in the db and have the value of the check box be 1 if checked? If that is the correct... how do I also make it a trigger so that no email is sent at that point?
Also, I'm wanting to remove the CAPTCHA and security question on the user registration page I've copied to the admin section, how do I do this, while leaving the other one in place? I've tried just deleting it on the page but then the form won't work. Thanks for the help.
Ray Borduin
04-27-2009, 09:42 AM
The help documentation will walk you through removing the captcha I believe. You just need to remove a few lines in the validation code as well as deleting them on the page.
You can update the trigger to be something like:
<?php echo(isset("checkboxname")?"":"1") ?>
That is a trigger that would only send if the checkbox was not checked.
vBulletin® v3.8.1, Copyright ©2000-2012, Jelsoft Enterprises Ltd.