1
quaker_31
2.2 Custom USER REGISTRATION FIELDS CHANGE PROFILE
  • 2005/7/19 16:22

  • quaker_31

  • Just popping in

  • Posts: 7

  • Since: 2005/7/19


ARHHHH

Well after a hugh promise that 2.2 is going to have great features, its not delivering as promised. But I still love it OPEN SOURCE!

I know now we can add fields, however HOW DO WE MAKE these fields come up when we register!! and make them compulsory.

So when a user signs up I want him to give me his
NAME- plain text
AGE range -- a drop down box 18-25, 25-30, etc
SKILLS -plain text
REGION -- DROP DOWN
GENDER ---COMBO SELECT FROM 3 choice m/f/no mention


All this was meant to come in 2.2 and so I didnt use any of the hacks around, however 2.2 does not seem to have this(sorry if it does and i am too stupid to see it)....so can anyone out there, please help me, I would very much appreciate it. God Bless
EDIT --- NOPE I AM AN IDIOT AND A FAILURE I HAVE FOUND THE FUNCTION AND I APOLOGISE TO THE DEVELOPERS FOR EVEN DOUBTING THEM, LONG LIVE XOOPS, AND U ARE ALLOWED TO PUNCH ME WHEN YOU GUYS SEE ME AS I AM AN IDIOT

2
Mithrandir
Re: 2.2 Custom USER REGISTRATION FIELDS CHANGE PROFILE

Quote:
U ARE ALLOWED TO PUNCH ME WHEN YOU GUYS SEE ME

Nah, wouldn't dream of it.

I'm happy you found it and yes, it is one of the areas, we will refine in XOOPS 2.4 - in XOOPS 2.2, we have focused on getting it working with the features needed.
"When you can flatten entire cities at a whim, a tendency towards quiet reflection and seeing-things-from-the-other-fellow's-point-of-view is seldom necessary."

Cusix Software

3
dr770
Re: 2.2 Custom USER REGISTRATION FIELDS CHANGE PROFILE
  • 2005/7/21 18:14

  • dr770

  • Just popping in

  • Posts: 2

  • Since: 2005/7/21


I put some more new fields for user registration form.
Unfortunately, not all data from this new filds doesn't come thru to the next page,

Username: dr770
Email: asdfsdf@gmail.com
Displayname: dr770
Watt's Up Newsletter abonieren: 1
Straße: asdfasdf
Mädchenname: asdf
PLZ: 12345
Programm: (no data!)
Ort: sdfdsfg
Telefon: 1231234
Mobil: 1231234234
Geburtsdatum: 12.12.67
Ausbildung: sdfasdf
Beruf: asdfasdf
Meine Daten für andere Alumni freigeben: (should be 1)
Ich bin damit einverstanden, dass meine Daten gespeichert werden: (should be 1)
User Registration

and then comes error:

Could not register new user.array(1) { [0]=> string(21) "Programm is required." }
"Program" was multiselect field.

I find new fields in DB, in table xoops_user_profile, but without data...

somebody has advice? thanks for help

4
Mithrandir
Re: 2.2 Custom USER REGISTRATION FIELDS CHANGE PROFILE

Thanks.

There are some problems with fields containing multiple values.
I've fixed it - I hope without sideeffects - and will package up XOOPS 2.2 RC2 now.
"When you can flatten entire cities at a whim, a tendency towards quiet reflection and seeing-things-from-the-other-fellow's-point-of-view is seldom necessary."

Cusix Software

5
dr770
Re: 2.2 Custom USER REGISTRATION FIELDS CHANGE PROFILE
  • 2005/7/22 14:31

  • dr770

  • Just popping in

  • Posts: 2

  • Since: 2005/7/21


Now it seem to work!
Just some little things:

after submitting of user registrations form, comes warning:
Warning [PHP]: implode(): Bad argumentsin file modules/profile/register.php line 94


and in output, the user data is still not shown:

Username: dr770
Email: dr770@mail.ru
Displayname: dr770
Programm: (NO DATA! from multiselect field)
User Registration

the data comes in db, but, it's still confusabel for user not to see it after form submitting.

on the next step, after pushing button "Finish", following warning:

Warning [PHP]: implode(): Bad argumentsin file class/mail/xoopsmultimailer.php line 171


After user activation (thru Administrator in my case), following warnings:

Warning [PHP]: implode(): Bad argumentsin file class/mail/xoopsmultimailer.php line 171
Notice 
[PHP]: Use of undefined constant _US_YOURACCOUNT assumed '_US_YOURACCOUNT' in file modules/profile/activate.php line 65
Notice 
[PHP]: Use of undefined constant _US_ACTVMAILOK assumed '_US_ACTVMAILOK' in file modules/profile/activate.php line 70


and , funny, right block (login, main menue in my case) comes 2 times.

thanks for the great work and soon help!

6
SLEO577
Re: 2.2 Custom USER REGISTRATION FIELDS CHANGE PROFILE
  • 2005/7/23 23:25

  • SLEO577

  • Not too shy to talk

  • Posts: 110

  • Since: 2005/6/27


I am having the same problem as what you mentioned dr770.

After registering and hitting the "Finished" button, I get the same error twice.

Quote:

Warning [PHP]: implode(): Bad arguments. in file class/mail/xoopsmultimailer.php line 171


As far as what you are mentioning in the "Activation" part of it, I get this;

The user registering sees this in their e-mail:

Quote:

Under the "Subject Header" of the new users email (_US_YOURACCOUNT)


After I activate the account, I get this:
Quote:

In my webpage I see this after activating the account.(_US_ACTVMAILOK)


The only other issue I haven't been able to figure out is how to allow for more options under "Select"? I think it only gives you 12 to select from and I am needing approximately 70 options to select from.

Sorry Mith, I have another additional item I have had problems with also. If I go to Edit a user and click the "Edit" button, it takes me the Admin Page displaying the "System Module" options. And I haven't been able to figure out how to delete a user other than by MySQL.

7
Cuidiu
Re: 2.2 Custom USER REGISTRATION FIELDS CHANGE PROFILE
  • 2006/6/27 17:33

  • Cuidiu

  • Quite a regular

  • Posts: 358

  • Since: 2006/4/23


I am getting the same warning as dr770. Is there a fix for this or is it anything to worry about?

Quote:
dr770 wrote:
after submitting of user registrations form, comes warning:
Warning [PHP]: implode(): Bad argumentsin file modules/profile/register.php line 94


Thanks.
[size=x-small]Working sites:
XOOPS 2.0.16 PHP 5.2.2, MySQL 5.0.24a-standard-log, Apache/2.0.54 (Unix)
XOOPS 2.2.4, PHP 4.3.10, MySQL 3.23.58, Apache/1.3.33 (Unix)[/size]

Login

Who's Online

136 user(s) are online (86 user(s) are browsing Support Forums)


Members: 0


Guests: 136


more...

Donat-O-Meter

Stats
Goal: $100.00
Due Date: May 31
Gross Amount: $0.00
Net Balance: $0.00
Left to go: $100.00
Make donations with PayPal!

Latest GitHub Commits