vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   Modification Graveyard (https://vborg.vbsupport.ru/forumdisplay.php?f=224)
-   -   Miscellaneous Hacks - AJAX / Cool Registration (https://vborg.vbsupport.ru/showthread.php?t=142181)

RedGTiVR6 03-18-2007 03:57 PM

Quote:

Originally Posted by Mr Chad (Post 1205125)
Well i had to do things... I'm not sitting at my computer waiting for your response...

This is in beta stage so you shouldn't be testing this on a live board in the first place.

and it also my choice to release this, an since I felt like being nice I did.

I understand. However, I made it clear in my post what my situation was. If you didn't have the time, just say so...simple as that. Don't lead people on then forget about it.

Triky 03-19-2007 03:48 PM

Great mod. *Triky Installed* :)

b6gm6n 03-19-2007 07:30 PM

Hi... got it working :) just one thing... i use custom styles for my input boxes etc... how can i retain that when the mod kicks in... just shows a white box, is there any way to keep the style used in the forum? cheers and thank you for a great addon!

Yeah the class 'bginput' is not being restored on 'onblur' as soon as a value is sent from the javascript it creates a default white without the custom css class

-b6

Mr Chad 03-19-2007 08:18 PM

Quote:

Originally Posted by b6gm6n (Post 1207559)
Hi... got it working :) just one thing... i use custom styles for my input boxes etc... how can i retain that when the mod kicks in... just shows a white box, is there any way to keep the style used in the forum? cheers and thank you for a great addon!

Yeah the class 'bginput' is not being restored on 'onblur' as soon as a value is sent from the javascript it creates a default white without the custom css class

-b6

you would have to add your input style into the inputbad and inputgood CSS you added to your style

b6gm6n 03-19-2007 08:32 PM

Thanx Mr Chad, your a star!

-b6

PoetJA-1975 03-20-2007 09:36 AM

I've uploaded images & clientscript files
imported plugin
made template changes
and still see no change whatsoever to the registration form

Possible that there's a conflict with another modification like NoSpam for instance?

Help!

Thanx,

Jacquii.

TheSh@rk 03-20-2007 11:00 AM

Very nice plugin!
Thank you very much.

Allan 03-20-2007 12:22 PM

File attach, French language ;)

Translator: Sofia :)

Mr Chad 03-20-2007 02:03 PM

Quote:

Originally Posted by PoetJA-1975 (Post 1207965)
I've uploaded images & clientscript files
imported plugin
made template changes
and still see no change whatsoever to the registration form

Possible that there's a conflict with another modification like NoSpam for instance?

Help!

Thanx,

Jacquii.

is there any other fields with "name=register"

b6gm6n 03-20-2007 03:29 PM

Quote:

Originally Posted by PoetJA-1975 (Post 1207965)
I've uploaded images & clientscript files
imported plugin
made template changes
and still see no change whatsoever to the registration form

Possible that there's a conflict with another modification like NoSpam for instance?

Help!

Thanx,

Jacquii.


i had that... until i realized i was using the wrong style... make sure you apply the settings and css and everything else to your 'current' style...

-b6

Soliloquy 03-22-2007 02:18 AM

I installed this a couple of days ago and it mostly seems to be working great, except today I got three "vBulletin Database Error!" messages when somebody tried to register with an apostrophe in their name. No idea what was shown to the user but here's the error message from the email:

Invalid SQL:
SELECT COUNT(*) as username FROM `vB_user` WHERE `username` = 'Kneene'er';
MySQL Error : You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'er'' at line 1
Error Number : 1064
Script : http://www.exampleforum.com/ajax.php...am=Kneene%27er

subzero06 03-22-2007 02:59 AM

Quote:

Originally Posted by Soliloquy (Post 1209321)
I installed this a couple of days ago and it mostly seems to be working great, except today I got three "vBulletin Database Error!" messages when somebody tried to register with an apostrophe in their name. No idea what was shown to the user but here's the error message from the email:

Invalid SQL:
SELECT COUNT(*) as username FROM `vB_user` WHERE `username` = 'Kneene'er';
MySQL Error : You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'er'' at line 1
Error Number : 1064
Script : http://www.exampleforum.com/ajax.php...am=Kneene%27er


Yeah, im having the same problem.

efil 03-22-2007 04:06 AM

Hi,
There is a problem with hebrew lang.

when i insert a new user name in hebrew lang i get a strange characters.

jagari 03-22-2007 05:26 AM

Does this work even with custom templates?

DPSR 03-22-2007 05:26 AM

Working fine here :D

Thanks Mr. Chad

PoetJA-1975 03-22-2007 08:08 AM

Quote:

Originally Posted by Mr Chad (Post 1208069)
is there any other fields with "name=register"

Thanx for responding MR CHAD - I'm not quite sure I understand though - Where would the "name=register" field be?

Thanx

Jacquii.

ThorstenA 03-22-2007 09:07 AM

great product !

subzero06 03-22-2007 12:50 PM

Anyones knows how to fix it so people can register with an apostrophe name.?

Kirk Y 03-22-2007 04:19 PM

Quote:

Originally Posted by PoetJA-1975 (Post 1209411)
Thanx for responding MR CHAD - I'm not quite sure I understand though - Where would the "name=register" field be?

Thanx

Jacquii.

Look in your Header/Footer templates. It doesn't necessarily need to be name=register either, if you're using JS Rollovers, you could have one of them named register.

Ethelbert 03-24-2007 04:04 PM

Hi, I have a little problem. Everything working fine except my username. When I type any username it's available or is in use and when I type my username (admin username) username will be cleaned and status will be Available...

Could you tell me how can I fix tis problem?

