1
jimkarvo
Change the type of register (Yes / No option)
  • 2007/7/7 21:30

  • jimkarvo

  • Not too shy to talk

  • Posts: 169

  • Since: 2005/9/19


Resized Image

How I can have the radio option to YES (ναι) by default?
www.pc4allgr.com - Greek community for PCs

PC4ALL Admins' Team!

2
LostStranger
Re: Change the type of register (Yes / No option)

I think you have to modify the file register.php
on the line 126
$user_mailok = (isset($_POST['user_mailok']) && intval($_POST['user_mailok'])) ? 0;

you`ll have to change the value of one to 0
so the code shall be this:
$user_mailok = (isset($_POST['user_mailok']) && intval($_POST['user_mailok'])) ? 0;

I am not sure about the end result but i guess that shall work fine.

3
mjz55
Re: Change the type of register (Yes / No option)
  • 2007/7/8 14:01

  • mjz55

  • Quite a regular

  • Posts: 298

  • Since: 2007/1/18


Mine (xoops 2.0.16) was on line 249. I had to go 1,1.

4
LostStranger
Re: Change the type of register (Yes / No option)

well mine is 2.0.16 but that was on line 126 any way, you can also try the 1 , 1.
good luck

Login

Who's Online

222 user(s) are online (145 user(s) are browsing Support Forums)


Members: 0


Guests: 222


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