UBBCentral
Posted By: Softrak Bots on the forum? - 01/26/2009 5:14 PM
Hi,

I am noticing high page views for threads that were posted years ago? I am really quite sure that people aren't still viewing these threads. Could it possibly be bots? Is there any way I can tell?

Thanks
Posted By: Gizmo Re: Bots on the forum? - 01/26/2009 8:35 PM
It's possible that it's incoming hits from Search Engines; well crawled content that's been linked to shows higher in search requests through them...

And theres a simple way to tell, look at the Who's Online page, a bot will have a "user agent" string that tells you where it's from, and it'll show in the "guests" or "bots" section (it'll show in the bots section if you tell your ubb which UA's are bots)
Posted By: Softrak Re: Bots on the forum? - 01/26/2009 10:16 PM
Thanks Gizom,

This maybe a dumb question... where is the 'who's online' page?
Posted By: Ruben Re: Bots on the forum? - 01/26/2009 10:18 PM
Well if you enable the who's online island just click on that
Posted By: Softrak Re: Bots on the forum? - 01/29/2009 5:43 PM
Hi,

I created a php page with this script to see who's online:

<?php
if (!defined('UBB_MAIN_PROGRAM')) define('UBB_MAIN_PROGRAM',1);
$style_side="";$tbopen="";$tbclose="";
echo "<table width=\"100%\">";
include("/var/www/vhosts/softrak.com/httpdocs/ubbthreads/cache/online_now.php");
echo "</table>";
?>

I've set the cache time for 1 minute. Evertime I refresh the page I still see the same users online. Even when I am logged out it still shows that I am online. Am I missing something here?

Thanks
Posted By: Ruben Re: Bots on the forum? - 01/29/2009 7:52 PM
Not even looking at the code I see a issue.
If this is a separate page from the forum.
The cache folder is only updated when someone is visiting the forum. Even though you may have a time limit imposed.
So if you have no activity on the forum the time you view the page the cache file you reference will not update until there is some activity.

Posted By: Softrak Re: Bots on the forum? - 02/02/2009 5:14 PM
Ok well the who's online island never changes. It always shows the same people online... it's been two weeks.
Posted By: Rick Re: Bots on the forum? - 02/02/2009 5:28 PM
Check the permissions on all the files in the cache directory and make sure they are all writable. You can actually nuke everything in there except for the index.html file if you want and then go into the Control Panel and clear the cache. This way you can verify everything is rebuilt properly.
Posted By: Ruben Re: Bots on the forum? - 02/02/2009 5:29 PM
What is the url to your forum?
Posted By: Softrak Re: Bots on the forum? - 02/02/2009 5:57 PM
http://www.softrak.com/ubbthreads/ubbthreads.php
Posted By: Softrak Re: Bots on the forum? - 02/02/2009 6:10 PM
Ok i've updated the permissions on the files in the cache directory and cleared the cache. The Who's Online island has now changed. smile

Thanks Rick.

What I don't understand is Gizmo's comment:

"And theres a simple way to tell, look at the Who's Online page, a bot will have a "user agent" string that tells you where it's from, and it'll show in the "guests" or "bots" section (it'll show in the bots section if you tell your ubb which UA's are bots)"

Where's the Who's Online page?

Much thanks everyone.
Posted By: Ruben Re: Bots on the forum? - 02/02/2009 6:10 PM
I just visited your site and watched a while and the island is updating. Maybe you followed Ricks suggestion?

But the details link in the island is not showing anything.?ubb=online.
Not sure what to check. I never used version 7.0.
Maybe a permission setting for guests to view.

We must have been typing at the same time.
On my version the whos online setting is in the control panel>general>>expand whos online
Posted By: Softrak Re: Bots on the forum? - 02/02/2009 6:25 PM
Yes... I followed Ricks suggestion. smile

I don't see the Who's Online setting in the control panel on my version.

Posted By: Ruben Re: Bots on the forum? - 02/02/2009 6:30 PM
Looks like that feature was added in version 7.1.

Read the change log HERE
Posted By: Softrak Re: Bots on the forum? - 02/02/2009 6:52 PM
Ok actually i've noticed calendar information isn't being displayed either and the shout box isn't working. Might this be related to permission errors???
Posted By: Ruben Re: Bots on the forum? - 02/02/2009 6:58 PM
Well All the islands are built the the same cache directory as the whos on line island.
You could try going over Rick's suggestion again and check the individual island scripts for each feature to see if it is set the same as the whos online script which is working now.

I tried to register to see but you moderate registrations.
I can't tell if guests are not allowed to view those features or what.
Sent a PM
Posted By: Softrak Re: Bots on the forum? - 02/02/2009 8:58 PM
Thanks Ruben. smile
© 2019 UBB.threads PHP Forum Software Community