News:

Bored?  Looking to kill some time?  Want to chat with other SMF users?  Join us in IRC chat or Discord

Main Menu

Googlebot & Spiders

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

Previous topic - Next topic

Bigguy

Any help with this would be awesome. I could add the lines manually but I`m really unsure of exactly what is added.

Quote from: Bigguy on January 14, 2006, 01:17:05 PM
I get a failure in "Modsettings.php when I try to install, any ideas how to fix this ???

Zorac

Quote from: Bigguy on January 14, 2006, 03:46:40 PM
Any help with this would be awesome. I could add the lines manually but I`m really unsure of exactly what is added.

Quote from: Bigguy on January 14, 2006, 01:17:05 PM
I get a failure in "Modsettings.php when I try to install, any ideas how to fix this ???

probably a confict with one of your other mods, your best bet is to manually install it, open up the install.xml file from the zip in a text editor, ie notepad, and read threw there, find the call for Modsettings.php and it outlines the changes to the file.  youll have to make 3 inserts into Modsettings.php

Furvert

 :D
I just found 1.05 version, main link only shows 1.04 which was failing to install on rc2
Thanks for the update, installed fine ( I think ) at least no errors reported.
I should know soon if it spots spiders

Bigguy

3 Different inserts in 3 different locations to that 1 file ??? Ok, I`ll give this a shot.


Quote from: Zorac on January 14, 2006, 03:51:00 PM
Quote from: Bigguy on January 14, 2006, 03:46:40 PM
Any help with this would be awesome. I could add the lines manually but I`m really unsure of exactly what is added.

Quote from: Bigguy on January 14, 2006, 01:17:05 PM
I get a failure in "Modsettings.php when I try to install, any ideas how to fix this ???

probably a confict with one of your other mods, your best bet is to manually install it, open up the install.xml file from the zip in a text editor, ie notepad, and read threw there, find the call for Modsettings.php and it outlines the changes to the file.  youll have to make 3 inserts into Modsettings.php

RoarinRow

Quote from: Zorac on January 14, 2006, 03:41:54 PM
Quote from: RoarinRow on January 14, 2006, 03:08:11 PM
Quote from: e03179 on January 14, 2006, 11:13:49 AM
Quote from: Prasad007 on January 14, 2006, 09:55:17 AM
what does this mod do??


In the who's online box, it displays the search engine spiders that are currently hitting your site.  So, you can tell when Yahoo, MSN, Google, etc. are indexing your site.

So I guess I shouldn't ban them then.   ;D 

actually, if you dont want them, for whatever reason, (them taking to much bandwidth, dont want your forum on search engines, etc) just exclude your forum from being crawled in your robots.txt file

Thanks for the info.  It should be ok.  So long as they aren't damaging the forum in anyway.  Not sure exactly what they do when they are on site.  I see the bot looking at certain threads or just hanging out on the main index page.

SMF 2.0
TP 1.0 RC1.1
Wordpress 3.1.3

Furvert

#405
To limit the robots I just have one board visable to guests.
That way search engines can find it but wont leach anything.
Also limit guests so they cant see email and other info ;D

dkounal

Greek translation:
// OB - Googlebot - Begin

// Boardindex Strings
$txt['ob_googlebot_modname'] = 'Googlebot & Spiders';
$txt['ob_googlebot_spider'] = 'Spider';
$txt['ob_googlebot_spiders'] = 'Spiders';
$txt['ob_googlebot_spiders_last_active'] = 'Ενεργοί Spiders τα τελευταία ' . $modSettings['lastActive'] . ' λεπτά';

