vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   Modification Graveyard (https://vborg.vbsupport.ru/forumdisplay.php?f=224)
-   -   Miscellaneous Hacks - ajaxReg - Ajax Registration, with instant field checking (https://vborg.vbsupport.ru/showthread.php?t=144869)

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

Quote:

Originally Posted by Mark.B (Post 1262715)
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

Quote:

Originally Posted by Mark.B (Post 1262715)
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

Quote:

Originally Posted by Coders Shack (Post 1262765)
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

Quote:

Originally Posted by Mark.B (Post 1263547)
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

Quote:

Originally Posted by YLP1 (Post 1263557)
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:
Code:

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

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

Quote:

Originally Posted by Mark.B (Post 1263578)
In the file clientscript/register.js

Find:
Code:

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

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

Quote:

Originally Posted by Robi_Kenobi (Post 1263498)
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

Quote:

Originally Posted by YLP1 (Post 1263744)
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

Quote:

Originally Posted by zulu2111 (Post 1266029)
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

Quote:

Originally Posted by Snake (Post 1260938)
Thanks for the update. Is it possible to have the same interface as IPB's one?

http://forums.invisionpower.com/inde...ct=Reg&CODE=00

Well? :rolleyes:

Terrasoft 06-11-2007 10:46 PM

Quote:

Originally Posted by Terrasoft (Post 1265318)
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

Quote:

Originally Posted by Snake (Post 1266534)
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.
Quote:

Originally Posted by Terrasoft (Post 1266592)
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

Quote:

Originally Posted by Terrasoft (Post 1266925)
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

[high]* Shazz installs
[/high]

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

PHP Code:

<?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

Quote:

Originally Posted by PlymWS (Post 1274213)
I get

PHP Code:

<?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

Quote:

Originally Posted by Magnumutz (Post 1275151)
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

[high]* Shazz updates Thanks :)[/high]

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?


All times are GMT. The time now is 12:00 AM.

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.01872 seconds
  • Memory Usage 1,835KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (4)bbcode_code_printable
  • (2)bbcode_php_printable
  • (16)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (1)pagenav_pagelinkrel
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (40)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete