Ajax user registration forn chek, accepting terms of use
Plug-in for user registration form check with Ajax. Users can see registration errors without page reboot. Also allows to output the requirement to user to accept a registration terms before form sending.![]()
Easy localisation with the the lang - files. Included: english, russian
Installation:
- copy "an_adv_registration" folder from archive into "plugins" folder on your server.
- Correct registration form in the users.register.tpl, form header:
<form name="register" id="register" action="{USERS_REGISTER_SEND}" method="post">
(important: name="register" id="register" )
- In the same file place next tags:
{USERS_REGISTER_USER_MSG} - the message about login is outputs here.
{USERS_REGISTER_EMAIL_MSG} - here message about e-mail
{USERS_REGISTER_PASSWORD_MSG} - here message about password
{USERS_REGISTER_PASSWORDREPEAT_MSG} - here message about password confirm
{USERS_REGISTER_TERMS_CHK} - registration terms
{USERS_REGISTER_TERMS_MSG} - registration terms message
{USERS_REGISTER_SEND_MSG} - Send Form preloader. You can place it before
<input type="submit" value="{PHP.L.Submit}" />
You can find the sample of the users.register.tpl file this in archive.
Not minifed JS file also included.
- Install plugin in the administrator panel
<form name="register" id="register" action="{USERS_REGISTER_SEND}" method="post">
<input type="submit" value="{PHP.L.Submit}" />
Are we able to set the min requirements for the fields through this plugin?
Such as min password length and char type?
When you do not add an email while registering you get all kind of php error messages on top of the page.
Warning: mb_strpos() [function.mb-strpos]: Empty delimiter in /home/armaholi/public_html/testers/armaholictest/system/core/users/users.register.inc.php on line 88 Warning: mb_strpos() [function.mb-strpos]: Empty delimiter in /home/armaholi/public_html/testers/armaholictest/system/core/users/users.register.inc.php on line 88 Warning: mb_strpos() [function.mb-strpos]: Empty delimiter in /home/armaholi/public_html/testers/armaholictest/system/core/users/users.register.inc.php on line 88 Warning: mb_strpos() [function.mb-strpos]: Empty delimiter in /home/armaholi/public_html/testers/armaholictest/system/core/users/users.register.inc.php on line 88
I have no this error on my site. http://portal30.ru/ (but it on Russian)
If you do not add an email while registering, you'll see error: "You have to input your e-mail"
Total: 5, on page: 5
P.S. If you have jQuery UI.dialog installed on your site, terms of use displays with it. If you have not jQuery UI.dialog, registration terms of use displays through simple popup browser window.
======================
Совсем забыл указать:
Если у Вас установлен jQuery UI.dialog, то для отображения правил регистрации используется он. Если нет, то правила регистрации отображаются через обычное popup окно браузера.