// ModSettings
$txt['ob_googlebot_count_all_instances'] = 'Άθροιση όλων των επισκέψεων του ίδιου spider';
$txt['ob_googlebot_display_all_instances'] = 'Εμφάνιση  όλων των επισκέψεων του ίδιου  spider <div class="smalltext">("' . $txt['ob_googlebot_count_all_instances'] . '" πρέπει να είναι επιλεγμένη)</div>';
$txt['ob_googlebot_display_agent'] = 'Εμφάνιση agent αντί ονόματος';
$txt['ob_googlebot_display_own_list'] = 'Εμφάανιση spiders σε δική τους λίστα';
$txt['ob_googlebot_count_most_online'] = 'Συμμετοχή τους "Περισσότεροι Συνδεδεμένοι"';

// Permissions
$txt['permissiongroup_googlebot'] = $txt['ob_googlebot_modname'];
$txt['permissionname_googlebot_view'] = 'Εμφάνιση Googlebot & Spiders';

// OB - Googlebot - End

Zorac

Quote from: Furvert on January 15, 2006, 12:33:16 AM
To limit the robots I just have one board visable to guests.
That way search engines can find it but wont leach anything.
Also limit guests so they can see email and other info ;D

i encourage robots to crawl the forum, gets us more exposure, and thus more members...  unfortatnly msn is the only that will crawl it becuase the others dont like queries in the url....

thanks for the greek translation! ill add it into the package!

Zorac


ghostfreak

Will this be released as a package for RC2?

http://www.xfilesforum.net - Dare To Believe?
http://www.idealforum.co.uk - The Green Blitz!


ghostfreak

I get a 'test failed' in the:

./Sources/ModSettings.php

http://www.xfilesforum.net - Dare To Believe?
http://www.idealforum.co.uk - The Green Blitz!

Zorac

Quote from: ghostfreak on January 20, 2006, 08:52:41 PM
I get a 'test failed' in the:

./Sources/ModSettings.php

most likely a conflict with another mod youve installed, try installing it into that file manually

Bigguy

Is this all I have to put into "Modsettings.php" ??? and where do i put it:

Quote// Start Googlebot Options Menu
function ModifyGooglebotSettings()
{
   global $txt, $scripturl, $context, $settings, $sc;

   $config_vars = array(
         // Googlebot Options
         array('check', 'ob_googlebot_count_all_instances'),
         array('check', 'ob_googlebot_display_all_instances'),
         array('check', 'ob_googlebot_display_agent'),
         array('check', 'ob_googlebot_display_own_list'),
         array('check', 'ob_googlebot_count_most_online'),
   );

   // Saving?
   if (isset($_GET['save']))
   {
      saveDBSettings($config_vars);
      redirectexit('action=featuresettings;sa=googlebot');
   }

   $context['post_url'] = $scripturl . '?action=featuresettings2;save;sa=googlebot';
   $context['settings_title'] = $txt['ob_googlebot_modname'];

   prepareDBSettingContext($config_vars);
}
// End Googlebot Options Menu

Zorac

that would go at the very bottom, right before the ?>  but it needs two other inserts in teh same fiel if i remember correctly...

Bigguy

Ok, I figured I might have missed something thats why I posted here. I`m not very good at reading those xml files yet.

ghostfreak

#416
I added that info in the modsettings.php file but still no luck :(

http://www.xfilesforum.net - Dare To Believe?
http://www.idealforum.co.uk - The Green Blitz!

Bigguy

What are the 2 other inserts it needs ???

keith021773

Hello all..  Please,  please, please help me.   I installed googlebot and after it installed with no errors, I clicked on Features and Options in my admin panel and this is what I get:

Fatal error: Cannot redeclare modifygooglebotsettings() (previously declared in /home/daddypla/public_html/forums/Sources/ModSettings.php:390) in /home/daddypla/public_html/forums/Sources/ModSettings.php on line 441


I am running SMF 1.1 RC2 and I tried to install googlebot_v105_smfrc2_standard.      Thanks in advance..

Polymath

#419
Yep. Someone may post the other 2 parts of the file that needs to be inserted into modsettings.php.

edit: sorry, I have no idea and am waiting too. ???
* I don't suffer from insanity; I enjoy every minute of it. *
F.I.G.J.A.M

Advertisement: