collapse

* Simple Portal Archived Forum

This is an Archive Forum.

The content in this forum may be out-of-date or have been superseded by newer information, and links in forum pages to other sites may not work.
This forum contains archives for future reference.

Visit our thread at Simple Machines Forum for current support.

SMF 2.1 users: EhPortal is a ported version of Simple Portal specifically designed for the SMF 2.1 branch.
Please visit web-develop.ca to download EhPortal and for its support.

* User Info

 
 
Welcome, Guest. Please login or register.

* Who's Online

  • Dot Guests: 331
  • Dot Hidden: 0
  • Dot Users: 0

There aren't any users online.

* Shoutbox

Refresh History
  • Shoutbox is not for support!
  • {OCS}MasterSeal: Yup, Still adore SP
    April 21, 2019, 07:08:06 PM
  • {OCS}MasterSeal: STILL love SP :)
    November 24, 2018, 05:05:50 AM
  • ♦ Ninja ZX-10RR ♦: <3 aegersz
    September 13, 2018, 03:36:09 PM
  • aegersz: I STILL <3 LOVE SimplePortal
    September 13, 2018, 07:11:39 AM
  • aegersz: o LOVE you guys - Simple Portal rocks !
    May 09, 2018, 05:18:59 AM
  • Chen Zhen: our apologies for the site being down.. please read server issues topic
    March 22, 2018, 05:32:38 AM
  • {OCS}MasterSeal: LOL PLEASE forget I just posted that. I found the answer in my own dang post back in 2015. lol sorry!
    July 04, 2017, 10:47:55 PM
  • {OCS}MasterSeal: I know this SB isnt' for support, but I just have a general question. Who would I contact to find out where SP stores its block info? Is it DB driven or files? I searched the site but came up with nothing. probably my fault any insight is appreciated.
    July 04, 2017, 10:43:36 PM
  • ♦ Ninja ZX-10RR ♦: Excuse me but what does Simpleportal have to deal with that?
    February 05, 2017, 08:21:14 PM
  • WhiteEagle: of course IMHO that site appears to be dead :(
    February 04, 2017, 01:08:05 PM
  • WhiteEagle: If I can get that, then I'll use it for that site...
    February 04, 2017, 01:07:35 PM
  • WhiteEagle: decided to not use SMF for any projects, unless I can get a copy of the premium version of the fanfiction archive plugin
    February 04, 2017, 01:06:54 PM
  • expertdecisions: cloudflare
    January 28, 2017, 08:01:47 AM
  • aegersz: SM release 2.0.13 !
    January 12, 2017, 06:00:13 AM
  • raffo: Tks Emanuele, even if I didn't understand the fix :D
    November 07, 2016, 02:01:20 AM
  • emanuele: [link]
    November 01, 2016, 12:43:50 PM
  • emanuele: raffo: the English support board is a good place. ;)
    November 01, 2016, 12:43:38 PM
  • raffo: Where can I find the fix for the shoutbox?
    November 01, 2016, 05:06:09 AM
  • {OCS}MasterSeal: To the SP team, I make a point to come here and thank you as much as possible for your work.  so again, THANK YOU!
    October 28, 2016, 10:38:05 AM
  • emanuele: That's indeed funny, the limit is present only in the patch and not the full install.
    October 22, 2016, 06:14:58 PM

* Recent Posts

Adding Forums Button to Nav bar by jirapon
[August 01, 2019, 09:07:12 AM]


Re: Board Icons by ♦ Ninja ZX-10RR ♦
[July 30, 2019, 04:03:41 PM]


MOVED: Czech translation???? by ♦ Ninja ZX-10RR ♦
[July 30, 2019, 03:04:51 PM]


Board Icons by jirapon
[July 30, 2019, 07:28:44 AM]


Re: Thankyou Simpleportal, by ♦ Ninja ZX-10RR ♦
[July 29, 2019, 09:41:29 AM]

NEED HELP? If you're looking for support with Simple Portal, look no further than the Support Board!

Author Topic: how to add Google spider to WHO ONLINE?  (Read 9002 times)

0 Members and 1 Guest are viewing this topic.

Offline morokat

  • Semi Newbie
  • *
  • Posts: 7
  • SMF Version: 1.1.11
  • SP Version: 2.3.1
how to add Google spider to WHO ONLINE?
« 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



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


« Last Edit: March 28, 2010, 05:05:09 AM by morokat »

Offline Old Fossil

  • Beta Tester
  • *
  • Posts: 796
  • Gender: Male
  • SMF Version: 2.0.4
  • SP Version: 2.3.5
Re: how to add Google spider to WHO ONLINE?
« Reply #1 on: March 28, 2010, 10:05:26 AM »
Tis is a mod on sm.org called 'More Spiders'
Daily backups mean less headaches

Block Set Up

I may be no coding expert but I am willing to help where I can.

I eat Spammers for breakfast

Offline morokat

  • Semi Newbie
  • *
  • Posts: 7
  • SMF Version: 1.1.11
  • SP Version: 2.3.1
Re: how to add Google spider to WHO ONLINE?
« Reply #2 on: March 28, 2010, 10:43:47 AM »
more spider not work with my version 1.1.11

Offline Old Fossil

  • Beta Tester
  • *
  • Posts: 796
  • Gender: Male
  • SMF Version: 2.0.4
  • SP Version: 2.3.5
Re: how to add Google spider to WHO ONLINE?
« Reply #3 on: March 28, 2010, 10:44:42 AM »
Any errors on install?

EDIT:

Oops this mod is not for 1.1.11
Daily backups mean less headaches

Block Set Up

I may be no coding expert but I am willing to help where I can.

I eat Spammers for breakfast

Offline morokat

  • Semi Newbie
  • *
  • Posts: 7
  • SMF Version: 1.1.11
  • SP Version: 2.3.1
