SimplePortal
Support => English Support => Topic started 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)
-
Tis is a mod on sm.org called 'More Spiders'
-
more spider not work with my version 1.1.11
-
Any errors on install?
EDIT:
Oops this mod is not for 1.1.11
-
yes sir error when i'm install , when install its show all white color
-
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
-
yes i'm follow u all but in Users Online can see spid, in who online can't see
-
Can I see a link to your forum please eithere here or in pm.
-
www.morokat.com
-
see brother now have 3 spider but not show in WHO ONLINE
-
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
-
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.
-
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 :|
-
To turn it on for SMF 2.0, go to admin > members > search engines > settings.
-
CLICK HERE[/url]
This one definitely modifies SSI.php -- does it add spider stuff to whosOnline?
-
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
-
That sounds very promising.
Morokat -- does that work out for you?
-
If you have installed http://custom.simplemachines.org/mods/index.php?mod=143
file Sources/PortalBlocks.php
Search for-->>
$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 -->>
$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)
-
Did those edits help you morokat?