|
|
Joined: May 2006
Posts: 67
Junior Member
|
|
Junior Member
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 
|
|
|
|
|
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
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
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" 
|
|
|
|
|
Joined: May 2006
Posts: 67
Junior Member
|
|
Junior Member
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
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
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. 
|
|
|
|
|
Joined: May 2006
Posts: 67
Junior Member
|
|
Junior Member
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.
|
|
|
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.
|
|
Posts: 253
Joined: January 2000
|
|
|
Forums63
Topics37,583
Posts293,957
Members13,826
| |
Most Online151,614 Nov 14th, 2025
|
|
Currently Online 4445
Topics Created 0
Posts Made 0
Users Online 1
Birthdays 30
|
|
|
|