Previous Thread
Next Thread
Print Thread
Rate Thread
#282279 11/23/2004 8:57 PM
Joined: Jan 2002
Posts: 266
Kel
Offline
Member
Member
Offline
Joined: Jan 2002
Posts: 266
I want to disable the Who's Online function for my board. Is there a way to do this?

Sponsored Links
Joined: Aug 2002
Posts: 1,191
Kahuna
Kahuna
Joined: Aug 2002
Posts: 1,191
You can edit the ubbt_registerednav.tmpl and ubbt_unregisterednav.tmpl and remove the hyperlinks referring to the online.php script. As a secondary precaution you can remove the script or rename it from your host.


Nikos
Joined: Jan 2002
Posts: 266
Kel
Offline
Member
Member
Offline
Joined: Jan 2002
Posts: 266
Ok... so here's the next stupid question...

If I remove the hyperlink from the templates (I had thought of that already... ), will that stop the query completely? I know I'm not saying this right...

Ok... so even though the hyperlink is gone and no one is clinking on it to perform the query on the database, aren't there other files that run this query as part of their function? So even though the members themselves are not adding to the load, the software still is... even though the information is not displayed anywhere except at the bottom of the Main Index in the Extra Info.

Am I making sense? I want to stop the in-depth queries. I just want to know the basics... as provided in the Extra Info... how many registered users, how many unregistered users... and I don't care what their IP's are.

Joined: Mar 2000
Posts: 528
Junior Member
Junior Member
Offline
Joined: Mar 2000
Posts: 528
Unless you leave the online.php file on the server, the only queries that will occur is a query that will write the location of a member each time they move pages.

To remove that would take a bit of effort, and is really not worth the time.

As long as you comment out (or remove) the links to online.php in your NAV templates, and remove the online.php file from your server, you should be ok.

Joined: Aug 2002
Posts: 1,191
Kahuna
Kahuna
Joined: Aug 2002
Posts: 1,191
Medar is correct. By removing the hyperlink you are not allowing anyone to see who is online. However in order to make the w3t_Online table not to be populated by any information whatsoever then you will need to make some changes to the code, mainly to ubbt.inc.php and partly to ubbthreads.php.

On the ubbt.inc.php you will need to comment out the sections where the w3t_Online table is populated while on the ubbthreads.php (and tmpl) you will need to get rid of the Max users online was.... and There are so and so registered members..

This approach will not only get rid of the Who's online pages (so even if anyone can see the page the data won't be there) but it will also reduce the queries in your database.


Nikos
Sponsored Links
Joined: Nov 2002
Posts: 554
Code Monkey
Code Monkey
Offline
Joined: Nov 2002
Posts: 554
Wow Sasha thats a busy board, I never knew there was such a following for what I take for granted.

Joined: Jan 2002
Posts: 266
Kel
Offline
Member
Member
Offline
Joined: Jan 2002
Posts: 266
ChAoS... yes, it's quite the phenom! Never would have imagined it myself either and I actually laughed at the guy who originally started it up. Who'd have thought it would end up being my baby... and such a HUGE one at that!... when all I did was come on board to help out with the software. Now I'm just as "enlightened" as all the rest of them... and they are quite the bunch, that's for sure!


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
isaac
isaac
California
Posts: 1,157
Joined: July 2001
Forum Statistics
Forums63
Topics37,573
Posts293,925
Members13,849
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
WebGuy 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 20221218)