Re: SECOND request - surely this is not an uncommon occurance
|
||||
---|---|---|---|---|
Friend of XOOPS
![]() ![]() ![]() |
What XOOPS version?
Posted on: 2006/9/13 20:32
|
|||
|
Re: SECOND request - surely this is not an uncommon occurance
|
||||
---|---|---|---|---|
Just popping in
![]() ![]() ![]() |
current version, thanks >>> 2.15
Posted on: 2006/9/13 20:35
|
|||
|
Re: SECOND request - surely this is not an uncommon occurance
|
||||
---|---|---|---|---|
Friend of XOOPS
![]() ![]() ![]() |
Posted on: 2006/9/13 20:40
|
|||
|
Re: SECOND request - surely this is not an uncommon occurance
|
||||
---|---|---|---|---|
Just popping in
![]() ![]() ![]() |
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
|
|||
|
Re: SECOND request - surely this is not an uncommon occurance
|
||||
---|---|---|---|---|
Just popping in
![]() ![]() ![]() |
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
|
|||
|
Re: SECOND request - surely this is not an uncommon occurance
|
||||
---|---|---|---|---|
XOOPS is my life!
![]() ![]() ![]() |
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", 25, 255, $myts->htmlSpecialChars($url))); to $reg_form->addElement(new XoopsFormText(_US_WEBSITE, "url", 25, 255, $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
|
|||
|
Re: SECOND request - surely this is not an uncommon occurance
|
||||
---|---|---|---|---|
Just popping in
![]() ![]() ![]() |
you, sir, are The Man.
thanks
Posted on: 2006/9/13 22:09
|
|||
|
Re: SECOND request - surely this is not an uncommon occurance
|
||||
---|---|---|---|---|
Not too shy to talk
![]() ![]() ![]() |
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.
|
||||
|
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.