293961
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"



293962
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"



293963
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?



293964
Herko
Re: Polish your theme CSS files
  • 2002/6/10 6:06

  • Herko

  • XOOPS is my life!

  • Posts: 4238

  • Since: 2002/2/4 1


Thanks sunsnapper! I will definately look into this

Herko



293965
sunsnapper
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.



293966
sunsnapper
Re: table background is missing sometimes ..

I have the same result with my custom block using IE 5.5 and a phpkaox derivative. I find that when I go to my URL by typing it in, the background color for my custom block does not appear. However, if I browse my site and click into my home page (or, as you did, hit the back button), the background color shows up fine.

This was happening in RC2 for me, as well, so I don't think it's an RC3-specific issue. My guess had been that it's either a flaw in CSS rendering of IE, OR the CSS file for the theme was doing something that IE could only understand when it was in the mood.

I can't think of anything that XOOPS would be doing to impact the issue. However, I am digging into CSS to polish my theme... so perhaps something will turn up in the process.

Summary:
-This happens in both IE 5.5 and IE 6
-This happens in the phpkaox theme as well as yours
-This happens in RC2 and RC3

As I dig into CSS, some useful sites I've found are in this thread.




<small>[ Edited by sunsnapper on 2002/6/9 22:03:03 ]</small>



293967
gstarrett
Re: IIS Install problem
  • 2002/6/10 2:59

  • gstarrett

  • Friend of XOOPS

  • Posts: 174

  • Since: 2002/3/12


FYI, I had the same problem on my Win2K-SP2 machine and the include path fix worked fine. The default include path on my Win2k PHP 4.1.2 install was c:\php4\pear -- which doesn't exist (php is installed on D, not C and I don't have pear installed). I would assume this is a really PHP bug / issue???

Note that my PHP.INI looked like this before:

; UNIX: "/path1:/path2"
;include_path = ".:/php/includes"
;
; Windows: "\path1;\path2"
; include_path = ".;d:\php\includes"

Simply uncommenting the last "include_path = ..." line fixed the problem. I still don't know where it was getting c:\php4\pear from....

Thanks!



293968
onokazu
Re: sections bug [theme display]
  • 2002/6/9 15:08

  • onokazu

  • XOOPS Founder

  • Posts: 617

  • Since: 2001/12/13


Thanks...will add this too.



293969
onokazu
Re: modules news [print.php]
  • 2002/6/9 15:03

  • onokazu

  • XOOPS Founder

  • Posts: 617

  • Since: 2001/12/13


Thanks..will include that in the patch..



293970
muple
modules news [print.php]
  • 2002/6/9 13:56

  • muple

  • Just popping in

  • Posts: 16

  • Since: 2002/1/17


An old bug from the RC2 :

modules/news/print.php

remove line 54 :
echo "<i>".$story->notes()."</i><br /><br />


just put an echo" the line under :

echo"</td></tr></table></td></tr></table>\n";

AND add

$xoopsModule to the global declaration of the function PrintPage.

and then the related links can displays.







Login

Who's Online

163 user(s) are online (101 user(s) are browsing Support Forums)


Members: 0


Guests: 163


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