simple show bots online

Support for the phpBB2 SEO mods released in the phpBB2 SEO Toolikt forum.

Moderator: Moderators

Postby HB » Wed Jun 27, 2007 9:14 pm

dcz wrote:The funny thing on phpBB SEO is Yahoo bots comes more often than it brings visitors :lol:

You're not kidding. I don't know what's up with Yahoo's crawlers. I added this line to robots.txt so it would put less load on the server:

Code: Select all
User-agent: Slurp
Crawl-delay: 20


It retaliated by doubling the number of bots loitering on the site. :roll:
Dan Kehn
HB
phpBB SEO Team
phpBB SEO Team
 
Posts: 1220
Joined: Mon Oct 16, 2006 2:25 am

Advertisement

Postby dcz » Thu Jun 28, 2007 8:02 am

Yes, I think we can talk about a yahoo dance here.
It's been a month more or less now that Yahoo started to massively crawl many websites. I'm pretty sure it's going back to normal soon, even though Yahoo will always it seems crawl more massively than others.

About the crawl delay, if only yahoo was following the robots.txt better ...

++
Useful links :
SEO Forum || SEO Directory || SEO phpBB || Search
____________________

Liens Utiles :
Forum référencement || Annuaire référencement || Référencement phpBB || Recherche
dcz
Admin
Admin
 
Posts: 21238
Joined: Fri Apr 28, 2006 9:03 pm

Postby abhishek1711 » Tue Aug 07, 2007 8:19 pm

hi i downloaded the mod , bt it has instructions for FRENCH INSTALL even in the English folder???

FRENCH INSTALL :
________________

The French install file is located in the translations/fr/ folder of this release.

The French lang code changes are the following :

OPEN :
______

language/lang_french/lang_main.php

FIND :
______


did i download from wrong link?
abhishek1711
PR0
PR0
 
Posts: 64
Joined: Thu May 03, 2007 6:53 am

Postby SeO » Wed Aug 08, 2007 9:00 am

Well, this is part of the DIY.
You off course do not need to apply the french lang code changes if you do not use it.

The english lang files code change are a bit bellow in the real install part (FIND/REPLACE etc ...).
SeO
Admin
Admin
 
Posts: 6333
Joined: Wed Mar 15, 2006 9:41 pm

Postby volvomad » Wed Aug 22, 2007 3:18 pm

I have installed this mod, however the daily visitor count for bots is missing:
Image
I've been through the code, and can't see anything amiss. Any ideas?
volvomad
 
Posts: 3
Joined: Wed Aug 22, 2007 3:14 pm

Postby volvomad » Thu Aug 23, 2007 2:28 pm

Which php file needs to be modded to correct this?
volvomad
 
Posts: 3
Joined: Wed Aug 22, 2007 3:14 pm

Postby SeO » Thu Aug 23, 2007 9:06 pm

Well I think it comes from the language code changes with your mod displaying the user online today list.

Both mods seems to be using the same entries, changed by the simple show bot mod.
It's just that the entry for guest was modded to end up with an "and" and is reused I think.

The fix would be to mod you user online list mod, to have it use different Lang keys, the phpBB original ones.

If you post a link to where it was released, I can send you the code change, must be very simple.
SeO
Admin
Admin
 
Posts: 6333
Joined: Wed Mar 15, 2006 9:41 pm

Postby volvomad » Fri Aug 24, 2007 8:14 am

I can reset the language to the original phpBB version, but I can't remember the mod that added the "online today" functionality.

Can I just add a couple of lines in the language file for the simple bots mod to use (simple bots uses the "guests and", and the other mod uses the standard phpBB one)
I'd prefer it if I could get the "online today" string to show the number of bots. Currently the bots are still increasing the "guests visited today" value.
volvomad
 
Posts: 3
Joined: Wed Aug 22, 2007 3:14 pm

Postby dcz » Sun Aug 26, 2007 10:48 am

Well, the simple show bot mod is made to be simple, it does not add any SQL and it does not log bots visits.
It's only detecting the online ones, so it won't be possible to list how many bots visited your forum in the last 24 hours.

To fix your mod's output, you could replace :

Code: Select all
$lang['Guest_users_zero_total'] = '0 Guests and ';
$lang['Guest_users_total'] = '%d Guests and ';
$lang['Guest_user_total'] = '%d Guest and ';


With :
Code: Select all
$lang['Guest_users_zero_total'] = '0 Guests ';
$lang['Guest_users_total'] = '%d Guests ';
$lang['Guest_user_total'] = '%d Guest ';
$lang['Guest_users_zero_total_bots'] = '0 Guests and ';
$lang['Guest_users_total_bots'] = '%d Guests and ';
$lang['Guest_user_total_bots'] = '%d Guest and ';


in your language file, and then replace :
Code: Select all
   if ( $guests_online == 0 )
   {
      $l_g_user_s = $lang['Guest_users_zero_total'];
   }
   else if ( $guests_online == 1 )
   {
      $l_g_user_s = $lang['Guest_user_total'];
   }
   else
   {
      $l_g_user_s = $lang['Guest_users_total'];
   }


with :

Code: Select all
   if ( $guests_online == 0 )
   {
      $l_g_user_s = $lang['Guest_users_zero_total_bots'];
   }
   else if ( $guests_online == 1 )
   {
      $l_g_user_s = $lang['Guest_user_total_bots'];
   }
   else
   {
      $l_g_user_s = $lang['Guest_users_total_bots'];
   }


in includes/page_header.php.

Should fix the other mod's output.

++
Useful links :
SEO Forum || SEO Directory || SEO phpBB || Search
____________________

Liens Utiles :
Forum référencement || Annuaire référencement || Référencement phpBB || Recherche
dcz
Admin
Admin
 
Posts: 21238
Joined: Fri Apr 28, 2006 9:03 pm

Previous

Return to phpBB2 SEO MODS

 


  • Related topics
    Replies
    Views
    Last post

Who is online

Users browsing this forum: No registered users and 2 guests