SECOND request - surely this is not an uncommon occurance
#1
Just popping in
Just popping in


See User information
i asked once before if someone can tell me how to edit the Registration Form. there doesn't seem to be a block for it or a way to control whether the fields are Required or not. i can't imagine that this has never come up or that there's no one in here who knows how to control this...

thanks for anyone's help,
g

Posted on: 2006/9/13 20:30
 Top  Twitter  Facebook    Linkedin  Del.icio.us  Digg  Reddit  Mr. Wong 


Re: SECOND request - surely this is not an uncommon occurance
#2
Friend of XOOPS
Friend of XOOPS


See User information
What XOOPS version?

Posted on: 2006/9/13 20:32
 Top  Twitter  Facebook    Linkedin  Del.icio.us  Digg  Reddit  Mr. Wong 


Re: SECOND request - surely this is not an uncommon occurance
#3
Just popping in
Just popping in


See User information
current version, thanks >>> 2.15

Posted on: 2006/9/13 20:35
 Top  Twitter  Facebook    Linkedin  Del.icio.us  Digg  Reddit  Mr. Wong 


Re: SECOND request - surely this is not an uncommon occurance
#4
Friend of XOOPS
Friend of XOOPS


See User information

Posted on: 2006/9/13 20:40
 Top  Twitter  Facebook    Linkedin  Del.icio.us  Digg  Reddit  Mr. Wong 


Re: SECOND request - surely this is not an uncommon occurance
#5
Just popping in
Just popping in


See User information
A) Mr T, i REALLY appreciate your response and help

B) you mean to tell me that they've NOT designed a means of editing these fields within XOOPS, that it requires a 3rd party and a tutorial? as FAT as this app is, i've found some pretty ridiculous designs in here as well.

Posted on: 2006/9/13 20:48
 Top  Twitter  Facebook    Linkedin  Del.icio.us  Digg  Reddit  Mr. Wong 


Re: SECOND request - surely this is not an uncommon occurance
#6
Just popping in
Just popping in


See User information
i'm afraid that won't do it (i installed the mod and saw no way to make the fields Required).

is there anybody who can tell me how to edit the REG form for the default XOOPS installation so that the other fields are REQUIRED for the form to be submitted?

Posted on: 2006/9/13 21:28
 Top  Twitter  Facebook    Linkedin  Del.icio.us  Digg  Reddit  Mr. Wong 


Re: SECOND request - surely this is not an uncommon occurance
#7
XOOPS is my life!
XOOPS is my life!


See User information
open include/registerform.php

and add 'true' to the end of the fields you want required

ie..

to make the url field required

change (line 73):

$reg_form->addElement(new XoopsFormText(_US_WEBSITE"url"25255$myts->htmlSpecialChars($url)));


to

$reg_form->addElement(new XoopsFormText(_US_WEBSITE"url"25255$myts->htmlSpecialChars($url)), true);


and so on for each field.

for the edit user page do the same in file edituser.php

$edituser->setVar('url'formatURL($_POST['url']));


change to

$edituser->setVar('url'formatURL($_POST['url']), true);

Posted on: 2006/9/13 21:54
 Top  Twitter  Facebook    Linkedin  Del.icio.us  Digg  Reddit  Mr. Wong 


Re: SECOND request - surely this is not an uncommon occurance
#8
Just popping in
Just popping in


See User information
you, sir, are The Man.

thanks

Posted on: 2006/9/13 22:09
 Top  Twitter  Facebook    Linkedin  Del.icio.us  Digg  Reddit  Mr. Wong 


Re: SECOND request - surely this is not an uncommon occurance
#9
Not too shy to talk
Not too shy to talk


See User information
Thanks! (again) m0nty.

Surely it's time this was added to the FAQ? has come up in one form or another and for different versions countless times.

Xoops! it's in there! *blush*

Posted on: 2006/9/15 7:03
Being transgender is NOT a choice.
 Top  Twitter  Facebook    Linkedin  Del.icio.us  Digg  Reddit  Mr. Wong 







You can view topic.
You cannot start a new topic.
You cannot reply to posts.
You cannot edit your posts.
You cannot delete your posts.
You cannot add new polls.
You can vote in polls.
You cannot attach files to posts.
You cannot post without approval.
You cannot use topic type.
You cannot use HTML syntax.
You cannot use signature.
You cannot create PDF files.
You cannot get print page.

[Advanced Search]


Login
Username:

Password:

Remember me



Lost Password?

Register now!
Search
Recent Posts
Who's Online
132 user(s) are online (98 user(s) are browsing Support Forums)

Members: 0
Guests: 132

more...
Donat-O-Meter
Make donations with PayPal!
Stats
Goal: AU$15.00
Due Date: Jul 31
Gross Amount: AU$0.00
Net Balance: AU$0.00
Left to go: AU$15.00
Latest GitHub Commits
Recent forum posts
Recent Comments
About us
Learn
Use
Develop GitHub
Contribute
Connect
Terms of Use | Privacy Policy | Hosted by Arvixe Hosting | RSS 2.0 Button