Description:
This hack uses AJAX to check if the user name is taken and also displays errors and reasons why the user messed up on the registration form. Look at attached example picture.
Installation Instructions:
(If you don't have the unregistered usergroup set to Can View Forum = YES then you will have to follow the normal steps then apply this fix: https://vborg.vbsupport.ru/showpost....&postcount=136)
1) Import the Product (make sure you have an original register template, or use the [manual edits])
2) Upload the images and javascript
3) Also Add these to your Additional CSS Definitions for your style:
Can you post actual manual template modifications and the plugins to disable if we want to do these manually to a customized registration template? Would come in handy for those who don't want to be limited in the look of this form.
Seconded! This automatic template modification thing seems to be the latest trend. I'm sure it's helpful for some, but it's a huge pain for many.
come on it's been days and I'm working with hundreds of visitors a day and i need to get this working... un-installed until a fix has been implemented, cheers
come on it's been days and I'm working with hundreds of visitors a day and i need to get this working... un-installed until a fix has been implemented, cheers
I have to agree! Everything seems to be working fine me except when I used symbols like: < > % ^ & $ # @ - then the rego form just does stupid stuff!
It doesn't bother me to much now though as I don't have a lot of registrations happening at the moment.
Yes, i am using this ^[A-Z0-9 ]+$. But also a username like "Jeff" gives still "Contains invalid characters".
Thats probably because your using "Jeff" and it would like to see "JEFF"
Quote:
Originally Posted by b6gm6n
Still stuck on usernames... i.e everything is permitted! - I'm sure there was some code to check , I'm sure the database i have my username table in isn't being read or checked... how do i point the checking of usernames to my vB database? - please advise
-b6
I'm not sure why yours isn't working it uses the VB database function so its taking your info from your config.php so it should work fine. It also uses your table prefix if it set.
Quote:
Originally Posted by Wayne Luke
Can you post actual manual template modifications and the plugins to disable if we want to do these manually to a customized registration template? Would come in handy for those who don't want to be limited in the look of this form.
Yes ill do this as soon as possible, I have an older version but updates have not been made. The only issue is that it needs to at least add the Javascript to the header of the template, because it designates specific Javascript valuables values.
Quote:
Originally Posted by rayw
I have to agree! Everything seems to be working fine me except when I used symbols like: < > % ^ & $ # @ - then the rego form just does stupid stuff!
It doesn't bother me to much now though as I don't have a lot of registrations happening at the moment.
Yes ill do this as soon as possible, I have an older version but updates have not been made. The only issue is that it needs to at least add the Javascript to the header of the template, because it designates specific Javascript valuables values.
Do you mean the phrases? They can be parsed at runtime. I modified my templates manually and simply added the javascript in the following format:
<script type="text/javascript">
<!--
var ajaxreg_email_error_1 = "$vbphrase[ajaxreg_email_error_1]";
var ajaxreg_email_error_2 = "$vbphrase[ajaxreg_email_error_2]";
var ajaxreg_email_error_3 = "$vbphrase[ajaxreg_email_error_3]";
var ajaxreg_email_error_4 = "$vbphrase[ajaxreg_email_error_4]";
... ETC....
-->
</script>