| :: |
| Author |
Message |
HB phpBB SEO Team

Joined: 16 Oct 2006 Posts: 812
|
Posted: 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  |
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.  |
_________________ Dan Kehn |
|
| Back to top |
|
 |
|
 |
dcz Administrateur - Site Admin

Joined: 28 Apr 2006 Posts: 15127
|
|
| Back to top |
|
 |
abhishek1711 PR0

Joined: 03 May 2007 Posts: 59
|
Posted: 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

Joined: 15 Mar 2006 Posts: 3770
|
|
| Back to top |
|
 |
volvomad
Joined: 22 Aug 2007 Posts: 3
|
Posted: 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
|
Posted: 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

Joined: 15 Mar 2006 Posts: 3770
|
Posted: 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
|
Posted: 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

Joined: 28 Apr 2006 Posts: 15127
|
Posted: 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 |
|
 |
|
|