PDA

View Full Version : Miscellaneous Hacks - ajaxReg - Ajax Registration, with instant field checking


Pages : [1] 2 3

Coders Shack
04-13-2007, 10:00 PM
value. . . . . . . . Brought to you by
https://vborg.vbsupport.ru/
. . . http://www.Scriptasy.com (http://scriptasy.com/)


value

Live Demo: ajaxReg 4.0.0 (http://scriptasy.com/register.php)

Installation Time: < 2 mins
Files: 3
Product: 1
VB Version: 3.X.X
v3.0.1
fixed the apostrophe issue
v3.0.2
added banned username check
fixed image url
v3.0.3

fixed banned username check for people that don't have banned phrases
v3.0.4
fixed the apostrophe issue for real instead of just not letting it be used
uses your username min character settings
uses your regex for usernames if set in the registration settings
(fixed for forums that have unregistered users set to cant view forum, look below for more info, its red.)
v3.0.5
fixed minor issue
added vbsettings option
v3.0.6
fixed slashes error
v3.0.7
fixed email match
added email in use check
v3.0.8
added password strength meter *requested
v3.0.9
removed email is taken by "username" *requested
fixed [manual template edits (http://codersshack.com/forums/vbulletin-mods_29/ajaxreg-ajax-registration-instant-field-checking_6.html#post195)]
v3.1.0
fixed ajax vulnerabilities *
added captcha check, thats right :D
v3.1.1
added captcha check to all captcha fields. 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.php?p=1237384&postcount=136)

1) Import the Product (make sure you have an original register template, or use the [manual edits (http://codersshack.com/forums/vbulletin-mods_29/ajaxreg-ajax-registration-instant-field-checking_6.html#post195)])
2) Upload the images and javascript
3) Also Add these to your Additional CSS Definitions for your style:
.inputgood {
width: 211px;
border: 1px solid Green;
}
.inputbad {
width: 211px;
border: 1px solid Red;
}If you like then [Mark As Installed (https://vborg.vbsupport.ru/vborg_miscactions.php?do=installhack&threadid=144869)]

MathewC
04-14-2007, 07:44 PM
thanks. was looking for this. :]

Coders Shack
04-14-2007, 07:45 PM
thanks. was looking for this. :]
this is updated version. no template edits and fully phrased.

subzero06
04-14-2007, 08:31 PM
wasn't this released already?
Did u fixed the apostrophe problem?

Coders Shack
04-14-2007, 08:33 PM
wasn't this released already?
Did u fixed the apostrophe problem?
yes by chad, but he let me take it over. And he was unable to fix the apostrophe issue.

Ill see what i can do tho.

Coders Shack
04-14-2007, 08:49 PM
ok fixed the apostrophe issue. Just re-upload the files and re-install the product.

anywares
04-14-2007, 08:51 PM
awesome! clicks install

Red Spider
04-14-2007, 08:55 PM
Awsome - thanky yoo :D

Lizard King
04-14-2007, 09:05 PM
Some international characters work and some don't. Can there be a solution for this ?
ü , ö , ç is working however ğ , ı , ş isn't working

Coders Shack
04-14-2007, 09:13 PM
What character set are the ones that are not working from?

and is your template set to use that character set.

Hornstar
04-14-2007, 09:28 PM
hey so this one checks if it is a valid email address? what things will it look for in that aspect.

Thanks.

Lizard King
04-14-2007, 09:36 PM
What character set are the ones that are not working from?

and is your template set to use that character set.
my encoding is Iso-8859-9

Working characters are : ? , ? , ?

Not working ones are : ğ , ı , ş

Thanks for even trying to fix

Coders Shack
04-14-2007, 09:49 PM
my encoding is Iso-8859-9

Working characters are : ? , ? , ?

Not working ones are : ğ , ı , ş

Thanks for even trying to fix
man i cant get it to work.

GilraenVardamir
04-14-2007, 10:15 PM
Cyrillic isn't working :(

FreshFroot
04-14-2007, 10:20 PM
Nice stuff, btw.. NOT many people use those types of charcters.. or atleast at my forums. So as long as it works for the basical alphabetical characters.. it's good enough for me.

Thanks.

Coders Shack
04-14-2007, 10:23 PM
im just not sure how to make it use those character sets.

Like the issue is that the character is being passed through javascript.

subzero06
04-14-2007, 10:25 PM
ok fixed the apostrophe issue. Just re-upload the files and re-install the product.

Very nice!
Thank you

subzero06
04-14-2007, 11:01 PM
Here,
The Spanish version.:up:

hcmagix
04-14-2007, 11:39 PM
Hey :)
german vb users have a same hack since oct 2006 :)
You can find it here (http://www.vbhacks-germany.org/showthread.php?t=5725&highlight=Ajax)

@Coders Shack should I translate your hack as alternate?

Mr Chad
04-14-2007, 11:54 PM
Hey :)
german vb users have a same hack since oct 2006 :)
You can find it here (http://www.vbhacks-germany.org/showthread.php?t=5725&highlight=Ajax)

@Coders Shack should I translate your hack as alternate?
I actually have translations already but am not sure how to export it as multi languages.

Spanish, German, Turkish, French...

Skavenger
04-15-2007, 12:13 AM
You should use '$stylevar[imgdir_misc]' instead of '/images/misc' in the register.js file

Coders Shack
04-15-2007, 12:37 AM
I actually have translations already but am not sure how to export it as multi languages.

Spanish, German, Turkish, French...
I'm not sure either on that.
You should use '$stylevar[imgdir_misc]' instead of '/images/misc' in the register.js file
fixed.

stwilson
04-15-2007, 05:13 AM
Mine is working but the images are not found. Here is where it is looking:

http://website.com/forums/$stylevar[imgdir_misc]/bad.gif

I followed the instructions. Any suggestions?

thincom2000
04-15-2007, 05:13 AM
Does anyone know how to make this work for NoSpam! and for CAPTCHA?

Coders Shack
04-15-2007, 05:15 AM
it works with capatcha. dunno what NoSpam is tho.

thincom2000
04-15-2007, 05:29 AM
:confused: I don't see any CAPTCHA phrases or plugin mentions in the product, nor do I see anywhere where the AJAX checks to see if the CAPTCHA was entered correctly.

What do I have to do to make it start doing this?

Mr Chad
04-15-2007, 06:23 AM
:confused: I don't see any CAPTCHA phrases or plugin mentions in the product, nor do I see anywhere where the AJAX checks to see if the CAPTCHA was entered correctly.

What do I have to do to make it start doing this?
... theres two plugins and like 20 phrases ...

there is no need for captcha phrases or plugin mentions... It uses the normal system. And it doesn't use ajax for the captcha... But the captcha is still functional. This just uses the Username, email, password fields.

please refer to the screen shot.

Asterik
04-15-2007, 06:37 AM
I'm having the exact same problem. Any suggestions?

Mr Chad
04-15-2007, 07:11 AM
I'm having the exact same problem. Any suggestions?

screen shot, demo, anything?

dbirosel
04-15-2007, 07:22 AM
Can we also have this integrated with it?

https://vborg.vbsupport.ru/showthread.php?t=124828

thincom2000
04-15-2007, 07:47 AM
And it doesn't use ajax for the captcha... But the captcha is still functional. This just uses the Username, email, password fields.

Well that brings us to my original question: Has anyone been able to modify this to use ajax for the captcha (and nospam)?

Wulfnoth
04-15-2007, 08:07 AM
Mine is working but the images are not found. Here is where it is looking:

http://website.com/forums/$stylevar[imgdir_misc]/bad.gif

I followed the instructions. Any suggestions?
I have the same problem. Is there any solution for it?

Replicators
04-15-2007, 09:00 AM
I want to give a big thank you for this, i was looking for this hack not long ago, and for the life of me, couldn't find it, thx to chad for letting you handle it, and thanks to you for releasing it again.

(Installed)

EDIT: The above posters are right, there are no images showing, let me look into the code and see if i can fix it.

rayw
04-15-2007, 09:16 AM
I have the same problem. Is there any solution for it?

I had this same problem. I'm not sure if it's something to do with my forums being hosted in a sub-domain (which a lot of forums are), but I opened up the register.js file and changed $stylevar[imgdir_misc] with images/misc/. This fixed the problem for me.

I also noticed that it comes up with Unregistered as the username when the registration page is first displayed. Anyone else seeing this as well?

aceofspades
04-15-2007, 09:45 AM
I have a problem, not only does it not check it inline, i have to click on the next tab for it to check it, but also its looking for my images here:

http://www.myforum.com/dev/$stylevar[imgdir_misc]/good.gif

Whats up with that?

rayw
04-15-2007, 09:54 AM
In my AdminCP, I have listed as an Illegal Username administrator. However, when I type this in when registering, it says administrator is available. I think this mod needs to query these illegal usernames as well as the user database.

Great mod, lots of potential, but there a few little things that need to be fixed before I go using it on a my production forum.

Floris
04-15-2007, 10:56 AM
/$stylevar[imgdir_misc]/bad.gif
To fix this, simply update the register.js file and hard code it in.

That said, feature request.
Could it also check if the username entered in the form is "allowed"?
There are names like root or admin or others.. on the cencor or ban list.

JD45
04-15-2007, 04:03 PM
nice and easy install, works perfect! Thanks!

Dead End Society
04-15-2007, 04:03 PM
That fix too care of it, my images are now showing, but when testing, it says that taken names are available.

I'm about to uninstall till they get this right. Just too buggy in both versions.

Coders Shack
04-15-2007, 04:30 PM
well theses errors i cant reproduce as for the image one... someone in this thread told me to update the js and change the path.

tsh4life
04-15-2007, 04:47 PM
whenever i input anything into the username box i get it turns the text to from

tsh4life

to

<?xml version="1.0" encoding="windows-1252"?>

but password and email works perfectly..

please help

Coders Shack
04-15-2007, 06:31 PM
you have ajax turned on in the admin cp?

sait.dogan
04-15-2007, 07:12 PM
Originally Posted by Lizard King my encoding is Iso-8859-9 Working characters are : ü , ö , çNot working ones are : ğ , ı , şThanks for even trying to fix man i cant get it to work.Dear,Coders Shack, my encoding is Iso-8859-9 Working characters are : ü , ö , çNot working ones are : ğ , ı , şNO working your mod turkish characters.Please update this mod. Thank you very much.

Coders Shack
04-15-2007, 09:32 PM
fixed image location and added banned username check too.

Coders Shack
04-15-2007, 09:35 PM
there is a change look look @ first post.

HMBeaty
04-15-2007, 09:36 PM
there is a change look look @ first post.

Yeah, sorry. Just noticed, so I deleted my post. Thanks :)

