News:

SMF 2.1.4 has been released! Take it for a spin! Read more.

Main Menu

Googlebot & Spiders

Started by Omar Bazavilvazo, June 06, 2005, 06:17:35 PM

Previous topic - Next topic

Goosemoose

That's really strange. It installed cleanly, I just changed the xml file to include the cvs version of RC 2 I'm running. You can see it up on my site http://www.goosemoose.com/component/option,com_smf/Itemid,118/forum,rat/

I don't think I made any other changes, though I guess it's possible, I did it a month or so ago.

DARRKCLOUD

Same Here, I installed the Mod and it works fine. It just doesn't display the Spiders names, but you can go to the who's online page if you are that intrested. Go to hxxp:www.nitrorccarcentral.uk.to/community/index.php [nonactive] or hxxp:www.nitrorccarcentral.uk.to/community/index.php?action=who [nonactive] to see it working.
hxxp:www.rccarsource.com [nonactive]
hxxp:forums.rccarsource.com [nonactive]
hxxp:www.thecarfourm.net [nonactive]

Omar Bazavilvazo

anyway.. seems is broken :P

since the template change was huge, i'm checking it right now :P




Personal Signature:
HablaJapones
http://hablajapones.org
http://hablajapones.org/tutoriales.php


NO me manden PM para soporte o dudas
...Leo los foros como todos...

Goosemoose

Hmm, I get all the spider names :) Google and gigabot have been going nuts on my site. Over 35 bots each at any time.

Omar Bazavilvazo

Updated for 1.0.6, please let me know if works properly.

Working on the 1.1 RC2 version :P




Personal Signature:
HablaJapones
http://hablajapones.org
http://hablajapones.org/tutoriales.php


NO me manden PM para soporte o dudas
...Leo los foros como todos...

RoarinRow

Quote from: Omar Bazavilvazo on February 24, 2006, 05:18:34 PM
Updated for 1.0.6, please let me know if works properly.

Working on the 1.1 RC2 version :P

Fantastic, looking forward to the RC2 version.   8)

SMF 2.0
TP 1.0 RC1.1
Wordpress 3.1.3

tarkhorani

Quote from: Omar Bazavilvazo on February 24, 2006, 05:18:34 PM
Updated for 1.0.6, please let me know if works properly.

Working on the 1.1 RC2 version :P


For 1.1 RC2 Please!
[/color][/size]

Get a Free SMForum on http://www.myboards.com (Ver 1.1.1)



Omar Bazavilvazo

Ok, finished :)

Now it works for both 1.0.6 and 1.1 RC2

There is a version of the mod, for each version of SMF due to incompatibilities :P

If you find an error, or have a suggestion, please let me know :)

Don't forget to review the mod please :)




Personal Signature:
HablaJapones
http://hablajapones.org
http://hablajapones.org/tutoriales.php


NO me manden PM para soporte o dudas
...Leo los foros como todos...

RoarinRow


SMF 2.0
TP 1.0 RC1.1
Wordpress 3.1.3

Teelow

Quote from: RoarinRow on February 24, 2006, 09:40:13 PM
Cool, thank you!  8)

Let me know if it works for you in TP.  I get a failure in managepermissions.php.   :(

RoarinRow

Quote from: Teelow on February 24, 2006, 09:41:02 PM
Quote from: RoarinRow on February 24, 2006, 09:40:13 PM
Cool, thank you!  8)

Let me know if it works for you in TP.  I get a failure in managepermissions.php.   :(

Haven't tried it yet :o  Last time I installed this mod was with SMF 1.0.5.  I believe I used a new managepermission.php file, but had to reinstall my other impacted mods to get them back in the managepermissions list. 

SMF 2.0
TP 1.0 RC1.1
Wordpress 3.1.3

tarkhorani

WOW! work with my RC2 forum properly.

another question, can you change it so show the name of robots also in "Users Seen Today" Mod?
Get a Free SMForum on http://www.myboards.com (Ver 1.1.1)



~dragonfly~

Thanks for the great mod  ~smiles~

I do have a question though, and I will state up front I am a newbie.  The mod is working perfectly on my board.  In the User's Online section, it lists them first, as follows: 

Users Online       2 Spiders, 0 Guests, 1 User (0 Buddies)

How can I re-order that list, so that the spiders appear last in the list?  Thank you.

Omar Bazavilvazo

On BoardIndex.template.php

search for:
Quote
', $context['show_who'] ? '<a href="' . $scripturl . '?action=who">' : '', (empty($context['spiders']) ? '' : $context['num_spiders'] . ' ' . ($context['num_spiders'] == 1 ? $txt['ob_googlebot_spider'] : $txt['ob_googlebot_spiders']) . ', '), $context['num_guests'], ' ', $context['num_guests'] == 1 ? $txt['guest'] : $txt['guests'], ', ' . $context['num_users_online'], ' ', $context['num_users_online'] == 1 ? $txt['user'] : $txt['users'];

and replace it with:
Quote
', $context['show_who'] ? '<a href="' . $scripturl . '?action=who">' : '',  $context['num_guests'], ' ', $context['num_guests'] == 1 ? $txt['guest'] : $txt['guests'], ', ' . $context['num_users_online'], ' ', $context['num_users_online'] == 1 ? $txt['user'] : $txt['users'], (empty($context['spiders']) ? '' : $context['num_spiders'] . ' ' . ($context['num_spiders'] == 1 ? $txt['ob_googlebot_spider'] : $txt['ob_googlebot_spiders']) . ', ');




Personal Signature:
HablaJapones
http://hablajapones.org
http://hablajapones.org/tutoriales.php


NO me manden PM para soporte o dudas
...Leo los foros como todos...

Omar Bazavilvazo

Quote from: tarkhorani on February 24, 2006, 09:59:17 PM
another question, can you change it so show the name of robots also in "Users Seen Today" Mod?
I'll consider it :)

I just updated 1.0.5 for 1.1 RC2 to be compatible with TinyPortal :)

Please test it and tell me if it works




Personal Signature:
HablaJapones
http://hablajapones.org
http://hablajapones.org/tutoriales.php


NO me manden PM para soporte o dudas
...Leo los foros como todos...

RoarinRow

Quote from: Omar Bazavilvazo on February 25, 2006, 12:26:35 AM
Quote from: tarkhorani on February 24, 2006, 09:59:17 PM
another question, can you change it so show the name of robots also in "Users Seen Today" Mod?
I'll consider it :)

I just updated 1.0.5 for 1.1 RC2 to be compatible with TinyPortal :)

Please test it and tell me if it works

It worked on my RC2 TP test site, thank you!  Passed all tests.

SMF 2.0
TP 1.0 RC1.1
Wordpress 3.1.3

Teelow

#496
Quote from: Omar Bazavilvazo on February 25, 2006, 12:26:35 AM
Quote from: tarkhorani on February 24, 2006, 09:59:17 PM
another question, can you change it so show the name of robots also in "Users Seen Today" Mod?
I'll consider it :)

I just updated 1.0.5 for 1.1 RC2 to be compatible with TinyPortal :)

Please test it and tell me if it works

You sir,  are a MOD Guru.  Worked perfectly with the default theme for SMF installed  :)  Does not want to work with Multi_Helios Theme installed.  You it still only displays users / guest and missing the spider link.

***Update***

You will need to make a backup of your Board.Indextemplate.php prior to the install if you are using a customer theme.  Apply the MOD then copy that file from your DEFAULT directory into the theme directory.  OR you can simply modify the XML file...but the first way is much easier and works like a charm!

G6™

I manage to put my question in the wrong board i guess, but i try here to when this seem to be the right one.

I downloaded the latest googlebot that should work with smf rc2.
Uploaded the package to the packagemanager, run the files, all checks ok, and i installed the package, everything seemed to work out good.

I went to the settings and made my choices of how the bot should work and show. Went to the permission board and made the settings to show for all but guests.

And then, nothing show up anywhere, not in the forum and usersbar, and not in the usersbox that Tinyportal use.
Went to the error log and see that this error have accured
8: Undefined index: ob_googlebot_modname
File: /*********/********/******.se/httpd.www/forum/Sources/ModSettings.php
Line: 136


Went to the file and saw that thers no lines what so ever applyed bu the packagemanager. I looked in the install.xml file and saw the lines it should have added in, but it didnt.

So now i wonder if any kind person in here could give some help telling me the strings i have to add in there, and where?
Like manuall install for just that file, like add this before this.... and after this....
Im not that good with the coding part, so i cant see if somethings wrong or right in the coding.

I have SMF 1.1rc2 with TinyPortal 0.86, Arcademod is instlled to, no errors before the install of the googlebot.

Thanks in advanse
//Carina

Teelow

#498
Quote from: G6Cad on February 25, 2006, 11:45:29 AM
I manage to put my question in the wrong board i guess, but i try here to when this seem to be the right one.

I downloaded the latest googlebot that should work with smf rc2.
Uploaded the package to the packagemanager, run the files, all checks ok, and i installed the package, everything seemed to work out good.

I went to the settings and made my choices of how the bot should work and show. Went to the permission board and made the settings to show for all but guests.

And then, nothing show up anywhere, not in the forum and usersbar, and not in the usersbox that Tinyportal use.
Went to the error log and see that this error have accured
8: Undefined index: ob_googlebot_modname
File: /*********/********/******.se/httpd.www/forum/Sources/ModSettings.php
Line: 136


Went to the file and saw that thers no lines what so ever applyed bu the packagemanager. I looked in the install.xml file and saw the lines it should have added in, but it didnt.

So now i wonder if any kind person in here could give some help telling me the strings i have to add in there, and where?
Like manuall install for just that file, like add this before this.... and after this....
Im not that good with the coding part, so i cant see if somethings wrong or right in the coding.

I have SMF 1.1rc2 with TinyPortal 0.86, Arcademod is instlled to, no errors before the install of the googlebot.

Thanks in advanse
//Carina

As I posted just above you,  it alters the boardindex.template.php file in your DEFAULT directory.  SO if you switch back to the default theme,  it will work perfectly for you.  Since you are using a customer theme you will need to do as I suggested,  which I summarize below:  Good luck!

***Update***

You will need to make a backup of your BoardIndex.template.php prior to the install if you are using a custom theme.  Apply the MOD then copy that file from your DEFAULT directory into the theme directory.  OR you can simply modify the XML file...but the first way is much easier and works like a charm!

jerm


Advertisement: