Welcome to the E-Blah Community!
We would like to welcome you to our community and invite you to register an account or login.
Being a registered member is important, as it gives you several advantages over the normal Guest status. After registering you will be able to download files and images, post messages, and access member-only portions of the forum - just to name a few. Registration is quick and simple, and only takes about a minute of your time.

E-Blah Community    Technical Support    Question and Answer  ›  Ask to fill Profile Information after registration
Users Browsing Forum
No Members and 3 Guests

Ask to fill Profile Information after registration  This thread currently has 206 views. Print
1 Pages 1 Recommend Thread
Themeboy
December 21, 2009, 7:49pm Report to Moderator Report to Moderator

E-Blah Member
Posts: 19
Gender: Male
Posts Per Day: 0.02
Time Online: 6 hours 46 minutes
Location: India
Age: 20
How can I ask new members to fill in their profile information such as birth date, gender & location at the time of registration?

I want them to fill in these fields during registration only.


"A life spent making mistakes is not only more honorable, but more useful than a life spent doing nothing."

Mayank's Reputation - Increase
Logged Offline
Site Site Private Message Private message
Martin
December 22, 2009, 5:35am Report to Moderator Report to Moderator

I love E-Blah
10 Series Support Team
Posts: 5,171
Gender: Male
Posts Per Day: 1.98
Reputation: 98.41%
Reputation Score: +247 / -4
Time Online: 39 days 9 hours 4 minutes
Location: UK
Age: 53
I can write you a mod if you want.



Martin's Reputation: Increase
Logged
Site Site Private Message Private message Reply: 1 - 14
Themeboy
December 22, 2009, 5:54pm Report to Moderator Report to Moderator

E-Blah Member
Posts: 19
Gender: Male
Posts Per Day: 0.02
Time Online: 6 hours 46 minutes
Location: India
Age: 20
I would love it

Thanks in advance


"A life spent making mistakes is not only more honorable, but more useful than a life spent doing nothing."

Mayank's Reputation - Increase
Logged Offline
Site Site Private Message Private message Reply: 2 - 14
Martin
December 23, 2009, 1:43am Report to Moderator Report to Moderator

I love E-Blah
10 Series Support Team
Posts: 5,171
Gender: Male
Posts Per Day: 1.98
Reputation: 98.41%
Reputation Score: +247 / -4
Time Online: 39 days 9 hours 4 minutes
Location: UK
Age: 53



Martin's Reputation: Increase
Logged
Site Site Private Message Private message Reply: 3 - 14
Nat
December 23, 2009, 2:07pm Report to Moderator Report to Moderator

Here to help
Administrator
Posts: 1,876
Gender: Male
Posts Per Day: 2.22
Reputation: 88.64%
Reputation Score: +39 / -5
Time Online: 1 days 3 hours 58 minutes
Location: Manchester UK
Age: 49
Martin, that would be a good mod to have. I have a few forums that I run, and to have a location of a user would help, alas most do not do this, so a required field would be swell


"Thats the way the mop flops"
Logged Offline
Site Site Private Message Private message Reply: 4 - 14
Martin
December 23, 2009, 2:21pm Report to Moderator Report to Moderator

I love E-Blah
10 Series Support Team
Posts: 5,171
Gender: Male
Posts Per Day: 1.98
Reputation: 98.41%
Reputation Score: +247 / -4
Time Online: 39 days 9 hours 4 minutes
Location: UK
Age: 53
I'll create the mod soon.



Martin's Reputation: Increase
Logged
Site Site Private Message Private message Reply: 5 - 14
Themeboy
December 23, 2009, 6:15pm Report to Moderator Report to Moderator

E-Blah Member
Posts: 19
Gender: Male
Posts Per Day: 0.02
Time Online: 6 hours 46 minutes
Location: India
Age: 20
Quoted from Martin


Yes, exactly that's what I want  

Are you making a mod for asirra too?


"A life spent making mistakes is not only more honorable, but more useful than a life spent doing nothing."

Mayank's Reputation - Increase
Logged Offline
Site Site Private Message Private message Reply: 6 - 14
Martin
December 24, 2009, 12:58am Report to Moderator Report to Moderator

I love E-Blah
10 Series Support Team
Posts: 5,171
Gender: Male
Posts Per Day: 1.98
Reputation: 98.41%
Reputation Score: +247 / -4
Time Online: 39 days 9 hours 4 minutes
Location: UK
Age: 53
There is already a mod for assira, search the mod boards  



Martin's Reputation: Increase
Logged
Site Site Private Message Private message Reply: 7 - 14
Themeboy
December 24, 2009, 7:23pm Report to Moderator Report to Moderator

E-Blah Member
Posts: 19
Gender: Male
Posts Per Day: 0.02
Time Online: 6 hours 46 minutes
Location: India
Age: 20
sorry didn't see that......but now i've installed it on my forum.  


"A life spent making mistakes is not only more honorable, but more useful than a life spent doing nothing."

Mayank's Reputation - Increase
Logged Offline
Site Site Private Message Private message Reply: 8 - 14
Martin
December 26, 2009, 9:38am Report to Moderator Report to Moderator

I love E-Blah
10 Series Support Team
Posts: 5,171
Gender: Male
Posts Per Day: 1.98
Reputation: 98.41%
Reputation Score: +247 / -4
Time Online: 39 days 9 hours 4 minutes
Location: UK
Age: 53
Posted here: http://www.eblah.com/forum/m-1261841821.90622/

Only tested quickly so get back to me if there's any problems.



Martin's Reputation: Increase
Logged
Site Site Private Message Private message Reply: 9 - 14
Nat
December 26, 2009, 1:05pm Report to Moderator Report to Moderator

Here to help
Administrator
Posts: 1,876
Gender: Male
Posts Per Day: 2.22
Reputation: 88.64%
Reputation Score: +39 / -5
Time Online: 1 days 3 hours 58 minutes
Location: Manchester UK
Age: 49
Not installed the mod yet.. a quick question I only really need the "Location" to be compulsary, do you have to have age and gender? of can they be disabled


"Thats the way the mop flops"
Logged Offline
Site Site Private Message Private message Reply: 10 - 14
Martin
December 26, 2009, 1:08pm Report to Moderator Report to Moderator

I love E-Blah
10 Series Support Team
Posts: 5,171
Gender: Male
Posts Per Day: 1.98
Reputation: 98.41%
Reputation Score: +247 / -4
Time Online: 39 days 9 hours 4 minutes
Location: UK
Age: 53
I can expand the mod so you can choose what is required but can give you a quick fix if wanted...



Martin's Reputation: Increase
Logged
Site Site Private Message Private message Reply: 11 - 14
Nat
December 26, 2009, 2:58pm Report to Moderator Report to Moderator

Here to help
Administrator
Posts: 1,876
Gender: Male
Posts Per Day: 2.22
Reputation: 88.64%
Reputation Score: +39 / -5
Time Online: 1 days 3 hours 58 minutes
Location: Manchester UK
Age: 49
I am easy.. I have a busy forum, that is global, its its often a nightmare not to know what country a user is in.. And then I have a couple of mainly UK based ones where to know a County would also help...


"Thats the way the mop flops"
Logged Offline
Site Site Private Message Private message Reply: 12 - 14
Themeboy
December 26, 2009, 7:32pm Report to Moderator Report to Moderator

E-Blah Member
Posts: 19
Gender: Male
Posts Per Day: 0.02
Time Online: 6 hours 46 minutes
Location: India
Age: 20
Quoted from Martin
Posted here: http://www.eblah.com/forum/m-1261841821.90622/

Only tested quickly so get back to me if there's any problems.


Thanks Martin


The only problem was that instead of replacing this part, the code should be added after it :

Code
Source Code:
	SaveMemberID(
		$curnumber,
		%addtoID = (
			'password'   => $FORM{'pw'},
			'sn'         => $wantedname,
			'email'      => lc($FORM{'email'}),
			'avatar'     => 'default.gif',
			'posts'      => 0,
			'registered' => $curtime,
			'timezone'   => $gtzone || 0,
			'status'     => $vradmin,
			'validation' => $formid,
			'md5upgrade' => 1,
		}
	};

Replace:
	SaveMemberID(
		$curnumber,
		%addtoID = (
			'sex'         => $FORM{'sex'},
			'dob'         => $birthday,
			'location'    => $FORM{'location'},
		}
	};


When using this, the members are not registered correctly.

I changed the search to look for 'md5upgrade' => 1, & added your code after it. Now it works fine.

Thanks once again


"A life spent making mistakes is not only more honorable, but more useful than a life spent doing nothing."

Mayank's Reputation - Increase
Logged Offline
Site Site Private Message Private message Reply: 13 - 14
Martin
December 27, 2009, 1:51am Report to Moderator Report to Moderator

I love E-Blah
10 Series Support Team
Posts: 5,171
Gender: Male
Posts Per Day: 1.98
Reputation: 98.41%
Reputation Score: +247 / -4
Time Online: 39 days 9 hours 4 minutes
Location: UK
Age: 53
Thanks for getting back to me, now updated.

http://www.eblah.com/forum/m-1261900221.06575/



Martin's Reputation: Increase
Logged
Site Site Private Message Private message Reply: 14 - 14
1 Pages 1 Recommend Thread
Print

E-Blah Community    Technical Support    Question and Answer  ›  Ask to fill Profile Information after registration

Thread Tags