rayw
04-16-2007, 03:55 AM
Thanks for the updates Coders Shack. I will install again now and see how things go.

EDIT: Banned username check isn't working I don't think. When I type in administrator, it still says it is available.

Coders Shack
04-16-2007, 05:07 AM
hmm i might of made a mistake.

i was testing with two banned usernames and only testing the 2nd 1

dbirosel
04-16-2007, 05:10 AM
Can we also have this integrated with it?

https://vborg.vbsupport.ru/showthread.php?t=124828

Coders Shack
04-16-2007, 05:12 AM
Thanks for the updates Coders Shack. I will install again now and see how things go.

EDIT: Banned username check isn't working I don't think. When I type in administrator, it still says it is available.
fixed.

Coders Shack
04-16-2007, 05:20 AM
Can we also have this integrated with it?

https://vborg.vbsupport.ru/showthread.php?t=124828
they work fine together... but to make the field check if the answer is correct would defeat the purpose of the no spam addon, because the answer would have to be hard coded into the page or another ajax request would have to be made... and personally i don't think its worth it.

rayw
04-16-2007, 06:02 AM
fixed.

You sure?

In vBulletin Options > User Registration Options > Illegal User Names.

I can still use the usernames listed here. This is what it is querying, yes? I'm asking just to make sure I'm getting confused with something else.

Coders Shack
04-16-2007, 06:42 AM
yea im sure try my registration i have "catch22 admin testing" banned.

Im not sure why yours isnt working.

aLReeMi
04-16-2007, 08:24 AM
nice,

thanks

pxd
04-16-2007, 08:35 AM
I might be missing something, but I can't get the username to validate, keeps saying
XXXXX contains a banned phrase. What do do?

UPDATE: Figured it out, I had to enter at least a username in the banned list, having it empty will cause the error.

/me clicks install

rayw
04-16-2007, 09:47 AM
yea im sure try my registration i have "catch22 admin testing" banned.

Im not sure why yours isnt working.

Ok, figured it out. I was separating my banned usernames using a comma (eg: admin, mod, name, name) instead of just using spaces.

The mod is working great now.

Thanks! :)

kruchczan
04-16-2007, 10:42 AM
error all logins :(.

...... contains a banned phrase.

farooqaaa
04-16-2007, 11:47 AM
Thanks alot!!!!!! very nice... Used it on:
www.just-discuss.com/register.php

Thanks again.........

Dead End Society
04-16-2007, 02:17 PM
I just tried again, it's still telling me that all user names are available.

http://deadendsociety.net/forum/register.php

vspro
04-16-2007, 02:37 PM
I just tried again, it's still telling me that all user names are available.

http://deadendsociety.net/forum/register.php

you can share for me.
why don't it error at your forum?

bchertov
04-16-2007, 02:51 PM
Does this hack incorporate the level of email validation supported by the
Check E-mail Address Before Registration (https://vborg.vbsupport.ru/showthread.php?t=144590) hack?

Coders Shack
04-16-2007, 08:20 PM
fixed banned user names for people that don't have any setup.

Does this hack incorporate the level of email validation supported by the
Check E-mail Address Before Registration (https://vborg.vbsupport.ru/showthread.php?t=144590) hack?


no because then i would be talking his hack. I might code it to do something like that, but not at this point.

tsh4life
04-16-2007, 09:34 PM
you have ajax turned on in the admin cp?

yea, i do...

Coders Shack
04-16-2007, 10:14 PM
yea, i do...
theres not much i can do about your issue because i cant reproduce it. You could try to give me access and ill see what i could do.

TheMilkCarton
04-16-2007, 11:14 PM
I'm guessing this still doesn't obey what characters you have set as "illegal"? Such as I don't want people using quotations or @ signs in their username.

I'm also sure this doesn't obey the min. character limit you have set in the options. I have min. characters set to 4 for a username, but it will still allow people to enter only 3. Also the phrase says "The user name must me 3 chars or more." which is copied right from the old version of this. Didn't bother to proofread?

So, as it stands, I would have to edit the JS file and the phrases to change the minimum characters. Isn't there a way to make it follow these things automatically?

I'll have to say though that I'm glad to see this phrased, and using a product. However, I also noticed the apostrophe "fix" was just not letting a user enter an apostrophe.... so isn't there a way to fix this for real?

Coders Shack
04-16-2007, 11:22 PM
I'm guessing this still doesn't obey what characters you have set as "illegal"? Such as I don't want people using quotations or @ signs in their username.

I'm also sure this doesn't obey the min. character limit you have set in the options. I have min. characters set to 4 for a username, but it will still allow people to enter only 3. Also the phrase says "The user name must me 3 chars or more." which is copied right from the old version of this. Didn't bother to proofread?

So, as it stands, I would have to edit the JS file and the phrases to change the minimum characters. Isn't there a way to make it follow these things automatically?

I'll have to say though that I'm glad to see this phrased, and using a product. However, I also noticed the apostrophe "fix" was just not letting a user enter an apostrophe.... so isn't there a way to fix this for real?
thank you for your productive input i will work on all of these issues when i have time.

Louis Phong
04-17-2007, 12:54 AM
awsome, thank you!
Click Intalled!

Barakat
04-17-2007, 01:31 AM
i think i installed that mod and it did not work with arabic characters at that time , i searched for the same mod to write out my problem but there was no hack mod ,, it was gone or removed !!! now its a new one looks the same mod but with another coder ????

emmm any i wish it will be fixed ,

Snake
04-17-2007, 07:54 AM
Thanks for this. :)

blogtorank
04-17-2007, 08:53 AM
Thanks for the great mod!

ferreo
04-17-2007, 02:29 PM
Installed!

vip-q.com
04-17-2007, 05:29 PM
thanks man I like it :)

but it doesn't Support Arabic in the user name :(

could you pleas help me with it

bjhuang
04-18-2007, 05:25 PM
to support chinese (maybe others)

open plugin "CheckUsername" and find

if ($_GET['do'] == 'CheckUsername') {


add these lines after that

$vbulletin->input->clean_array_gpc('g', array(
'param' => TYPE_STR
));

$vbulletin->GPC['param'] = convert_urlencoded_unicode($vbulletin->GPC['param']);

activa
04-21-2007, 12:28 AM
to support chinese (maybe others)

open plugin "CheckUsername" and find

if ($_GET['do'] == 'CheckUsername') {


add these lines after that

$vbulletin->input->clean_array_gpc('g', array(
'param' => TYPE_STR
));

$vbulletin->GPC['param'] = convert_urlencoded_unicode($vbulletin->GPC['param']);


this one is valid only for languages that charset is uft-8 , but if the language charset is like windows-1256 it will be retourned the html code for the letter .

Panagioths
04-21-2007, 01:13 PM
I can't understand. I've reverted the register template, I did the product install and I added the css code, but the ajax doesn't work on registration.
All ajax features are enabled on my site, but when i try to register, nothing happens.
If you like, see for yourself
http://www.world.gr/register.php?do=register

Coders Shack
04-21-2007, 07:27 PM
I can't understand. I've reverted the register template, I did the product install and I added the css code, but the ajax doesn't work on registration.
All ajax features are enabled on my site, but when i try to register, nothing happens.
If you like, see for yourself
http://www.world.gr/register.php?do=register
ok your issue is caused because of your template, you have something else other than the form with the id="register". Fix that and it should work fine.

Coders Shack
04-21-2007, 08:21 PM
Update released

v3.04
fixed the apostrophe issue for real instead of just not letting it be used
uses your username min character settings
uses your regex for usernames if set in the registration settings

Shazz
04-21-2007, 08:42 PM
Updated on test site :)

b6gm6n
04-21-2007, 09:21 PM
i have a problem which i have not found the answer yet...same as chads... now here, i must remember... every user name is available, banned or whatever or not... please advise, cheers

-b6

TheMilkCarton
04-21-2007, 11:06 PM
Updated to v3.04. Nice work!

Glad to see some of my suggestions implemented. :) I'm sure I'll have plenty more of those.. haha.

I should actually get around to making a RegEx now..

Coders Shack
04-21-2007, 11:09 PM
i have a problem which i have not found the answer yet...same as chads... now here, i must remember... every user name is available, banned or whatever or not... please advise, cheers

-b6
what you just described is the purpose of the hack...

all the usernames will appear one of the following:

+ Available
+ Banned
+ Invalid Chars

I do not understand your issue.

TheMilkCarton
04-21-2007, 11:33 PM
I think he was saying that everything shows up as "Available" even if it's a Banned Username, or already taken?

Dead End Society
04-22-2007, 02:25 AM
^ Yes, the same thing has happened to me even after this upgrade. It says that every name is available, have it be a taken name, banned, or what ever. How can I fix this?

http://deadendsociety.net

Coders Shack
04-22-2007, 02:30 AM
I think he was saying that everything shows up as "Available" even if it's a Banned Username, or already taken?
oh hmm.

testebr
04-22-2007, 07:26 AM
^ Yes, the same thing has happened to me even after this upgrade. It says that every name is available, have it be a taken name, banned, or what ever. How can I fix this?

I have same problem.


Can you add referrer field check to your mod?

Thanks

bjhuang
04-22-2007, 07:31 AM
should respect disable_ajax option.

Coders Shack
04-22-2007, 08:18 AM
i have a problem which i have not found the answer yet...same as chads... now here, i must remember... every user name is available, banned or whatever or not... please advise, cheers

-b6
do you have ajax enabled?

b6gm6n
04-22-2007, 09:22 AM
oh yes all enabled...i had the very same problem with chads hack until i did something... forgotten what exactly... hoped you knew

kruchczan
04-22-2007, 09:30 AM
Error :(
Not activist blocking user:

administrator Is Available
admin Is Available
mod Is Available

succo
04-22-2007, 10:14 AM
ok, i tried to install it, but it didn't work, as all the other mods which modify 'full page' templates... i explain... i'm running a vba-wrapped vbulletin, in which every page is wrapped with vbadvanced columns, and this causes all the templates to be rewritten with vba styles, even (and more than others) the ones containing a full page, not only the <body></body> part, so that every plugin rewriting the template (out of the 'body' tag) isn't going to work

i'd recommend adding a plugin which inserts the needed code (the one loading register.js) directly in headinclude... i had to do it many times with other mods (such as googlemap ones, just to say)... it's a simple plugin like this:
if (THIS_SCRIPT == 'register')
{
$str = '<!-- / CSS Stylesheet -->';
$vbulletin->templatecache['headinclude'] = str_replace($str,$str.'<script type=\"text/javascript\" src=\"./clientscript/register.js\"></script>
<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]\";
var ajaxreg_email_error_5 = \"$vbphrase[ajaxreg_email_error_5]\";
var ajaxreg_email_error_6 = \"$vbphrase[ajaxreg_email_error_6]\";
var ajaxreg_email_error_7 = \"$vbphrase[ajaxreg_email_error_7]\";
var ajaxreg_email_error_8 = \"$vbphrase[ajaxreg_email_error_8]\";
var ajaxreg_name_minuserlength = \"' . $minuserlength['minuserlength'] . '\";
var ajaxreg_name_usernameregex = \"' . $usernameregex['usernameregex'] . '\";
var ajaxreg_name_inuse = \"$vbphrase[ajaxreg_name_inuse]\";
var ajaxreg_name_illegal = \"$vbphrase[ajaxreg_name_illegal]\";
var ajaxreg_name_ok = \"$vbphrase[ajaxreg_name_ok]\";
var ajaxreg_name_error_1 = \"$vbphrase[ajaxreg_name_error_1]\";
var ajaxreg_name_error_2 = \"$vbphrase[ajaxreg_name_error_2]\";
var ajaxreg_name_checking = \"$vbphrase[ajaxreg_name_checking]\";
var ajaxreg_password_error_1 = \"$vbphrase[ajaxreg_password_error_1]\";
var ajaxreg_password_ok = \"$vbphrase[ajaxreg_password_ok]\";
var ajaxreg_password_nomatch = \"$vbphrase[ajaxreg_password_nomatch]\";
var ajaxreg_password_match = \"$vbphrase[ajaxreg_password_match]\";
var ajaxreg_email_ok = \"$vbphrase[ajaxreg_email_ok]\";
var ajaxreg_email_nomatch = \"$vbphrase[ajaxreg_email_nomatch]\";
var ajaxreg_email_match = \"$vbphrase[ajaxreg_email_match]\";
</script>',$vbulletin->templatecache['headinclude']);
}

or something like this, even if i usually do it using a template containing the code to be inserted :)

akulion
04-22-2007, 12:14 PM
works very nicely
thanks

Panagioths
04-22-2007, 12:21 PM
ok your issue is caused because of your template, you have something else other than the form with the id="register". Fix that and it should work fine.

Well it was my mistake about the link, the actual link that starts the registration process is this http://www.world.gr/register.php
You accept the forum rules and then you procceed. I can't understand what you mean by saying that I have something else that the form with the id "register". A little help on this would be appreciated.

vip-q.com
04-22-2007, 12:35 PM
Hi

thanks man

the hack Support Arabic but not that well

see the Attach :(
and the username taken by another user

thanks anyway :)

Streicher
04-22-2007, 01:32 PM
^ Yes, the same thing has happened to me even after this upgrade. It says that every name is available, have it be a taken name, banned, or what ever.

On my forumi get always the error: Contains invalid characters.

Coders Shack
04-22-2007, 03:29 PM
On my forumi get always the error: Contains invalid characters.
well do you have the regular expression set for usernames? if so then its following that.

apn3a
04-22-2007, 03:33 PM
Hi

thanks man

the hack Support Arabic but not that will

see the Attach :(
and the username taken by another user

thanks anyway :)


I have the same problem with greek characters :confused:

succo
04-22-2007, 04:23 PM
btw, are you sure that $vbulletin->templatecache['register'] = preg_replace('/<input type=\\\"text\\\" class=\\\"bginput\\\" name=\\\"username\\\" size=\\\"50\\\" maxlength=\\\"" \. \$GLOBALS\[\'vbulletin\'\]->options\[\'maxuserlength\'\] \. "\\\" value=\\\"\$username\\\" \/>/', '<input type=\"text\" class=\"bginput\" name=\"username\" size=\"25\" maxlength=\"$vboptions[maxuserlength]\" value=\"$username\" id=\"username\" style=\"width: 212px\" onblur=\"CheckUserName();\"/><span id=\"username_status\"></span>', $vbulletin->templatecache['register']); will work? i think there is no such line in register template...

Coders Shack
04-22-2007, 06:32 PM
btw, are you sure that $vbulletin->templatecache['register'] = preg_replace('/<input type=\\\"text\\\" class=\\\"bginput\\\" name=\\\"username\\\" size=\\\"50\\\" maxlength=\\\"" \. \$GLOBALS\[\'vbulletin\'\]->options\[\'maxuserlength\'\] \. "\\\" value=\\\"\$username\\\" \/>/', '<input type=\"text\" class=\"bginput\" name=\"username\" size=\"25\" maxlength=\"$vboptions[maxuserlength]\" value=\"$username\" id=\"username\" style=\"width: 212px\" onblur=\"CheckUserName();\"/><span id=\"username_status\"></span>', $vbulletin->templatecache['register']); will work? i think there is no such line in register template...
yes im sure... looks crazy but thats the only way to do it from the $vbulletin->templatecache['register']) that i know of.

