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)

Streicher 04-27-2007 05:18 PM

Quote:

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

Quote:

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

^[A-Z0-9 ]+$
Try this:
Code:

^[A-Za-z0-9]+$

Wayne Luke 04-27-2007 09:08 PM

Quote:

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


All times are GMT. The time now is 09:29 PM.

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.01662 seconds
  • Memory Usage 1,736KB
  • 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
  • (2)bbcode_code_printable
  • (3)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (3)pagenav_pagelinkrel
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)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