228391
Mithrandir
Re:Copyrights

You must keep credits in the source code - but you are allowed to remove visible-to-users elements.



228392
Mithrandir
Re:Make real name a required field for user registration

$reg_form->addElement($name_text);
$reg_form->addElement($lname_text);


Add a second parameter, true, to those fields
$reg_form->addElement($name_texttrue);
$reg_form->addElement($lname_texttrue);



228393
MS-2001
Copyrights
  • 2004/10/28 17:42

  • MS-2001

  • Quite a regular

  • Posts: 204

  • Since: 2004/7/27


Is it ok to remove all copyrights from the modules i use when i put them in the imprint ?
for exemple: agenda-x, xcgal, theme



228394
coopersita
Re:Make real name a required field for user registration

How do you add more than one required field?

I tried
$reg_form->setRequired($lname_text$name_text$email_text);


But it only makes the first one ($lname_text) required, the others are not. Email sort of works because once you submit it checks it for formatting, but name won't work at all.

I also tried
$reg_form->setRequired($lname_text);
$reg_form->setRequired($name_text);
$reg_form->setRequired($email_text);


This just breaks the page (blank page)

Any suggestions?

Here's how I added the fields:
$name = isset($HTTP_POST_VARS['name']) ? $myts->makeTboxData4PreviewInForm($HTTP_POST_VARS['name']) : "";
$name_text = new XoopsFormText(_US_NAME"name"2560$name); 
$lname = isset($HTTP_POST_VARS['lname']) ? $myts->makeTboxData4PreviewInForm($HTTP_POST_VARS['lname']) : "";
$lname_text = new XoopsFormText(_US_LNAME"lname"2560$lname);
....
$reg_form->addElement($name_text);
$reg_form->addElement($lname_text);



228395
Dave_L
Re:In xoopsmembers module the $user array in the template...
  • 2004/10/28 17:23

  • Dave_L

  • XOOPS is my life!

  • Posts: 2277

  • Since: 2003/11/7


Hmmm ... I know a browser can cache the final HTML page, and of course XOOPS stores both the compiled templates and the cached pages, but I don't understand how a browser can cache the source template.

I think the templates are stored in the tables xoops_tplfile, xoops_tplset and xoops_tplsource. I had to manually fix a stray template once, but I don't remember the details now.



228396
Mithrandir
Re: date without time

Shouldn't matter - both ' and " means that it is a string being sent as a parameter. I usually just choose the one, that's closest at hand - sometimes it's a ' sometimes it is a "...



228397
tl
Re: date without time
  • 2004/10/28 17:18

  • tl

  • Friend of XOOPS

  • Posts: 999

  • Since: 2002/6/23


Mith:
I have not tried yet. Just curious, why must be double quotes "s" not single quotes 's', or does it matter in case of the news module? I have been using 's' without any problem in some of my modules. Thanks.
tl



228398
Mithrandir
Re: date without time

Quote:

tl wrote:
[edit] well, I was a bit late in reply [/edit]
Yeah, but you got the syntax and file right for News 1.1, so that's ok



228399
irmtfan
Re: xcgal upload Problems
  • 2004/10/28 17:07

  • irmtfan

  • Module Developer

  • Posts: 3419

  • Since: 2003/12/7


it seems u dont set the group permission for this module.
go to amdin and set all these at "group manager"



228400
limecity
Re:Which blog modules is better ?
  • 2004/10/28 16:57

  • limecity

  • Friend of XOOPS

  • Posts: 1602

  • Since: 2003/7/6 0


wellwine weblog module!!
but not developed further, consider it as a dead module.
still using this one despite many other more advanced blog.

wordpress-too complicated to handle. too many function.
need to manually create blog account for users.

popnupblog-until today i dunno how to install that module.
need to manually create blog account for users.

Simpleblog-no idea whats the difference between popnupblog and this blog. looks the same.







Login

Who's Online

150 user(s) are online (78 user(s) are browsing Support Forums)


Members: 0


Guests: 150


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