Previous Thread
Next Thread
Print Thread
Rate Thread
#265144 12/22/2003 10:30 AM
Joined: May 2006
Posts: 67
Junior Member
Junior Member
Offline
Joined: May 2006
Posts: 67
If I make all forums invisible unless people are logged in will this help reduce connections and queries or will it make no difference at all? I have a very busy site and am looking at ways where by I can reduce the chances of it crashing.

Thanks for any guidance or suggestions

Sponsored Links
#265145 12/22/2003 12:07 PM
Joined: Nov 2001
Posts: 10,369
I type Like navaho
I type Like navaho
Joined: Nov 2001
Posts: 10,369
Yes, it sure will make a difference, as the anonymous users won't be generating all that load viewing the threads.

Another way is to reduce the default age displayed of each forum (in each forums settings) and decrease the limit of posts displayed per page (in the theme file).

Joined: Nov 2001
Posts: 10,369
I type Like navaho
I type Like navaho
Joined: Nov 2001
Posts: 10,369
Oh - one more load reducing trip - change in your config file, from FULL new post tracking to PARTIAL. It'll lose the numbers on the main index, but the lightbulbs still work, and I think it saves a query per forum.

Joined: May 2006
Posts: 67
Junior Member
Junior Member
Offline
Joined: May 2006
Posts: 67
[]JoshPet said:
Yes, it sure will make a difference, as the anonymous users won't be generating all that load viewing the threads.

Another way is to reduce the default age displayed of each forum (in each forums settings) and decrease the limit of posts displayed per page (in the theme file). [/]

Thanks for that Josh. If people are forced to log-in though is that not creating more queries because they have to log-in so the server does more?

Whenever I forced log-ins I end up with loads of people moaning and emailing me to say they can't get in

Joined: Jun 2003
Posts: 1,025
Junior Member
Junior Member
Offline
Joined: Jun 2003
Posts: 1,025
[]Dunk said:
[]JoshPet said:
Yes, it sure will make a difference, as the anonymous users won't be generating all that load viewing the threads.

Another way is to reduce the default age displayed of each forum (in each forums settings) and decrease the limit of posts displayed per page (in the theme file). [/]

Thanks for that Josh. If people are forced to log-in though is that not creating more queries because they have to log-in so the server does more?

Whenever I forced log-ins I end up with loads of people moaning and emailing me to say they can't get in [/]
Do you respond with, "Excellent, all is going according to plan"

Sponsored Links
Joined: May 2006
Posts: 67
Junior Member
Junior Member
Offline
Joined: May 2006
Posts: 67
[]JoshPet said:
decrease the limit of posts displayed per page (in the theme file). [/]

Will this only apply to new registrations or can it be forced upon everyone Josh

Joined: Nov 2001
Posts: 10,369
I type Like navaho
I type Like navaho
Joined: Nov 2001
Posts: 10,369
The theme file settings apply to anonymous users and new users. I can pull together the SQL qoery to adjust everyone. I don't have files in front of me right now to remind myself of the table names.

Joined: Jun 2003
Posts: 1,025
Junior Member
Junior Member
Offline
Joined: Jun 2003
Posts: 1,025
*GASP* Josh doesn't have all the tables memorized. I thought you dreampt threads.

Joined: May 2006
Posts: 67
Junior Member
Junior Member
Offline
Joined: May 2006
Posts: 67
[]JoshPet said:
The theme file settings apply to anonymous users and new users. I can pull together the SQL qoery to adjust everyone. I don't have files in front of me right now to remind myself of the table names. [/]

Ahhh....good man, that sounds handy

Joined: Nov 2001
Posts: 10,369
I type Like navaho
I type Like navaho
Joined: Nov 2001
Posts: 10,369
Ah - OK - I have accesss to phpMyAdmin -

UPDATE w3t_Users
SET U_PostsPer = 10,
U_FlatPosts = 10


Will set everyone to 10 posts per page on the postlist page and 10 posts per page on the showflat page. They can set back higher if they wish, but will reduce load from the masses.

Sponsored Links
Joined: May 2006
Posts: 67
Junior Member
Junior Member
Offline
Joined: May 2006
Posts: 67
[]JoshPet said:
Ah - OK - I have accesss to phpMyAdmin -

UPDATE w3t_Users
SET U_PostsPer = 10,
U_FlatPosts = 10


Will set everyone to 10 posts per page on the postlist page and 10 posts per page on the showflat page. They can set back higher if they wish, but will reduce load from the masses. [/]

Worked a treat.

Thanks Josh.


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:
• Shock Hosting
• Stable Host
• bluehost
• InterServer
Visit us on Facebook
Member Spotlight
Ruben Rocha
Ruben Rocha
Lutz,FL,USA
Posts: 253
Joined: January 2000
Forum Statistics
Forums63
Topics37,583
Posts293,957
Members13,826
Most Online151,614
Nov 14th, 2025
Today's Statistics
Currently Online 4445
Topics Created 0
Posts Made 0
Users Online 1
Birthdays 30
Top Posters
AllenAyres 21,080
JoshPet 10,369
LK 7,394
Lord Dexter 6,708
Gizmo 5,834
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-2026 VNC Web Services

 
Powered by UBB.threads™ PHP Forum Software 8.1.0
(Snapshot build 20261026)