[BETA] AJAX Registration Checks 0.1.2

A place for MOD Authors to post and receive feedback on MODs still in development. No MODs within this forum should be used within a live environment!
Suggested Hosts
Tuvok41
Registered User
Posts: 7
Joined: Thu Apr 10, 2008 7:09 am

Re: [BETA] AJAX Registration Checks 0.1.2

Post by Tuvok41 »

saaiberke wrote:On my BF_vista style it did work without any problem. At this moment I'm updating my board to 3.01 so this mod isn't installed anymore, but I will install it again tonight and will confirm the good functioning again :)

Grtz,

Nic
I have installed 3.01 and on mine its indenting the posts towards the right, are you having the same problems or its just me?

User avatar
fiorefrank
Registered User
Posts: 226
Joined: Fri Jun 08, 2007 10:43 am
Location: Italy
Contact:

Re: [BETA] AJAX Registration Checks 0.1.2

Post by fiorefrank »

works good on localhost ;)

User avatar
Professional
Registered User
Posts: 187
Joined: Mon Jan 21, 2008 2:40 pm

Re: [BETA] AJAX Registration Checks 0.1.2

Post by Professional »

can anyone plz help me to install it on subsilver2 style? ;)
انجمن تخصصی نسل جدید موبایل ها
My Mobile Forum: M4P Forum
Every Thing That U Feel,Is Every Thing That I Feel.

User avatar
RickieIzfazt
Registered User
Posts: 115
Joined: Mon Feb 04, 2008 12:21 pm
Contact:

Re: [BETA] AJAX Registration Checks 0.1.2

Post by RickieIzfazt »

Using this problem free for some time as I already posted. Is there any way in which this can exclude from registration email adresses from hotmail, live, gmail and any more low quality email-adresses I wish to add?
Running PHPbb3 canverPORTAL, SEO advanced URL MOD, SEO dynamic metatags, BRIDGED Ajax Chat & Coppermine, various small mods, Cutenews, Crawltrack (check http://www.crawltrack.fr if you don't now) SEO & crawler tracking on all scripts. Running phpBB Arcade and posts rating system.

have a look at http://tjoogle.com

User avatar
Professional
Registered User
Posts: 187
Joined: Mon Jan 21, 2008 2:40 pm

Re: [BETA] AJAX Registration Checks 0.1.2

Post by Professional »

RickieIzfazt wrote:Using this problem free for some time as I already posted. Is there any way in which this can exclude from registration email adresses from hotmail, live, gmail and any more low quality email-adresses I wish to add?
sorry for this post.
can u plz help me to have your site map:
http://tjoogle.com/sitemap.html
انجمن تخصصی نسل جدید موبایل ها
My Mobile Forum: M4P Forum
Every Thing That U Feel,Is Every Thing That I Feel.

danielnguyen
Registered User
Posts: 287
Joined: Thu Jan 24, 2008 11:44 am
Location: Vietnam
Contact:

Re: [BETA] AJAX Registration Checks 0.1.2

Post by danielnguyen »

No update needed for this mod?
My forum, for just teen only with many happy things
Cộng Đồng Teen Online - Cộng Đồng Teen Việt - Teen Việt Nam
Hội Ngộ - Giao Lưu - Học Hỏi - Giải Trí - Kết Bạn
http://www.congdongteenonline.net

User avatar
Elias
Registered User
Posts: 4628
Joined: Sat Feb 25, 2006 4:31 pm
Location: In the Water!
Name: Elias

Re: [BETA] AJAX Registration Checks 0.1.2

Post by Elias »

Very nice MOD. Will be used in the new project of mine :D
"Mystery creates wonder, and wonder is the basis of man's desire to understand." - Neil Armstrong
|Installing Extensions|Writing Extensions|Extension Validation Policy|

danielnguyen
Registered User
Posts: 287
Joined: Thu Jan 24, 2008 11:44 am
Location: Vietnam
Contact:

Re: [BETA] AJAX Registration Checks 0.1.2

Post by danielnguyen »

No update needed? The Author?
My forum, for just teen only with many happy things
Cộng Đồng Teen Online - Cộng Đồng Teen Việt - Teen Việt Nam
Hội Ngộ - Giao Lưu - Học Hỏi - Giải Trí - Kết Bạn
http://www.congdongteenonline.net

User avatar
simple12
Registered User
Posts: 84
Joined: Fri Jun 01, 2007 7:39 am
Location: Varanasi, India

Re: [BETA] AJAX Registration Checks 0.1.2

Post by simple12 »

Hello all,
My board have this mod installed. It was working fine in all the browser except opera username check. But now nothing works on any browser, can you suggest what have gone wrong.
I have lots of mods also installed on the forum.

Board url below profile

SnakeSK
Registered User
Posts: 4
Joined: Tue May 20, 2008 4:21 pm

Re: [BETA] AJAX Registration Checks 0.1.2

Post by SnakeSK »

works like a charm on FF & IE, gonna test Opera

User avatar
Professional
Registered User
Posts: 187
Joined: Mon Jan 21, 2008 2:40 pm

Re: [BETA] AJAX Registration Checks 0.1.2

Post by Professional »

plz help to install itat subsilver2
انجمن تخصصی نسل جدید موبایل ها
My Mobile Forum: M4P Forum
Every Thing That U Feel,Is Every Thing That I Feel.

User avatar
PCGUY112887
Registered User
Posts: 499
Joined: Thu Apr 01, 2004 12:39 am
Location: Illinois
Contact:

Re: [BETA] AJAX Registration Checks 0.1.2

Post by PCGUY112887 »

OK, Subsilver2 Instructions for all of you...

OPEN

Code: Select all

styles/subsilver2/imageset/imageset.cfg
FIND

Code: Select all

img_icon_topic_unapproved = icon_topic_unapproved.gif*18*19
AFTER, ADD (this is just adding it to the bottom of this file, so if the previous FIND doesn't work just add this to the very bottom of the file)

Code: Select all

img_icon_ajax_checking = icon_ajax_checking.gif*16*16
img_icon_ajax_true = icon_ajax_true.gif*16*16
img_icon_ajax_false = icon_ajax_false.gif*16*16
img_icon_ajax_password_strength_1 = icon_ajax_password_strength_1.gif*16*44
img_icon_ajax_password_strength_2 = icon_ajax_password_strength_2.gif*16*44
img_icon_ajax_password_strength_3 = icon_ajax_password_strength_3.gif*16*44
img_icon_ajax_password_strength_4 = icon_ajax_password_strength_4.gif*16*44
SAVE/CLOSE


OPEN

Code: Select all

styles/subsilver2/template/ucp_register.html
Now MAKE THE FIND/AFTER-ADD CHANGES LISTED HERE FIRST!
http://www.phpbb.com/community/viewtopi ... 0#p3049641

Then, do this.

FIND

Code: Select all

	/**
	* Change language
	*/
	function change_language(lang_iso)
	{
		document.forms['register'].change_lang.value = lang_iso;
		document.forms['register'].submit.click();
	}
AFTER, ADD

Code: Select all

	/**
	* Some functions for the AJAX checker
	*/
	function createRequestObject() {
	    var ro;
	    var browser = navigator.appName;
	    if(browser == "Microsoft Internet Explorer"){
	        ro = new ActiveXObject("Microsoft.XMLHTTP");
	    } else {
	        ro = new XMLHttpRequest();
	    }
	    return ro;
	}
	
	var http = createRequestObject();
	
	function sndReq(mode, valuename1, value1, valuename2, value2) {
		// Show that the request is running
		if (mode == 'usernamecheck' && document.getElementById('username').value != ''){
			document.getElementById('usernamecheck').innerHTML = '{AJAX_CHECKING_IMG} {L_AJAX_CHECKING_USERNAME}';
		} else if (mode == 'passwordcheck' && document.getElementById('new_password').value != '' && document.getElementById('password_confirm').value != '') {
			document.getElementById('passwordcheck').innerHTML = '{AJAX_CHECKING_IMG} {L_AJAX_CHECKING_PASSWORD}';
		} else if (mode == 'emailcheck' && document.getElementById('email').value != '' && document.getElementById('email_confirm').value != '') {
			document.getElementById('emailcheck').innerHTML = '{AJAX_CHECKING_IMG} {L_AJAX_CHECKING_EMAIL}';
		} else {
			return false;
		}
		
		// Make the request
	    http.open('get', '{AJAX_CHECKS_FILE}?mode='+mode+'&'+valuename1+'='+value1+'&'+valuename2+'='+value2);
	    http.onreadystatechange = handleResponse;
	    http.send(null);
	}
	
	function handleResponse() {
	    if(http.readyState == 4){
	        var response = http.responseText;
	        var update = new Array();
	
	        if(response.indexOf('|' != -1)) {
	            update = response.split('|');
	            document.getElementById(update[0]).innerHTML = update[1];
	        }
	    }
	}
FIND

Code: Select all

value="{USERNAME}" />
REPLACE WITH

Code: Select all

value="{USERNAME}" onblur="sndReq('usernamecheck', 'username', this.value, 'ignore', 'ignore')" /><span id="usernamecheck"></span>
FIND

Code: Select all

value="{EMAIL}" />
REPLACE WITH

Code: Select all

value="{EMAIL}" onblur="sndReq('emailcheck', 'email1', this.value, 'email2', document.getElementById('email_confirm').value)" /><span id="emailcheck"></span>
FIND

Code: Select all

value="{EMAIL_CONFIRM}" />
REPLACE WITH

Code: Select all

value="{EMAIL_CONFIRM}" onblur="sndReq('emailcheck', 'email1', document.getElementById('email').value, 'email2', this.value)" />
FIND

Code: Select all

value="{PASSWORD}" />
REPLACE WITH

Code: Select all

value="{PASSWORD}" onblur="sndReq('passwordcheck', 'password1', this.value, 'password2', document.getElementById('password_confirm').value)" /><span id="passwordcheck"></span>
FIND

Code: Select all

value="{PASSWORD_CONFIRM}" />
REPLACE WITH

Code: Select all

value="{PASSWORD_CONFIRM}" onblur="sndReq('passwordcheck', 'password1', document.getElementById('new_password').value, 'password2', this.value)" />
Now we just need the user name check bugs fixed, the bug fix on page 12 incorporated (with special characters in the password), and the bug for the error to correctly display when the password isn't long enough, and I think we will have a much more stable mod!

ORiOn16
Registered User
Posts: 11
Joined: Tue Jun 17, 2008 2:37 pm

Re: [BETA] AJAX Registration Checks 0.1.2

Post by ORiOn16 »

Does it work with 3.0.1 ??

User avatar
PCGUY112887
Registered User
Posts: 499
Joined: Thu Apr 01, 2004 12:39 am
Location: Illinois
Contact:

Re: [BETA] AJAX Registration Checks 0.1.2

Post by PCGUY112887 »

ORiOn16 wrote:Does it work with 3.0.1 ??
Yes.

ORiOn16
Registered User
Posts: 11
Joined: Tue Jun 17, 2008 2:37 pm

Re: [BETA] AJAX Registration Checks 0.1.2

Post by ORiOn16 »

PCGUY112887 wrote:
ORiOn16 wrote:Does it work with 3.0.1 ??
Yes.
hummm...

I've done everything, and it does not work :/

EDIT:
Is there any option on the admin panel, that need to turn it on, or something like that?

because it does not work here :/

Locked

Return to “[3.0.x] MODs in Development”