Previous Thread
Next Thread
Print Thread
Rate Thread
NeXeon #208908 03/14/2001 9:35 AM
Joined: May 1999
Posts: 3,039
Guru
Guru
Offline
Joined: May 1999
Posts: 3,039
Ok, for some reason $user[U_FlatPosts] is getting set to 0 even though it should default to the $theme['flatposts'] setting in theme.inc.php. What do you have for this setting? If you have a positive value then it should be working, but you can try adding this bit of code and it should tell you what it is being set to:

Line 817 of postlist.php you can put this:

echo "user[U_FlatPosts] is $user[U_FlatPosts']";

This should print out that value after the subject. If it is coming up blank or 0 then somehow we have to get it to force a positive value in there because the checks that are supposed to do this are failing.


UBB.threads Developer
Sponsored Links
Entire Thread
Subject Posted By Posted
Division by Zero! Magicia 03/13/2001 3:43 PM
Re: Division by Zero! sixpack69 03/13/2001 4:05 PM
Re: Division by Zero! Magicia 03/13/2001 11:53 PM
Re: Division by Zero! Rick 03/14/2001 1:06 AM
Re: Division by Zero! *DELETED* *DELETED* Magicia 03/14/2001 10:53 AM
Re: Division by Zero! Magicia 03/14/2001 10:55 AM
Re: Division by Zero! Rick 03/14/2001 4:35 PM

Link Copied to Clipboard
Donate Today!
Donate via PayPal

Donate to UBBDev today to help aid in Operational, Server and Script Maintenance, and Development costs.

Please also see our parent organization VNC Web Services if you're in the need of a new UBB.threads Install or Upgrade, Site/Server Migrations, or Security and Coding Services.
Recommended Hosts
We have personally worked with and recommend the following Web Hosts:
Stable Host
bluehost
InterServer
Visit us on Facebook
Member Spotlight
Zarzal
Zarzal
Berlin, Germany
Posts: 808
Joined: July 2001
Forum Statistics
Forums63
Topics37,575
Posts293,932
Members13,824
Most Online6,139
Sep 21st, 2024
Today's Statistics
Currently Online
Topics Created
Posts Made
Users Online
Birthdays
Top Posters
AllenAyres 21,079
JoshPet 10,369
LK 7,394
Lord Dexter 6,708
Gizmo 5,835
Greg Hard 4,625
Top Posters(30 Days)
Gizmo 1
Top Likes Received
isaac 82
Gizmo 20
Brett 7
Morgan 2
Top Likes Received (30 Days)
None yet
The UBB.Developers Network (UBB.Dev/Threads.Dev) is ©2000-2025 VNC Web Services

 
Powered by UBB.threads™ PHP Forum Software 8.0.1
(Snapshot build 20240918)