phpBB SEO
Boards
Directory  
SEO  
Downloads
  phpBB SEO : Search Engine Optimization, Directory, Forums  
Index
Forums
Annuaire
Référencement
Télécharger
 
  Search Rechercher
    Register
Username :  Password :  Log me on automatically each visit  
S'enregistrer  
 
   
simple show bots online
Goto page Previous  1, 2
 
Post new topic   Reply to topic    phpBB SEO » SEO Forum  » phpBB SEO TooLKit  » phpBB SEO MODS
::  
Author Message
HB
phpBB SEO Team
phpBB SEO Team


Joined: 16 Oct 2006
Posts: 812

simple show bots onlinePosted: Wed Jun 27, 2007 9:14 pm    Post subject: Re: simple show bots online

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

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:
User-agent: Slurp
Crawl-delay: 20


It retaliated by doubling the number of bots loitering on the site. Rolling Eyes

_________________
Dan Kehn
Back to top
Visit poster's website
dcz
Administrateur - Site Admin
Administrateur - Site Admin


Joined: 28 Apr 2006
Posts: 15127

simple show bots onlinePosted: Thu Jun 28, 2007 8:02 am    Post subject: Re: simple show bots online

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 || SEO phpBB3 || Search
____________________

Liens Utiles :
Forum référencement || Annuaire référencement || Référencement phpBB || Référencement phpBB3 || Recherche
Back to top
Visit poster's website
abhishek1711
PR0
PR0


Joined: 03 May 2007
Posts: 59

simple show bots onlinePosted: Tue Aug 07, 2007 8:19 pm    Post subject: Re: simple show bots online

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

Quote:
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?
Back to top
SeO
Administrateur - Site Admin
Administrateur - Site Admin


Joined: 15 Mar 2006
Posts: 3770

simple show bots onlinePosted: Wed Aug 08, 2007 9:00 am    Post subject: Re: simple show bots online

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 ...).

_________________
phpBB SEO || SEO Forum || Forum Référencement
GYM Sitemap & RSS for phpBB3 has been released ! || GYM Sitemap & RSS for phpBB3 est disponible !
Back to top
volvomad



Joined: 22 Aug 2007
Posts: 3

simple show bots onlinePosted: Wed Aug 22, 2007 3:18 pm    Post subject: Re: simple show bots online

I have installed this mod, however the daily visitor count for bots is missing:

I've been through the code, and can't see anything amiss. Any ideas?
Back to top
volvomad



Joined: 22 Aug 2007
Posts: 3

simple show bots onlinePosted: Thu Aug 23, 2007 2:28 pm    Post subject: Re: simple show bots online

Which php file needs to be modded to correct this?
Back to top
SeO
Administrateur - Site Admin
Administrateur - Site Admin


Joined: 15 Mar 2006
Posts: 3770

simple show bots onlinePosted: Thu Aug 23, 2007 9:06 pm    Post subject: Re: simple show bots online

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.

_________________
phpBB SEO || SEO Forum || Forum Référencement
GYM Sitemap & RSS for phpBB3 has been released ! || GYM Sitemap & RSS for phpBB3 est disponible !
Back to top
volvomad



Joined: 22 Aug 2007
Posts: 3

simple show bots onlinePosted: Fri Aug 24, 2007 8:14 am    Post subject: Re: simple show bots online

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.
Back to top
dcz
Administrateur - Site Admin
Administrateur - Site Admin


Joined: 28 Apr 2006
Posts: 15127

simple show bots onlinePosted: Sun Aug 26, 2007 10:48 am    Post subject: Re: simple show bots online

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:
$lang['Guest_users_zero_total'] = '0 Guests and ';
$lang['Guest_users_total'] = '%d Guests and ';
$lang['Guest_user_total'] = '%d Guest and ';


With :
Code:
$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:

   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:
   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 || SEO phpBB3 || Search
____________________

Liens Utiles :
Forum référencement || Annuaire référencement || Référencement phpBB || Référencement phpBB3 || Recherche
Back to top
Visit poster's website
Display posts from previous:   
Post new topic   Reply to topic    phpBB SEO » SEO Forum  » phpBB SEO TooLKit  » phpBB SEO MODS
Page 2 of 2 Goto page Previous  1, 2

Navigation Similar Topics

Jump to: