1
Fix_Metal
How to make this options "default"
  • 2004/8/19 11:16

  • Fix_Metal

  • Just popping in

  • Posts: 6

  • Since: 2004/7/16


I'd like to know, how can I make a default for users options like:
Store my user name in a cookie for 1 year (On)
and
Comments Display Mode (Flat)

thx in advance

2
CeBepuH
Re: How to make this options "default"
  • 2004/8/19 11:41

  • CeBepuH

  • Not too shy to talk

  • Posts: 128

  • Since: 2002/6/10


For Comments Display Mode go to System Admin >> Preferences >> General Settings and look for "Default Comment Display Mode" :)))

3
jlm69
Re: How to make this options "default"
  • 2004/8/19 14:20

  • jlm69

  • Module Developer

  • Posts: 719

  • Since: 2002/7/19


In XOOPS 2.0.7 go to edituser.php look around line 185 for this line.

$cookie_radio_value = empty($HTTP_COOKIE_VARS[$xoopsConfig['usercookie']]) ? 0 : 1;


Just switch the 0 and the 1 so it looks like this

$cookie_radio_value = empty($HTTP_COOKIE_VARS[$xoopsConfig['usercookie']]) ? 1 : 0;


That should do it.

Login

Who's Online

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


Members: 0


Guests: 201


more...

Donat-O-Meter

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

Latest GitHub Commits