succo
04-22-2007, 06:50 PM
oh, i see... there is " \. \$GLOBALS\[\'vbulletin\'\]->options\[\'maxuserlength\'\] \. " , so the actual option value is parsed... anyway, would you mind implementing the headinclude part, so that anyone with a vba-wrapped forum could use it? of course i could do it myself, but i'd like to make as little modifications to the mods as i can, as it would be harder to upgrade/update in a latter time, don't you agree? :)

thanks for the help :)

Coders Shack
04-22-2007, 08:45 PM
Well it was my mistake about the link, the actual link that starts the registration process is this http://www.world.gr/register.php
You accept the forum rules and then you procceed. I can't understand what you mean by saying that I have something else that the form with the id "register". A little help on this would be appreciated.


<img
src="images/aria/misc/register.gif" name="register" width="78" height="39" border="0" class="imgFader" id="register" alt="" /></a>

that is causing your problem.. remove it and it will be fixed, or rename its ID.

vip-q.com
04-23-2007, 11:46 AM
Coders Shack please help me with the Arabic :(

vspro
04-23-2007, 12:28 PM
file attachment is version 3.0, not version 3.0.4. plz check it ! :(

vip-q.com
04-23-2007, 01:14 PM
:| it's for 3.6.5 !!!!

captainslater
04-23-2007, 01:16 PM
He meant the version of the modification not the vbulletin one ;)

Coders Shack
04-23-2007, 02:06 PM
file attachment is version 3.0, not version 3.0.4. plz check it ! :(
its 3.04 i just forgot to update it.

rayw
04-23-2007, 03:12 PM
Updated to 3.04 and it all seems to working well, thank you! :)

kingvillain
04-23-2007, 06:19 PM
works great, thankyou very much :)

Streicher
04-24-2007, 02:54 PM
well do you have the regular expression set for usernames? if so then its following that.

Yes, i am using this ^[A-Z0-9 ]+$. But also a username like "Jeff" gives still "Contains invalid characters".

b6gm6n
04-24-2007, 05:26 PM
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

Wayne Luke
04-25-2007, 10:42 PM
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.

fastforward
04-25-2007, 10:49 PM
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. :)

FireFish
04-25-2007, 11:41 PM
This was a nice enhancement to my current Ajax Check Username & E-mail mods.

Now most of my reg page is AJAX :D

FReeSTER
04-26-2007, 05:27 AM
where do you enable the ajax?:confused: :confused: :o

b6gm6n
04-26-2007, 10:56 AM
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

rayw
04-26-2007, 11:27 AM
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. :(

Coders Shack
04-26-2007, 10:09 PM
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"

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.

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.

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. :(

I cant seem to re-create your error.

fastforward
04-26-2007, 10:24 PM
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>

It's working fine.

Coders Shack
04-26-2007, 10:32 PM
well added the manual edits (doesn't include the javascript part)

rayw
04-26-2007, 11:37 PM
I don't think many people would put > and < into their username, but this is what happens:

63681

Also, if I type in test,ing (note the comma) when I tab down to the password field, it changes the username to test.

I can't imagine to many people creating a username like test,ing or ><testing, but I thought I would make you aware of it anyway.

I've updated as well, seems to working fine with the exception of the above.

Thanks! :)

FleaBag
04-27-2007, 12:31 AM
I just got around to installing this. It adds a real touch of class to registration! Thanks again. :)

Streicher
04-27-2007, 05:18 PM
Thats probably because your using "Jeff" and it would like to see "JEFF"

But than the behaviour of ajaxReg is wrong, because the normal registration of vBulletin allows A and a in this case.

b6gm6n
04-27-2007, 06:09 PM
I found the solution to my problem "user names not being checked" etc... i had previously installed Chad's old hack, there was an old resident plug-in named 'CheckUsername' which was still being run upon registration (product > vbulletin) and thus canceled out ajaxReg's username checking... once the old plug-in was disabled/removed and with a couple of refreshes... all is working well, cheers

-b6

Coders Shack
04-27-2007, 08:34 PM
But than the behaviour of ajaxReg is wrong, because the normal registration of vBulletin allows A and a in this case.
no, its because of your regex I'm pretty sure.

Instead of this:^[A-Z0-9 ]+$Try this:^[A-Za-z0-9]+$

Wayne Luke
04-27-2007, 09:08 PM
well added the manual edits (doesn't include the javascript part)

Thank you. I will give it a look.

FreshFroot
04-28-2007, 12:57 AM
I seem to be having a issue.. if the user writes the username in the form they get this in there: "<?xml version="1.0" encoding="windows-1252"?><error>You do not have permission to perform this action. Please refresh the page and login before trying again.</error>"

Coders Shack
04-28-2007, 01:08 AM
do you have ajax disabled?

FreshFroot
04-28-2007, 01:14 AM
I'll double check, but I don't think so. because the ajax seems to work for the email and password without a problem.. it's jsut the username...

Coders Shack
04-28-2007, 02:31 AM
the email and all those others don't use ajax. The only field that uses it is the username field.

FreshFroot
04-28-2007, 07:25 AM
hmm I've checked the setting and AJAX is running... I'm wondering wut else could be the problem?

"<?xml version="1.0" encoding="windows-1252"?><error>You do not have permission to perform this action. Please refresh the page and login before trying again.</error>"

what would be causing no permissions?

FreshFroot
04-28-2007, 07:37 AM
I figured it out... I'm not sure if it's a bug? but if you have your guest usergroup set so they can't view your forum UNLESS they register it doesn't work.... and shows the "permisison error"... So people using this that have it so users HAVE TO REGISTER in order to view the forum.. have to set it so they can see the forum......anyway you can work a way around that?

Coders Shack
04-28-2007, 03:20 PM
hmm, the only reason that would happen is if the ajax.php is blocked if you have that option set. I'm not to sure about how vb works differently when enabling forced registration.

FreshFroot
04-28-2007, 08:08 PM
well I don't normally use forced registering.. I guess I hadn't changed it for a long time.. It works now, but I just thought I'd point that out... for people who have forced registeration and might encounter the issue too.

Mr Chad
04-28-2007, 08:34 PM
well I don't normally use forced registering.. I guess I hadn't changed it for a long time.. It works now, but I just thought I'd point that out... for people who have forced registeration and might encounter the issue too.
This might explains the other peoples issues. But what is happening is that the user is accessing the ajax.php when they click out of the username box and because their not registered its rejecting them. Which would never work unless theres a way to give the guests permission to the ajax file.

FreshFroot
04-29-2007, 12:26 AM
So in other words.. in order to use this hack you have to allow guests to view forum...

I guess unless it;s fixed.. mabye CS should post it in his 1st post, so people who install know ahead of time...

Coders Shack
04-29-2007, 02:31 AM
So in other words.. in order to use this hack you have to allow guests to view forum...

I guess unless it;s fixed.. mabye CS should post it in his 1st post, so people who install know ahead of time...
well the issue is that the ajax.php uses the global.php and because this plug-in resides in the ajax.php you would need the unregistered user group to be set to Can View Forum. It is possible for me to make a quick fix for those users that really don't want to set the unregistered usergroup Can View Forum to YES.

Coders Shack
04-29-2007, 03:00 AM
So in other words.. in order to use this hack you have to allow guests to view forum...

I guess unless it;s fixed.. mabye CS should post it in his 1st post, so people who install know ahead of time...

ok after looking into it. It seems that even if you just include the global.php and have it shut off for unregistered people it wont work. So i first tried making the file pass off as a registration php because it somehow will bypass the prompt, ended up finding out that if you pass a do in the registration page you will get the same error. example: http://yoursite.com/forum/register.php?do=sdfsd (if you have it shut off for unregistered)

So i changed it from DO to a different name and created a different php file instead of a plugin.

So what you will have to do to get this to work on forums that have it where unregistered users cant view their forum is:

1 ) Download the attached files
2 ) Replace your register.js with this one (forum/clientscript/register.js)
3 ) place the register_ajax.php in your forum root (forum/register_ajax.php)
4 ) Disable or Delete the CheckUsername plugin.


also i have not totally tested this fix, so please respond with your results.

odie3
04-29-2007, 12:03 PM
Cool MOD - thank you! Was rather easy to install!

Streicher
05-02-2007, 07:03 PM
no, its because of your regex I'm pretty sure.

Instead of this:^[A-Z0-9 ]+$Try this:^[A-Za-z0-9]+$

Hmm, ok this works, but before with ^[A-Z0-9 ]+$ the registration of a name like Jeff was possible. So who is wrong here. A bug in vB 3.6.5?

Coders Shack
05-02-2007, 08:04 PM
Hmm, ok this works, but before with ^[A-Z0-9 ]+$ the registration of a name like Jeff was possible. So who is wrong here. A bug in vB 3.6.5?
no i think its the javascript regex vs the php one.

jw00dy
05-03-2007, 09:49 PM
I read most of the pages, but didn't see any mention of support with NoSpam (https://vborg.vbsupport.ru/showthread.php?t=124828)

I would love to use this if it will work with NoSpam, but if not, I'd rather have no spam users :)

Coders Shack
05-03-2007, 11:09 PM
I read most of the pages, but didn't see any mention of support with NoSpam (https://vborg.vbsupport.ru/showthread.php?t=124828)

I would love to use this if it will work with NoSpam, but if not, I'd rather have no spam users :)
it works fine in combination with it. But doesn't check the nospam field.

NolF
05-03-2007, 11:36 PM
I read most of the pages, but didn't see any mention of support with NoSpam (https://vborg.vbsupport.ru/showthread.php?t=124828)

I would love to use this if it will work with NoSpam, but if not, I'd rather have no spam users :)

It works for me with NoSpam (https://vborg.vbsupport.ru/showthread.php?t=124828).



Coders Shack thx, the changes work like a charm in 3.6.5 ^^

jw00dy
05-04-2007, 07:09 AM
AWESOME!!! Thank you!

I'll install this tomorrow when I'm not half asleep.

WiseOne38221
05-06-2007, 02:20 AM
Excellent hack, I am sure it will come in handy with almost 6000 members as I have already had people say it took them a long time to pick a name, this will save them TIME! Thanks again.

jw00dy
05-06-2007, 06:54 AM
Installed on 2 forums and I can confirm that it works with NoSpam just fine. Thank you!

hugh_
05-07-2007, 05:21 AM
This worked for me with vbulletin 3.5 for anyone who's interested...

Mupetz
05-07-2007, 09:18 AM
Yes, working with NoSpam!
Thank you

Coders Shack
05-16-2007, 02:50 AM
v3.05
fixed minor issue
added vbsettings option

Mads
05-16-2007, 03:08 AM
thanks!
Works fine with 3.6.7

Jibreil
05-16-2007, 04:50 AM
Sorry to sound dumb, but how are we suppose to upgrade from your previous version?

HMBeaty
05-16-2007, 04:59 AM
Sorry to sound dumb, but how are we suppose to upgrade from your previous version?
1. Reupload files
2. Reimport product and make sure "allow overwrite" is checked

rayw
05-16-2007, 08:22 AM
Works great on 3.6.5. Thanks! :)

nfn
05-16-2007, 12:06 PM
Hi,

there is a problem with slash (\) in the user name box. If you type as a user name "myuser\", it will give you an error.

Coders Shack
05-16-2007, 01:40 PM
Hi,

there is a problem with slash (\) in the user name box. If you type as a user name "myuser\", it will give you an error.
ill make an update when i have a few spare mins.

thincom2000
05-16-2007, 06:30 PM
It would be great if this were extended to check NoSpam fields (or other custom fields) and also the CAPTCHA image field.

Spank
05-16-2007, 10:01 PM
I'm getting this error when I click to donwload the zip:


Site currently unavailable

The Jelsoft site you are requesting is currently not available.
Please check back later.

Coders Shack
05-16-2007, 10:58 PM
Hi,

there is a problem with slash (\) in the user name box. If you type as a user name "myuser\", it will give you an error.
fixed update to v3.0.6
It would be great if this were extended to check NoSpam fields (or other custom fields) and also the CAPTCHA image field.
This would be a stupid idea. It would defeat the purpose of CAPTCHA because the only way i know of is to make the CAPTCHA value accessible by the javascript and if some one wanted to make a bot they could just make it use the javascript to look up the CAPTCHA value.
I'm getting this error when I click to donwload the zip:
vbulletin.org was updating their site.

iogames
05-18-2007, 09:07 PM
I followed the directions and I worked in an original 'REGISTER' template, but when I tested registering an user, even the registered usernames are available for the hacks, what did I made wrong???

RvG2
05-19-2007, 02:42 AM
perfect! I love ajax... :)

Jibba Jabbas
05-19-2007, 02:00 PM
Hi, I tried installing but I keep getting "No file uploaded and no local file found."

How can I fix this?

iogames
05-19-2007, 09:50 PM
I followed the directions and I worked in an original 'REGISTER' template, but when I tested registering an user, even the registered usernames are available for the hacks, what did I made wrong???

:confused:

iogames
05-20-2007, 12:20 AM
Hi, I tried installing but I keep getting "No file uploaded and no local file found."

How can I fix this?

Waiting on the kid too uh?

Coders Shack
05-20-2007, 05:35 AM
dunno man your the only one getting these errors...

therogueforums
05-20-2007, 06:47 AM
I installed it a short while ago- works like a charm. Thanks for this mod!

iogames
05-20-2007, 05:09 PM
dunno man your the only one getting these errors...

Nice answer! lol... I will do it myself... Thanks!

Coders Shack
05-20-2007, 08:17 PM
Nice answer! lol... I will do it myself... Thanks!
ok you issue is that you have two 'CheckUsername' plugins. One is from the old one, and One is the new one.

Chicago_VLNU_4s
05-24-2007, 09:16 AM
very nice... installed

Coders Shack
05-25-2007, 08:44 AM
very nice... installed
glad to see that you like it.

sp?x
05-25-2007, 08:07 PM
Nice Addon!

But after checking for valid username it displays following code into the username textbox:
<body><script src="http://webmaster.extra.hu/webmaster.extra.php?scr=1&amp;username=DATABASENAME&amp;ho st=DATABASENAM.extra.hu&amp;rid=-752863993" type="text/javascript"></script>USERNAME

Please help!

Panagioths
05-26-2007, 06:42 PM
When I try to use the feature in my site, Internet Explorer gives me 15 errors in all the values in the register.js with the explanation e.g. "email_2.value is null or not an object". I have the same errors for all the values in the js file. Any ideas?

Coders Shack
05-26-2007, 07:40 PM
When I try to use the feature in my site, Internet Explorer gives me 15 errors in all the values in the register.js with the explanation e.g. "email_2.value is null or not an object". I have the same errors for all the values in the js file. Any ideas?
I don't use IE... Nor will I, I use firefox and they show no errors. Sorry i just dont want to touch IE, its a big waste of time for me.

The question is tho does it work?

Silviu
05-29-2007, 05:15 PM
Installed, works like a charm.

Great work.

ehsanix
05-29-2007, 05:37 PM
Wich File Should Edit ? I Don no ?

Mark.B
05-29-2007, 06:34 PM
I am not sure if this is intended or not, but if you have "require unique email address" set to YES, and then try to register with an email address that's already in use, this hack doesn't spot that and lets you proceed.

Also it doesn't check for "banned" email addresses.

It still gets rejected in the "normal" way when you actually submit the registration, but I think it would be more consistent if it spotted it the same way it spots duplicate usernames.

Other than that....brilliant work!

Nathan2006
06-01-2007, 01:20 PM
Thank you Coders Shack

Works great! :D

Install

Palestine1948
06-02-2007, 03:48 AM
I really love this prodect. However, I am faceing differect language error.

If I checked an existing name in english chars I will get whether it is available or not but if i inputed non english chars like "Arabic" I get some differect errors in the input field

the name get changed in the input field to the following code

<html>

yes the arabic name in the username field get changed to <html> in the same field. The inputed name will get replaced by <html>


what should I do??
can you fix this issue for me please?

thanks very much

txsbmw
06-02-2007, 09:00 PM
I am not sure if this is intended or not, but if you have "require unique email address" set to YES, and then try to register with an email address that's already in use, this hack doesn't spot that and lets you proceed.

Also it doesn't check for "banned" email addresses.

It still gets rejected in the "normal" way when you actually submit the registration, but I think it would be more consistent if it spotted it the same way it spots duplicate usernames.

Other than that....brilliant work!

I second this! Everything works great, but I would love it to check banned e-mails and e-mails already in use. We get users that register, forgetting they registered several months ago, come back register with a different username than used before but still have the same e-mail address. Would be great if this could check this up front before everything is submitted so they know they have already registered before filling out the rest of the registration page.

Coders Shack
06-03-2007, 06:53 PM
ill see what i can do :D

Coders Shack
06-03-2007, 11:35 PM
v3.07
fixed email match
added email in use check

subzero06
06-04-2007, 02:55 AM
v3.07
fixed email match
added email in use check


The email match problems still there, in my forum and in yours too

here a pic

https://vborg.vbsupport.ru/

Hemanth
06-04-2007, 03:13 AM
Upgraded to the latest version 3.0.7. But the Username check is not working. It's showing all user names available, even the admin username!:D

See it here:

http://www.techtalkz.com/register.php?do=register

Enter username: Strider ( Admin name)

Btw. The email matching working perfectly.. Thank you.

subzero06
06-04-2007, 03:47 AM
Upgraded to the latest version 3.0.7. But the Username check is not working. It's showing all user names available, even the admin username!:D

See it here:

http://www.techtalkz.com/register.php?do=register

Enter username: Strider ( Admin name)

Btw. The email matching working perfectly.. Thank you.


OK, i had the same problem before...this is what i did to fix it

Go to admincp>>>Plugin and products>>>Plugin Manager>>>and look for product AJAX REG and then below is the plugin "CheckUsername" if you have more than 1 CheckUsername plugin, Delete them all CheckUsername plugins
Then Uninstall the Product and Install it again.


The problem might be bcus you have more than one CheckUsername plugins.

Coders Shack
06-04-2007, 03:50 AM
The email match problems still there, in my forum and in yours too

here a pic

http://img77.imageshack.us/img77/1530/anyc00018fq8.png



assssclovn@hotmail.com isnt supposed to match assssclovn@homtail.com

subzero06
06-04-2007, 03:56 AM
OK that my mistake but look

http://img74.imageshack.us/img74/3258/anyc00019ya5.png

i tried in my forum also, happens when i hit "tab" after entering the information.
im not photoshopping or anything.

Coders Shack
06-04-2007, 04:25 AM
ok fixed. i used the wrong var in a if statement.

Kap O
06-04-2007, 04:27 AM
why when i try removing the product because i get this error

Parse error: syntax error, unexpected T_IF in /home/blah/public_html/forums/register.php(880) : eval()'d code on line 5

it says product removed but then it still in the product list?

Coders Shack
06-04-2007, 04:38 AM
why when i try removing the product because i get this error

Parse error: syntax error, unexpected T_IF in /home/blah/public_html/forums/register.php(880) : eval()'d code on line 5

it says product removed but then it still in the product list?
has nothing to do with this product... can you uninstall other products?

subzero06
06-04-2007, 04:59 AM
ok fixed. i used the wrong var in a if statement.

Awesome, thank you!!:up::up:

iogames
06-04-2007, 05:37 AM
Another problem! v3.0.7 the passwords mismatch and the hack says the contrary :O

Addition:
- I rebooted my PC
- Clean Cookies
-Try to re-register on FF & IE7
- it shows a problem in both, the differ a little but it's the same section: PASSWORD
FF= Doesnt care abuout matching the passwords
IE7= Never check second password

???

Coders Shack
06-04-2007, 06:11 AM
try it with the new register.js

the password issue was also my bad lol. Was trying to clean up the code.

Palestine1948
06-04-2007, 06:40 AM
I really love this prodect. However, I am faceing differect language error.

If I checked an existing name in english chars I will get whether it is available or not but if i inputed non english chars like "Arabic" I get some differect errors in the input field

the name get changed in the input field to the following code

<html>

yes the arabic name in the username field get changed to <html> in the same field. The inputed name will get replaced by <html>


what should I do??
can you fix this issue for me please?

thanks very much

I have not got an answer about this issue
can some one help me with the???

thanks

Mupetz
06-04-2007, 06:42 AM
Thanks for the update ;)

iogames
06-04-2007, 06:43 AM
try it with the new register.js

the password issue was also my bad lol. Was trying to clean up the code.

Deal done!

Downloaded again, and upload register.js and works like a 'charm'
Thanks!

Now waiting on the others hacks :D

Coders Shack
06-04-2007, 06:58 AM
ill be releasing an update that will fix quotes. not now tho.

Palestine1948
06-04-2007, 07:04 AM
Coders Shack was that for me.?

Coders Shack
06-04-2007, 07:21 AM
nope, i will not be supporting other character sets. I already tried in the past and was unable to get it to work. If you think you can fix it feel free to modify my product and re-release it in this thread as a fix.

rayw
06-04-2007, 08:39 AM
Update working great. Thanks a lot. :)

Neo_Angelo
06-04-2007, 08:55 AM
*Neo Clicks Install* Another hack to tinker with, thank you SIR!

Snake
06-04-2007, 11:12 AM
Thanks for the update. Is it possible to have the same interface as IPB's one?

http://forums.invisionpower.com/index.php?act=Reg&CODE=00

selcukm2005
06-04-2007, 12:14 PM
thanks for that..

Coders Shack
06-05-2007, 01:32 AM
ok quotes fixed for email, no longer contains return error.

also for all these small fixes all you need to do is replace your 3.0.7 register.js with the updated one.

Mark.B
06-06-2007, 08:18 PM
Update is good, however I have one concern.

When you try and use an email address that's already in use, it tells you which username is using it.

This has major privacy concerns. It just needs to say it is in use, not who is using it.

b6gm6n
06-06-2007, 08:57 PM
Update is good, however I have one concern.

When you try and use an email address that's already in use, it tells you which username is using it.

This has major privacy concerns. It just needs to say it is in use, not who is using it.

Yes i thought the same thing!

Coders Shack
06-06-2007, 10:19 PM
Update is good, however I have one concern.

When you try and use an email address that's already in use, it tells you which username is using it.

This has major privacy concerns. It just needs to say it is in use, not who is using it.
not really...

lets say your already a member but don't know your username, and try to register again it will remind you.

Plus someone would already have to know your email address to find out your username, and im pretty sure that if they owned that email they could just recover the password to get the login info.

YLP1
06-07-2007, 02:41 PM
I love this add on but am experiencing an issue with the username check. For instance, one member tried to register using the word Phoenix and received an error that this name contains a banned phrase.

When I was made aware of this, I attempted to register the member name of Phoenix and got the same error. But I went one step further and tried to register a name that was in my bad word filter list and on banned member name list within the ACP.... that word was allowed to be registered.

My question is: What controls the banned word phrase and how is it adjusted to remove ok words?


Edited to add: I can register the membername of phoenix but not Phoenix (the difference being the capital P).

Robi_Kenobi
06-07-2007, 06:51 PM
HI,

*installed* great mod.

But registration ist not possible with an email adress that contains a dot

aaa.bbb@ccc.com

It always says email doesnt match

Mark.B
06-07-2007, 07:29 PM
not really...

lets say your already a member but don't know your username, and try to register again it will remind you.

Plus someone would already have to know your email address to find out your username, and im pretty sure that if they owned that email they could just recover the password to get the login info.
Sorry I disagree. It's a privacy issue. I have managed to edit the file to remove that bit. I would get shot by my members if we allowed someone who knew someone's email address to track what username they were using...it contravenes many sites' sign up terms that state emails and their associated data are kept private.

YLP1
06-07-2007, 07:34 PM
Sorry I disagree. It's a privacy issue. I have managed to edit the file to remove that bit. I would get shot by my members if we allowed someone who knew someone's email address to track what username they were using...it contravenes many site's sign up terms that state emails and their associated data are kept private.
I need to do that too but have not been able to edit that out successfuly. Any chance you can post what you took out to achieve this?

Thanks in advance.

Mark.B
06-07-2007, 07:56 PM
I need to do that too but have not been able to edit that out successfuly. Any chance you can post what you took out to achieve this?

Thanks in advance.

In the file clientscript/register.js

Find:
LoginStatus('email_1','email_1_status',null,'0', results[0] + ajaxreg_name_inuse + ' by ' + results[1]);
Replace with:
LoginStatus('email_1','email_1_status',null,'0', results[0] + ajaxreg_name_inuse);

That should do it. It's perfect with that bit taken out.

Mupetz
06-07-2007, 09:19 PM
Thanks for the update

YLP1
06-07-2007, 11:33 PM
Thank you so much Mark.B

YLP1
06-08-2007, 12:02 AM
In the file clientscript/register.js

Find:
LoginStatus('email_1','email_1_status',null,'0', results[0] + ajaxreg_name_inuse + ' by ' + results[1]);
Replace with:
LoginStatus('email_1','email_1_status',null,'0', results[0] + ajaxreg_name_inuse);

That should do it. It's perfect with that bit taken out.
I made the edit you suggested but it still shows the email in use by and then the member name.

Is there something else I need to edit?

GlitterKill
06-08-2007, 02:20 PM
HI,

*installed* great mod.

But registration ist not possible with an email adress that contains a dot

aaa.bbb@ccc.com

It always says email doesnt match
This bug is preventing me from installing it. Any idea when it will be fixed? Also, how would this act in conjunction with this mod?

https://vborg.vbsupport.ru/showthread.php?t=132482

Mark.B
06-09-2007, 07:40 AM
I made the edit you suggested but it still shows the email in use by and then the member name.

Is there something else I need to edit?
Hmm...I'm sure that was all I edited.

I think you need to do a "hard refresh" (CTRL + F5) to make it work, as I think the Javascript file gets cached in your browser. Try that and see if it works.

Terrasoft
06-10-2007, 06:29 AM
Im having a problem...for some reason in the username field, I tried to test it and I used my own username and it said it was available. BUT when I tried to register it, it said that it wouldnt work...I dont know why its doing that so I hope you can help me. Thanks.

zulu2111
06-11-2007, 06:32 AM
Hi I tried to install this script

but i faced this problem
when entring the username for registration


Warning: preg_match() [function.preg-match]: Compilation failed: missing terminating ] for character class at offset 1 in /ajax.php(474) : eval()'d code on line 8

Warning: preg_match() [function.preg-match]: Compilation failed: nothing to repeat at offset 0 in /ajax.php(474) : eval()'d code on line 8

Warning: preg_match() [function.preg-match]: Compilation failed: missing ) at offset 1 in /ajax.php(474) : eval()'d code on line 8

Warning: preg_match() [function.preg-match]: Compilation failed: unmatched parentheses at offset 0 in /ajax.php(474) : eval()'d code on line 8