You can test it at: www.verejnadiskusia.sk - my username is drakeman

Thank you

TheMilkCarton 03-24-2007 04:52 PM

I'm not really concerned with this, since I just need to edit the JS file, but it doesn't change the character minimum if you change it higher than 3 characters. Can't you incorporate a variable of some kind to pull that info straight from vBulletin?

Also, there's a typo in your phrase "The username must me 3 characters or more" which I just have to edit the JS file as well, and you might have already fixed in your latest release.. I just haven't downloaded it. :)

Also, what I really don't like is that when you click inside a box and then click out of it to, for example, change your username, it will tell you "Password must be 6 chars or more" even though you haven't tried typing anything yet. Can't you make it so that it only shows you error messages once you've started typing something?

Well that's it with my suggestions.. Thanks!

Dead End Society 03-24-2007 05:32 PM

Quote:

Originally Posted by subzero06 (Post 1209545)
Anyones knows how to fix it so people can register with an apostrophe name.?

Same problem here, works fine but when a user tries to do this.

testebr 03-24-2007 09:06 PM

please improve your script to check if username is banned by admin to user register.

TWTCommish 03-24-2007 09:57 PM

Looks great; very polished. But until/if the apostrophe issue is sorted out, I'll have to pass.

PoetJA-1975 03-25-2007 01:43 AM

Quote:

Originally Posted by acidburn0520 (Post 1209645)
Look in your Header/Footer templates. It doesn't necessarily need to be name=register either, if you're using JS Rollovers, you could have one of them named register.

OK - Thanx for the response ACID - And yes - In my header template (since our main Navbar is of rollover images) we do have a register using JS - So I will rename and see if that makes a difference!

Thanx,

Jacquii.

harmor19 03-25-2007 07:20 AM

What if you would take all the lines similar to one pasted below and removed the single quotes? I'm not sure if "username" after "LoginStatus" is the variable that holds the value of the provided username typed by the user.

Before
Code:

LoginStatus('username','username_status',null,'0', 'The username must me 3 chars or more');

After
Code:

LoginStatus(username,'username_status',null,'0', 'The username must me 3 chars or more');

Realturktiger 03-25-2007 08:01 AM

Thanks for Turkish update ...........

wolfe 03-25-2007 11:40 AM

i installed this hack and the email are both saying ok even if they dont match up.

PoetJA-1975 03-25-2007 12:01 PM

Quote:

Originally Posted by da420 (Post 1206501)
Why should this hack be a product?

If I needed it phrased that bad I'd do it myself...

Agreed - so I edited the phrase to suit my forum ;)

Quote:

Originally Posted by subzero06 (Post 1206032)
lol...nvm i fixed it, i had to delete those four and just leave one "checkusername" plugin

Yeah - for some reason I had 2 checkusername plugins - so I deleted the extra ugh LOL - Thanx for the tip - Works perfectly now!

AND Thanx for the lovely addition MR CHAD - I'm sure this will make the registration process a lot clear than it has been and much easier for prospective Members.

I appreciate you sharing this mod with us ;)

Jacquii.

thincom2000 03-25-2007 05:57 PM

I tried to fix the apostrophe issue on my own, but I have no clue how to use regular expressions.

Note: If you try to register a username with an apostrophe:
Code:

mor'iarty
will not work.
Code:

mor\'iarty
WILL work, but the backslash is part of name now.

taheri6 03-25-2007 07:08 PM

lol, I was having problems with this in where when you typed in the username, it would check, and replace your username with "Checking..." and then regardless of the outcome the username box would go blank.

I then realized I had not imported the plugin, and proceeded to bang my head on the wall. Once I imported, it has worked as I expected in both IE7 and FF2

Great mod, works perfect. Thanks!

kaptanblack 03-25-2007 07:18 PM

Thanks very good

ArAb4NoKiA 03-26-2007 05:14 AM

thanks for the MOD but it doesn't work multi language in the username why ?

Itzbenreel 03-26-2007 05:45 PM

Clicky clicky.

I'm using this w/ CAPTCHA replacement and things seem to work fine.

Cybershaolin 03-26-2007 05:47 PM

It's working but not for the username.

This is what I get in the box when trying to input a name:

<?xml version="

Why?

Masked Crusader 03-26-2007 07:46 PM

Any chance that we can get a PSD for the two images that you used -- the green checkmark and the red 'X'. I need to change the background of the two images.

Thanks.

Xplorer4x4 03-27-2007 08:19 PM

Quote:

Originally Posted by shanejeffery86 (Post 1212997)
Any chance that we can get a PSD for the two images that you used -- the green checkmark and the red 'X'. I need to change the background of the two images.

Thanks.

Just edit them in pain brush with the fill tool.

When i try to register on my forums it will clear the user name field when i tab to the password field.

How can this be fixed?

Stop 03-28-2007 07:17 PM

It works like a charm..
But I noticed that it only checks the already registered user-names but not the Illegal User Names which were banned from the admin..

DJ XtAzY 03-28-2007 08:09 PM

feature request:

If a person enters a yahoo/hotmail (or something like that) as an email, display a warning message that it may block the activation email and recommend another email provider...

something like that
thanks

M-Tuning 03-29-2007 07:03 AM

Quote:

Originally Posted by XtAzY (Post 1214750)
feature request:

If a person enters a yahoo/hotmail (or something like that) as an email, display a warning message that it may block the activation email and recommend another email provider...

something like that
thanks


That would be nice.


All times are GMT. The time now is 08:06 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.01275 seconds
  • Memory Usage 1,829KB
  • 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
  • (13)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (3)pagenav_pagelink
  • (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