SimplePortal

Support => English Support => Topic started by: morokat on March 28, 2010, 03:47:49 AM

Title: how to add Google spider to WHO ONLINE?
Post by: morokat on March 28, 2010, 03:47:49 AM
I just install the   SimplePortal ,and i see some of web that use this    SimplePortal can to take Google spider to Who online,i use

(http://img714.imageshack.us/img714/7245/onlined.jpg)

version 3.2.1  , i want  like that also , want to take Google spider to show on who online,

for my web its show like this

(http://img714.imageshack.us/img714/4035/googleo.jpg)
Title: Re: how to add Google spider to WHO ONLINE?
Post by: Old Fossil on March 28, 2010, 10:05:26 AM
Tis is a mod on sm.org called 'More Spiders'
Title: Re: how to add Google spider to WHO ONLINE?
Post by: morokat on March 28, 2010, 10:43:47 AM
more spider not work with my version 1.1.11
Title: Re: how to add Google spider to WHO ONLINE?
Post by: Old Fossil on March 28, 2010, 10:44:42 AM
Any errors on install?

EDIT:

Oops this mod is not for 1.1.11
Title: Re: how to add Google spider to WHO ONLINE?
Post by: morokat on March 28, 2010, 10:47:46 AM
yes sir error when i'm install , when install its show all white color
Title: Re: how to add Google spider to WHO ONLINE?
Post by: Old Fossil on March 28, 2010, 10:49:13 AM
The more spider mod is NOT for 1.1.11

Uninstall the mod ( manually if required)

then try this one.

http://custom.simplemachines.org/mods/index.php?mod=1546
Title: Re: how to add Google spider to WHO ONLINE?
Post by: morokat on March 28, 2010, 10:56:04 AM
yes i'm follow u all but in Users Online can see spid, in who online can't see
Title: Re: how to add Google spider to WHO ONLINE?
Post by: Old Fossil on March 28, 2010, 10:58:27 AM
Can I see a link to your forum please eithere here or in pm.
Title: Re: how to add Google spider to WHO ONLINE?
Post by: morokat on March 28, 2010, 10:59:41 AM
www.morokat.com
Title: Re: how to add Google spider to WHO ONLINE?
Post by: morokat on March 28, 2010, 11:04:02 AM
see brother now have 3 spider but not show in WHO ONLINE
Title: Re: how to add Google spider to WHO ONLINE?
Post by: Old Fossil on March 28, 2010, 11:35:52 AM
I am sure there is a setting in the admin area for this to be done but my memory is going.

Hopefully someone will be in a position to help.

I haven't used the 1.1.x  since 1.1.8 myself
Title: Re: how to add Google spider to WHO ONLINE?
Post by: AngelinaBelle on April 15, 2010, 09:51:22 AM
The quick answer is that sp_whosOnline uses ssi_whosOnline.  That means that, for SMF2.0, you get the spider information, but for SMF 1.1.11 you don't get spider information.
 
I found this out by having a quick look through the files.
Which mod are you using to show spiders in index.php?action=who ?
 
 
For SMF 1.1.11
A quick look in PortalBlocks.php (where all SimplePortals PortalBlocks are) shows that sp_whosOnline uses ssi_whosOnline (in SSI.php).
 
And a quick look at Sources/Who.php (function Who) shows that the Who that is called with ?action=who is a lot different from the ssi_whosOnline function.
 
For SMF 2.0
With SMF2.0, ssi_whosOnline calls getMembersOnlineStats in Subs-MembersOnline.php, which does have spider stuff in it. Who() in Who.php also has spider stuff in it.
Title: Re: how to add Google spider to WHO ONLINE?
Post by: Chen Zhen on April 15, 2010, 11:39:35 PM

I remember installing this on 1.1.10 and it should work for 1.1.11

Googlebot and Spider mod:
CLICK HERE (http://custom.simplemachines.org/mods/index.php?mod=143)

Apologies... I didn't test this.. I test locally, therefore it would be useless because no spiders will show for me :|



Title: Re: how to add Google spider to WHO ONLINE?
Post by: locutusweb on April 16, 2010, 05:39:16 AM
To turn it on for SMF 2.0, go to admin > members > search engines > settings.
Title: Re: how to add Google spider to WHO ONLINE?
Post by: AngelinaBelle on April 16, 2010, 01:45:36 PM
Quote from: Underdog link=topic=5004.msg31508#msg31508 Googlebot and Spider mod:
[url=http://custom.simplemachines.org/mods/index.php?mod=143
CLICK HERE[/url]

This one definitely modifies SSI.php -- does it add spider stuff to whosOnline?
 
Title: Re: how to add Google spider to WHO ONLINE?
Post by: Chen Zhen on April 16, 2010, 02:22:41 PM
Quote from: Underdog link=topic=5004.msg31508#msg31508
Googlebot and Spider mod:
CLICK HERE (http://custom.simplemachines.org/mods/index.php?mod=143)

This one definitely modifies SSI.php -- does it add spider stuff to whosOnline?

If you read the install page of the link I provided it says to also install this mod to work with it: CLICK HERE (http://www.simplemachines.org/community/index.php?topic=19243.0)

I believe if you read that post it says with the two mods combined the OP will get the desired effect.


UD

Title: Re: how to add Google spider to WHO ONLINE?
Post by: AngelinaBelle on April 16, 2010, 03:17:51 PM
That sounds very promising.
 
Morokat -- does that work out for you?
Title: Re: how to add Google spider to WHO ONLINE?
Post by: UnclEo on April 22, 2010, 09:13:51 AM
If you have installed http://custom.simplemachines.org/mods/index.php?mod=143

file Sources/PortalBlocks.php

Search for-->>
Code: [Select]
$stats = ssi_whosOnline('array');

echo '
<ul class="sp_list">
<li>', sp_embed_image('dot'), ' ', $txt['guests'], ': ', $stats['guests'], '</li>
<li>', sp_embed_image('dot'), ' ', $txt['hidden'], ': ', $stats['hidden'], '</li>
<li>', sp_embed_image('dot'), ' ', $txt['users'], ': ', $stats['num_users'], '</li>';

Replace with -->>
Code: [Select]
$stats = ssi_whosOnline('array');

echo '
<ul class="sp_list">
<li>', sp_embed_image('dot'), ' ', $txt['guests'], ': ', $stats['guests'], '</li>
<li>', sp_embed_image('dot'), ' ', $txt['hidden'], ': ', $stats['hidden'], '</li>
<li>', sp_embed_image('dot'), ' ', $txt['users'], ': ', $stats['num_users'], '</li>';

if ($stats['num_spiders'] >= 1 )
echo '
<li>', sp_embed_image('dot'), ' ' ,$txt['ob_googlebot_spider'], ': ' ,$stats['num_spiders'], '<li>';

(http://img213.imageshack.us/img213/9881/spiderz.jpg)
Title: Re: how to add Google spider to WHO ONLINE?
Post by: Nathaniel on April 25, 2010, 07:16:43 AM
Did those edits help you morokat?
SimplePortal 2.3.8 © 2008-2024, SimplePortal