Re: how to add Google spider to WHO ONLINE?
« Reply #4 on: March 28, 2010, 10:47:46 AM »
yes sir error when i'm install , when install its show all white color

Offline Old Fossil

  • Beta Tester
  • *
  • Posts: 796
  • Gender: Male
  • SMF Version: 2.0.4
  • SP Version: 2.3.5
Re: how to add Google spider to WHO ONLINE?
« Reply #5 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
Daily backups mean less headaches

Block Set Up

I may be no coding expert but I am willing to help where I can.

I eat Spammers for breakfast

Offline morokat

  • Semi Newbie
  • *
  • Posts: 7
  • SMF Version: 1.1.11
  • SP Version: 2.3.1
Re: how to add Google spider to WHO ONLINE?
« Reply #6 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

Offline Old Fossil

  • Beta Tester
  • *
  • Posts: 796
  • Gender: Male
  • SMF Version: 2.0.4
  • SP Version: 2.3.5
Re: how to add Google spider to WHO ONLINE?
« Reply #7 on: March 28, 2010, 10:58:27 AM »
Can I see a link to your forum please eithere here or in pm.
Daily backups mean less headaches

Block Set Up

I may be no coding expert but I am willing to help where I can.

I eat Spammers for breakfast

Offline morokat

  • Semi Newbie
  • *
  • Posts: 7
  • SMF Version: 1.1.11
  • SP Version: 2.3.1
Re: how to add Google spider to WHO ONLINE?
« Reply #8 on: March 28, 2010, 10:59:41 AM »

Offline morokat

  • Semi Newbie
  • *
  • Posts: 7
  • SMF Version: 1.1.11
  • SP Version: 2.3.1
Re: how to add Google spider to WHO ONLINE?
« Reply #9 on: March 28, 2010, 11:04:02 AM »
see brother now have 3 spider but not show in WHO ONLINE

Offline Old Fossil

  • Beta Tester
  • *
  • Posts: 796
  • Gender: Male
  • SMF Version: 2.0.4
  • SP Version: 2.3.5
Re: how to add Google spider to WHO ONLINE?
« Reply #10 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
Daily backups mean less headaches

Block Set Up

I may be no coding expert but I am willing to help where I can.

I eat Spammers for breakfast

Offline AngelinaBelle

  • Comrade
  • *
  • Posts: 4870
  • Gender: Female
  • SMF Version: 2 RC3
  • SP Version: 2.3.2
Re: how to add Google spider to WHO ONLINE?
« Reply #11 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.
Please to keep this website running, if you like SimplePortal, make a
one-time subscription. Thank you for your support.

Have you tried the SimplePortal documentation?

Offline Chen Zhen

  • The Underdog
  • Operations Manager
  • *
  • Posts: 1350
  • Gender: Male
  • Kinesis
    • WebDev
  • SMF Version: 2.1
  • EhPortal Version: 1.22
Re: how to add Google spider to WHO ONLINE?
« Reply #12 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

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




Offline locutusweb

  • Semi Newbie
  • *
  • Posts: 49
  • Gender: Male
  • The sky ain't the limit
    • Locutus Web Services
  • SMF Version: 2.0.7
  • SP Version: 2.3.5
Re: how to add Google spider to WHO ONLINE?
« Reply #13 on: April 16, 2010, 05:39:16 AM »
To turn it on for SMF 2.0, go to admin > members > search engines > settings.
Conquer the skies with the Gelderse Soaring Club

Offline AngelinaBelle

  • Comrade
  • *
  • Posts: 4870
  • Gender: Female
  • SMF Version: 2 RC3
  • SP Version: 2.3.2
Re: how to add Google spider to WHO ONLINE?
« Reply #14 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?
 
Please to keep this website running, if you like SimplePortal, make a
one-time subscription. Thank you for your support.

Have you tried the SimplePortal documentation?

Offline Chen Zhen

  • The Underdog
  • Operations Manager
  • *
  • Posts: 1350
  • Gender: Male
  • Kinesis
    • WebDev
  • SMF Version: 2.1
  • EhPortal Version: 1.22
Re: how to add Google spider to WHO ONLINE?
« Reply #15 on: April 16, 2010, 02:22:41 PM »
Quote from: Underdog link=topic=5004.msg31508#msg31508
Googlebot and Spider mod:
CLICK HERE

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

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


UD


Offline AngelinaBelle

  • Comrade
  • *
  • Posts: 4870
  • Gender: Female
  • SMF Version: 2 RC3
  • SP Version: 2.3.2
Re: how to add Google spider to WHO ONLINE?
« Reply #16 on: April 16, 2010, 03:17:51 PM »
That sounds very promising.
 
Morokat -- does that work out for you?
Please to keep this website running, if you like SimplePortal, make a
one-time subscription. Thank you for your support.

Have you tried the SimplePortal documentation?

Offline UnclEo

  • Translator
  • *
  • Posts: 30
  • Gender: Male
  • !Personal
    • DexMoreGroup
  • SMF Version: 2.0.2
  • SP Version: 2.3.5
Re: how to add Google spider to WHO ONLINE?
« Reply #17 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>';



Offline Nathaniel

  • Comrade
  • *
  • Posts: 5203
  • Gender: Male
    • Verbtest.com
  • SMF Version: 2 RC4
  • SP Version: 2.3.3
Re: how to add Google spider to WHO ONLINE?
« Reply #18 on: April 25, 2010, 07:16:43 AM »
Did those edits help you morokat?
SMF Friend (Former Support Specialist) | SimplePortal DeveloperMy SMF Mods | SimplePortal"Quis custodiet ipsos custodes?" - Who will Guard the Guards?Please don't send me ANY support related PMs. I will just delete them.