MyBB Community Forums

Full Version: a question in form registration
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Hi :-)

i want to put simply a question in form registration (for new users):
so new user must tell me a answer (anyway, i don't want to memorize answer)

how i can?
Yaldaram, thanks for that plugin.
i tried it some time ago and it doesn't work.
i don't know why :-(

it is possible to put a "question in form registration" in another way?
for example, simply by a modify to member.php file?


if that doesn't work then try this : Signup Questions
However I am using above one mentioned by Yaldaram. refreshing for a new question is not working..
ranjani, thanks but i'm finding a "simple system for a question" :-|

---


for example in a Wordpress blog i used this solution:

in theme file for comments, i put

<input type="text" name="validate" id="validate" size="22" tabindex="4" /> 
<label for="validate"><small> DO YOU LIKE PIZZA?
</small></label>

and then in php file for comments, i put

// If the user is logged in
get_currentuserinfo();
if ( $user_ID ) :
        $comment_author       = addslashes($user_identity);
        $comment_author_email = addslashes($user_email);
        $comment_author_url   = addslashes($user_url);
else :

      $comment_validate = trim($_POST['validate']);

if ($comment_validate != "PIZZA")
die("ERROR! TRY AGAIN!");

endif;


this is a very easy and very light solution.
and answer is not memorized. only verified.
it is possibile a similar solution also for Mybb forum?


sorry, I could not get the purpose of it.. may be you can try Custom Profile Fields
(2011-06-28, 07:49 AM)ranjani Wrote: [ -> ]sorry, I could not get the purpose of it.. may be you can try Custom Profile Fields

at the moment i'm using a "Custom Profile Field"! i created it!
but when a new user put info in a "Custom Profile Field", he can put different answers and then these answers are memorized :-(