1
MrSmith
Re: RC3 recent discussions block: why 'Re:'?
  • 2002/6/13 8:04

  • MrSmith

  • Just popping in

  • Posts: 12

  • Since: 2002/5/12


Thanks for the fix! It was line 453 on my system as well.

<small>[ Edited by MrSmith on 2002/6/13 8:04:59 ]</small>



2
MrSmith
Re: Default Comment Order not being set properly for new users
  • 2002/6/12 12:27

  • MrSmith

  • Just popping in

  • Posts: 12

  • Since: 2002/5/12


Quote:
why not just set in "Preferences" default comments order to "oldest first" ??


I did have it set that way in my preferences but it wasn't working. XOOPS is hardcoded to use "Newest First" for the viewing mode when new users sign up. As it is right now, the setting in preferences is only affecting anonymous users.

The change I suggested hard codes it so that "oldest first" is the default viewing mode for new users. What really should be done is that it should take the setting specified from preferences, which is what it looks like the developers will do.




3
MrSmith
Re: Default Comment Order not being set properly for new users
  • 2002/6/12 6:38

  • MrSmith

  • Just popping in

  • Posts: 12

  • Since: 2002/5/12


Nevermind.. I found it. In case anyone else wants to know, look at function store in class XoopsUser in class/xoopsuser.php (line 227)

You will see that its using a defalut value of "1" for uorder. If you want oldest first as your default view mode for new users, set this to "0"



4
MrSmith
Re: Default Comment Order not being set properly for new users
  • 2002/6/12 6:38

  • MrSmith

  • Just popping in

  • Posts: 12

  • Since: 2002/5/12


Nevermind.. I found it. In case anyone else wants to know, look at function store in class XoopsUser in class/xoopsuser.php (line 227)

You will see that its using a defalut value of "1" for uorder. If you want oldest first as your default view mode for new users, set this to "0"



5
MrSmith
Default Comment Order not being set properly for new users
  • 2002/6/12 6:21

  • MrSmith

  • Just popping in

  • Posts: 12

  • Since: 2002/5/12


I have my default comment viewing order set to "oldest first" which works fine for the anonymous users, but when new users register it sets the users default view mode to "Newest First" which is quite confusing to alot of my members.

How can I change things so that all new users are created with the correct default view mode?

I've looked through register.php, and tried to hardcode it with

$newuser->setVar("uorder", 0);

but that didn't do it. Anyone have any other ideas?




TopTop



Login

Who's Online

164 user(s) are online (80 user(s) are browsing Support Forums)


Members: 0


Guests: 164


more...

Donat-O-Meter

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

Latest GitHub Commits