Previous Thread
Next Thread
Print Thread
Rate Thread
Joined: Apr 2001
Posts: 9
Junior Member
Junior Member
Offline
Joined: Apr 2001
Posts: 9
Hi!
First of all - great forum smile. Bought it for my girlfriends site a few days ago and been busy seitting it up and testing it. Since I am a php web-developer it was more fun choosing the PHP version smile.

Found what I think is a bug + fixed it. Not sure if this should go into the other bug forum or not.

Present in the 5.4.3php

Bug: When you set the forum to threaded mode and expanded view as default it still displayes collapsed for a new user. When you check up the theme-admin it is selected as collapsed, even though you have selected expanded.

When looking at the theme.inc.php I noticed that it said:

// Default posts and reply listing to collapsed or expanded
$theme['threaded'] = "threaded";

instead of

// Default posts and reply listing to collapsed or expanded
$theme['threaded'] = "expanded";

So, the bug is in the admin/edittheme.php file.

Solution:

Find

Default postlist format. Collapsed (only show main topic with total number of replies. Expanded (Show topics with a threaded list of all replies):<br>
<select name="threaded" class=formboxes>
<option value="collapsed" $threadedcollapsed>Collapsed mode
<option value="threaded" $threadedexpanded>Expanded mode
</select>

and change to

Default postlist format. Collapsed (only show main topic with total number of replies. Expanded (Show topics with a threaded list of all replies):<br>
<select name="threaded" class=formboxes>
<option value="collapsed" $threadedcollapsed>Collapsed mode
<option value="expanded" $threadedexpanded>Expanded mode
</select>

Now it works smile.

/Björn

Sponsored Links
Joined: May 1999
Posts: 3,039
Guru
Guru
Offline
Joined: May 1999
Posts: 3,039
Thanks for the info and the fix. Will get this put into the next minor release I am working on.


UBB.threads Developer

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)
Top Likes Received
isaac 82
Gizmo 20
Brett 7
WebGuy 2
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)