Previous Thread
Next Thread
Print Thread
Rate Thread
Joined: Sep 2001
Posts: 13
SDS
Offline
Newbie
Newbie
Offline
Joined: Sep 2001
Posts: 13
If I change my forum from default threaded to flat view - what will mu readers experience? Will anything change for them or will this affect only new users.

My database is overloaded, so I need to reduce queries. How can I force all users to switch once and then allow them to manually select threaded if they are dead set on that format?

Sponsored Links
Joined: Sep 1999
Posts: 339
Kahuna
Kahuna
Offline
Joined: Sep 1999
Posts: 339
If you change it now, that will be the default for new users. If they already were set to threaded, then it will still be threaded.

I don't know of a way to globally change all users to flat from threaded... probably could be done though. []/forum/images/icons/wink.gif[/]


Muhammad
Joined: Jun 2001
Posts: 3,273
That 70's Guy
That 70's Guy
Offline
Joined: Jun 2001
Posts: 3,273
Hi SDS []/forum/images/icons/smile.gif[/]

Have a look at this link and check out the information at the bottom for page generation time and number of queries used:

https://ubbdev.com/threads/php/...;view=collapsed&sb=5&o=&vc=1

Then look at this link and do the same:

https://ubbdev.com/threads/php/...;view=collapsed&sb=5&o=&vc=1

The threaded view returned to me this information:

Generated in 0.096 seconds. 12 queries. Zlib compression enabled.


The flat view returned this:

Generated in 0.048 seconds. 12 queries. Zlib compression enabled.

Although the generation time for threaded was twice as much as for the flat view they used the same number of queries.

Also, as far as generation time goes thats *darn* quick. (IMHO) []/forum/images/icons/smile.gif[/]

Perhaps you may want to hold on for 6.0 ? []/forum/images/icons/smile.gif[/]

Joined: Sep 2001
Posts: 13
SDS
Offline
Newbie
Newbie
Offline
Joined: Sep 2001
Posts: 13
on another forum here the difference was btwn 89 and 10! I wonder why the difference?

Joined: Mar 2000
Posts: 21,079
Likes: 3
I type Like navaho
I type Like navaho
Joined: Mar 2000
Posts: 21,079
Likes: 3
never noticed that dave []/forum/images/icons/smile.gif[/] the flat version is 5 times faster in generation times. hmmmm....

ok, a lot of it has to do with the threaded view showing links to all threads... the flat was just to that one page. If you choose "show all", generation times go up to a little more than the threaded view, still less than one third of one second and not bad for a file >700kb []/forum/images/icons/wink.gif[/]


- Allen wavey
- What Drives You?
Sponsored Links
Joined: Jun 2001
Posts: 3,273
That 70's Guy
That 70's Guy
Offline
Joined: Jun 2001
Posts: 3,273
I think Scream reworked the threaded to use less queries but I'm not 100% sure. (actualy I think he redid most scripts to lesson the queries)

To change everyone from threaded to flat you would go to your admin area and send this SQL command to your database:

UPDATE w3t_Users
SET U_Display = 'flat'
WHERE U_Display = 'threaded'



That should put everyone in the same viewing boat. []/forum/images/icons/smile.gif[/]


Joined: Mar 2000
Posts: 21,079
Likes: 3
I type Like navaho
I type Like navaho
Joined: Mar 2000
Posts: 21,079
Likes: 3
moral of the story....

for reduced server loads, default to the flat view and keep posts per page ~15 or so... - reduces bandwidth as well. []/forum/images/icons/smile.gif[/]


- Allen wavey
- What Drives You?

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
Nettomo
Nettomo
Germany, Bremen
Posts: 417
Joined: November 2001
Forum Statistics
Forums63
Topics37,574
Posts293,926
Members13,850
Most Online5,166
Sep 15th, 2019
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,833
Greg Hard 4,625
Top Posters(30 Days)
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-2024 VNC Web Services

 
Powered by UBB.threads™ PHP Forum Software 8.0.0
(Preview build 20240506)