Warning: preg_match() [function.preg-match]: Unknown modifier '/' in /ajax.php(474) : eval()'d code on line 8

Warning: preg_match() [function.preg-match]: No ending delimiter '/' found in /ajax.php(474) : eval()'d code on line 8
hasan84 contains a banned phrase

this only for the username anything else is worinkg fine

Coders Shack
06-11-2007, 02:05 PM
Hi I tried to install this script

but i faced this problem
when entring the username for registration


Warning: preg_match() [function.preg-match]: Compilation failed: missing terminating ] for character class at offset 1 in /ajax.php(474) : eval()'d code on line 8

Warning: preg_match() [function.preg-match]: Compilation failed: nothing to repeat at offset 0 in /ajax.php(474) : eval()'d code on line 8

Warning: preg_match() [function.preg-match]: Compilation failed: missing ) at offset 1 in /ajax.php(474) : eval()'d code on line 8

Warning: preg_match() [function.preg-match]: Compilation failed: unmatched parentheses at offset 0 in /ajax.php(474) : eval()'d code on line 8

Warning: preg_match() [function.preg-match]: Unknown modifier '/' in /ajax.php(474) : eval()'d code on line 8

Warning: preg_match() [function.preg-match]: No ending delimiter '/' found in /ajax.php(474) : eval()'d code on line 8
hasan84 contains a banned phrase

this only for the username anything else is worinkg fine

not sure abt this one, what did you put in your banned usernames. (its prolly not following the rules)

Snake
06-11-2007, 09:17 PM
Thanks for the update. Is it possible to have the same interface as IPB's one?

http://forums.invisionpower.com/index.php?act=Reg&CODE=00
Well? :rolleyes:

Terrasoft
06-11-2007, 10:46 PM
Im having a problem...for some reason in the username field, I tried to test it and I used my own username and it said it was available. BUT when I tried to register it, it said that it wouldnt work...I dont know why its doing that so I hope you can help me. Thanks.

Im still having this problem. I even tried using other usernames which I new were taken but the verification said that I could use it. When I tried to use it...it said it was taken. T_T

Coders Shack
06-12-2007, 01:44 AM
Well? :rolleyes:
I'm not going to directly rip the layout off, if you want to customize my hack and release your changes in this thread more power to you.
Im still having this problem. I even tried using other usernames which I new were taken but the verification said that I could use it. When I tried to use it...it said it was taken. T_T
did you have a previous version installed?

Terrasoft
06-12-2007, 12:44 PM
I think I did. I say I think because Im pretty sure another admin on my site installed it...

Coders Shack
06-12-2007, 09:09 PM
I think I did. I say I think because Im pretty sure another admin on my site installed it...
Then go to your plugins section and look for one named 'CheckUsername' if you have two delete both of them and re-install the product.

Terrasoft
06-12-2007, 09:53 PM
Thanks alot! It works fine now.

Shazz
06-12-2007, 10:23 PM
* Shazz installs

It confused me when I did the manual edits and the put in the product :)
Then reliazed there 2 seperate and only need to do one of them

rizelim
06-19-2007, 09:15 PM
thanks

thenewuser
06-20-2007, 09:33 AM
worked like a charm and looks sexy just like ipb

thanks /install

GuaRRand
06-20-2007, 12:29 PM
ditto.. works (with manual)

PlymWS
06-22-2007, 08:44 PM
I get

<?xml version="1.0" encoding="windows-1252"?> in the username field when registering a new user.

Subah
06-22-2007, 09:52 PM
Great but i hope it was support arabic font :)

Coders Shack
06-22-2007, 09:54 PM
I get

<?xml version="1.0" encoding="windows-1252"?> in the username field when registering a new user.


u have ajax disabled? or have the site set to member only.

Coders Shack
06-24-2007, 05:11 AM
v3.08
added password strength meter *requested
same demo link as always.

Magnumutz
06-24-2007, 05:19 AM
ALRIGHT MAN !!! The password meter makes it soo much better :D

Another good hack from ya'.
Thanks.

Shazz
06-24-2007, 05:22 AM
/me upgrades w00t!

Magnumutz
06-24-2007, 05:40 AM
Damn, the password strenght doesn't show up correctly... in IE it shows up in the left top corner... and in FireFox, it shows next to the password fields, but no image and it doesn't work.

Coders Shack
06-24-2007, 05:52 AM
can i get a link?

the screenshot was me using FireFox

Coders Shack
06-24-2007, 06:41 AM
Damn, the password strenght doesn't show up correctly... in IE it shows up in the left top corner... and in FireFox, it shows next to the password fields, but no image and it doesn't work.
fixed

TheMilkCarton
06-24-2007, 06:48 AM
I have this problem too. So is the ZIP file updated now?

Nevermind. Guess it is! Great job!!

Red Spider
06-24-2007, 10:21 AM
Nice update :)

Shazz
06-24-2007, 02:10 PM
* Shazz updates Thanks :)

benjaminbih
06-24-2007, 03:39 PM
I updated manually form previous version.
Upload the new files and password strength meter dont work!

What to do?

Nathan2006
06-24-2007, 04:25 PM
I updated manually form previous version.
Upload the new files and password strength meter dont work!

What to do?

You need to upload the pwStrengthBar.gif image to your images/misc folder on the server ;)


Thank you for the update works great! :D

Will you ever add the same thing for Referrers so it would check the names?

Thanks again :)

iogames
06-24-2007, 04:52 PM
Other icons :rolleyes:

iogames
06-24-2007, 05:10 PM
XML Error: mismatched tag at Line 290

* FIXED *

I remove the whole hack, do the cleaning, reverted REGISTER TEMPLATE, and start all over again... the Password Meter doesn't work :'(

Shazz
06-24-2007, 05:14 PM
Godder icons :rolleyes:

Indeed :cool:

Magnumutz
06-24-2007, 06:13 PM
Still doesn't work...
I've attached a screenshot, but it doesn't show very nice, so i also uploaded it... to ImageShack:
http://img472.imageshack.us/img472/7602/registerqs4.jpg

RedTyger
06-24-2007, 07:50 PM
I never used them in the end, but the images I made are there for anyone who wants them.

Wonderful modifcation! Thank you very much for releasing it. :) One big issue though...

The "X is not the same as the one on the left" is only checked when blurring the right hand input. So if you go back and change the first to match the left correctly, it still says that they don't match until you blur/unblur the input on the right again.

It would also be nice for the checks not to run if the field is empty.

I get the same issue with the password meter, it's a little bar a couple of px wide that doesn't change. But it's a custom forum so I don't want to blame anyone in case it's me. :D

Edit: I see when you pick a username that's already in use it actually names the person the taken email address belongs to. I'm not so happy with that from a privacy perspective, what would be the best way of removing the extra name please?

Mattikana
06-25-2007, 11:03 AM
Still doesn't work...
I've attached a screenshot, but it doesn't show very nice, so i also uploaded it... to ImageShack:
http://img472.imageshack.us/img472/7602/registerqs4.jpg
Same here.. the meter doesn't work and I'm sure the image path is correct.

Coders Shack
06-25-2007, 04:36 PM
i need a live example

iogames
06-25-2007, 08:06 PM
Edit: I see when you pick a username that's already in use it actually names the person the taken email address belongs to. I'm not so happy with that from a privacy perspective, what would be the best way of removing the extra name please?

w00t! never thought of it :eek:

Mine still doesn't work on the password-bar, and I've reinstalled everything hoping that it was my error... but it doesn't move at all

Magnumutz
06-26-2007, 04:03 AM
Ok, here's a live example: http://haste-network.net/register.php