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)

tsh4life 04-15-2007 04:47 PM

whenever i input anything into the username box i get it turns the text to from

Code:

tsh4life
to

Code:

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

Quote:

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

Quote:

Originally Posted by rayw (Post 1228745)
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

Quote:

Originally Posted by dbirosel (Post 1228766)
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

Quote:

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

Quote:

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

Quote:

Originally Posted by Dead End Society (Post 1229012)
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 hack?

Coders Shack 04-16-2007 08:20 PM

fixed banned user names for people that don't have any setup.

Quote:

Originally Posted by bchertov (Post 1229024)
Does this hack incorporate the level of email validation supported by the
Check E-mail Address Before Registration 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

Quote:

Originally Posted by Coders Shack (Post 1228499)
you have ajax turned on in the admin cp?

yea, i do...

Coders Shack 04-16-2007 10:14 PM

Quote:

Originally Posted by tsh4life (Post 1229292)
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

Quote:

Originally Posted by TheMilkCarton (Post 1229339)
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
PHP Code:

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

add these lines after that
PHP Code:

            $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

Quote:

Originally Posted by bjhuang (Post 1230559)
to support chinese (maybe others)

open plugin "CheckUsername" and find
PHP Code:

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

add these lines after that
PHP Code:

            $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

Quote:

Originally Posted by Panagioths (Post 1232620)
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..


All times are GMT. The time now is 09:30 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.01865 seconds
  • Memory Usage 1,833KB
  • 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
  • (4)bbcode_php_printable
  • (12)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (3)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