xoops forums

Forum Index


Board index » All Posts




onokazu

XOOPS Founder
Posted on: 2002/6/13 11:42
onokazu
onokazu (Show more)
XOOPS Founder
Posts: 617
Since: 2001/12/13
#292251

Re: RC3 recent discussions block: why 'Re:'?

thanks. will add this to RC3.0.1


MrSmith

Just popping in
Posted on: 2002/6/13 8:04
MrSmith
MrSmith (Show more)
Just popping in
Posts: 12
Since: 2002/5/12
#292252

Re: RC3 recent discussions block: why 'Re:'?

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>


MrSmith

Just popping in
Posted on: 2002/6/12 12:27
MrSmith
MrSmith (Show more)
Just popping in
Posts: 12
Since: 2002/5/12
#292253

Re: Default Comment Order not being set properly for new users

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.



onokazu

XOOPS Founder
Posted on: 2002/6/12 8:00
onokazu
onokazu (Show more)
XOOPS Founder
Posts: 617
Since: 2001/12/13
#292254

Re: Default Comment Order not being set properly for new users

Quote:

MrSmith wrote:
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"


thanks, we will fix this


netwize

Just popping in
Posted on: 2002/6/12 7:20
netwize
netwize (Show more)
Just popping in
Posts: 89
Since: 2002/1/20
#292255

Re: Default Comment Order not being set properly for new users

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


MrSmith

Just popping in
Posted on: 2002/6/12 6:38
MrSmith
MrSmith (Show more)
Just popping in
Posts: 12
Since: 2002/5/12
#292256

Re: Default Comment Order not being set properly for new users

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"


MrSmith

Just popping in
Posted on: 2002/6/12 6:38
MrSmith
MrSmith (Show more)
Just popping in
Posts: 12
Since: 2002/5/12
#292257

Re: Default Comment Order not being set properly for new users

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"


MrSmith

Just popping in
Posted on: 2002/6/12 6:21
MrSmith
MrSmith (Show more)
Just popping in
Posts: 12
Since: 2002/5/12
#292258

Default Comment Order not being set properly for new users

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?


Herko

XOOPS is my life!
Posted on: 2002/6/10 6:06
Herko
Herko (Show more)
XOOPS is my life!
Posts: 4238
Since: 2002/2/4 1
#292259

Re: Polish your theme CSS files

Thanks sunsnapper! I will definately look into this

Herko


sunsnapper

Friend of XOOPS
Posted on: 2002/6/10 5:59
sunsnapper
sunsnapper (Show more)
Friend of XOOPS
Posts: 403
Since: 2002/4/10
#292260

Polish your theme CSS files

I'm getting ready to polish the theme for my site, and while there are things I like about phpkaox, I love the use of keyword font sizes in the blue thunder theme.

So, with that in mind, I have been digging into some CSS resources that shed some light on some cross-browser issues and give advice and tests on how to optimize your CSS code.

I thought I would share the links with you:
http://www.alistapart.com/stories/sizematters/
A List Apart: Size Matters -- Overview of accessibility advantages with font-size keywords versus px

http://www.webreview.com/style/
Cross-browser compatible CSS

http://www.utexas.edu/learn/css/
Very easy to read explanation of style sheets... from simple to advanced

http://www.expressnews.ualberta.ca/ualberta/Services/css.html
A nice, quick sample/test page

http://www.w3.org/TR/REC-CSS1
W3C CSS1 specification

http://www.csszengarden.com/
Dramatic example of the power of separating presentation from content... and some inspiring designs.