News:

Wondering if this will always be free?  See why free is better.

Main Menu

Googlebot & Spiders

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

Previous topic - Next topic

aiz

Omar, that`s what I did and is not working for me :(
Gives me an error regarding SSI.PHP... alguna idea?

Saludos,
AiZ

Omar Bazavilvazo

can you try on a clean smf 1.0.5 installation?

-

intenta en una instalacion nueva de prueba de 1.0.5, debe jalar sin problemas, a menos que tengas otros mods que modifiquen ssi.php




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


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

wgm

Very nice and works perfectly.

MichiganMinis

When you go into the whos online. It looks jst like before. How can I get this to look like it should with this mod instead of just like the SMF who is online ppage.

Omar Bazavilvazo

As i said on mod description:

Quote
Is STRONGLY recommended to install this mod also (for a detailed view of what is being crawled):
http://www.simplemachines.org/community/index.php?topic=19243.0

is for who is online




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


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

bharathbala2003

i have SMF 1.0.5 installed i downloaded the mod manually and uploaded it thro the install new package.. it got installed i am able  to see the options in EDIT FEATURES also.. but it doesn show the m as bots or spiders, if i c thro the /index.php?action=who i can see their IP and if i track it.. it shows as google bots.. but why doesnt it appear in the who is online.. pls help
http://www.techgeeks.uni.cc [nofollow] the latest online community for techies..

Omar Bazavilvazo

Quote
Is STRONGLY recommended to install this mod also (for a detailed view of what is being crawled):
http://www.simplemachines.org/community/index.php?topic=19243.0




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


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

basis

Hi all, I encountered a slight problem when I tried to manually keyed-in the mod.

I am running:
SMF 1.1 Beta 3 Public
Bar of Experience v1.2 (latest & compatible with SMF 1.1 Beta 3)
Mambo Integration v1.0 (latest & compatible with SMF 1.1 Beta 3)
Trying to run:
Googlebot & Spiders Mod v1.0.4

I edited each and every file that is required. Installed the mod and every file was installed successfully.

When I tried to access "Features and Options", this error was reported;

Parse error: parse error, unexpected T_ARRAY, expecting ')' in /home/gamer/public_html/forums/Sources/ModSettings.php on line 201


Opening up my ModSettings.php to that specific line...


// What does it look like?  [smite]?
array('text', 'karmaLabel'),
array('text', 'karmaApplaudLabel'),
array('text', 'karmaSmiteLabel'),
array('rule'),
array('heading', &$txt['ob_googlebot_modname']),
// Count all instances of spiders?
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('rule'),
array('check', 'ob_googlebot_count_most_online')
);  // <<<----- Line 201

return $config_vars;
}


I added the extra bit to highlight Line 201. Could someone help to debug the code? I suspect I could have edited the ModSettings.php incorrectly. :(
SMF Version: Ver 2.0.8
Running Mods:
SimplePortal v2.3.5 (disabled)
AEVA 7.2 (enabled)
Stop Spammer 2.3.9 (disabled)
Bad Behaviour mod 1.5.17 (disabled)

basis

I think I found the problem in my code.... was missing a comma at the last line of important code.

'array('check', 'ob_googlebot_count_most_online'),' <---

Anyway I can now access the Spider/Googlebot options in the "Features And Options" page. But am I supposed to see the 'Spiders' word in the "Users Online" segment of the forum?

And I just wanted to confirm... for the ModSettings.php file, we add the code BEFORE or AFTER? (maybe there is still a bug in my code)

<file name="$sourcedir/ModSettings.php">
<operation>
<search position="after"><![CDATA[
);

return $config_vars;
}]]></search>
<add><![CDATA[
array('heading', &$txt['ob_googlebot_modname']),
// Count all instances of spiders?
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('rule'),
array('check', 'ob_googlebot_count_most_online'),]]></add>
</operation>
</file>


The above code was from the Install.xml file. Notice it said AFTER.... however I got my page working BEFORE the search parameters... Can anyone offer insights to what is wrong here?
SMF Version: Ver 2.0.8
Running Mods:
SimplePortal v2.3.5 (disabled)
AEVA 7.2 (enabled)
Stop Spammer 2.3.9 (disabled)
Bad Behaviour mod 1.5.17 (disabled)

Omar Bazavilvazo

it is looking the string AFTER where is supposed to be inserted :)




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


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

basis

Hi Omar, this was what I found.

I can see the 'GoogleBot & Spiders' in the "Features & Options" menu, if the ModSettings.php code was like this:

array('rule'),
array('heading', &$txt['ob_googlebot_modname']),
// Count all instances of spiders?
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('rule'),
array('check', 'ob_googlebot_count_most_online'),
);

return $config_vars;
}


I do not see the 'GoogleBot & Spiders' in the "Features & Options" menu, if the ModSettings.php code was like this:

array('rule'),
);

return $config_vars;
}

array('heading', &$txt['ob_googlebot_modname']),
// Count all instances of spiders?
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('rule'),
array('check', 'ob_googlebot_count_most_online'),


Is this correct? I know its supposed to be AFTER the search position, but if I put the new code AFTER, I can't even access the "Features & Options" page.

Sorry for asking this question twice, but thats what I observed. Or maybe I should PM you my forum URL so you can take a look? Is that possible?
SMF Version: Ver 2.0.8
Running Mods:
SimplePortal v2.3.5 (disabled)
AEVA 7.2 (enabled)
Stop Spammer 2.3.9 (disabled)
Bad Behaviour mod 1.5.17 (disabled)

Kindred

no... for boardmod installs, insert after means insert the new code after the searched code...    for XML installs, after means find the seaqrched code, which will be after the new code (so the new code is actually inserted BEFORE the searched code... even though the XML reads "after")
Слaва
Украинi

Please do not PM, IM or Email me with support questions.  You will get better and faster responses in the support boards.  Thank you.

"Loki is not evil, although he is certainly not a force for good. Loki is... complicated."

basis

Kindred - thanks for explaining what XML installs do... but it opens up another can of worms for me...

If AFTER (XML install) actually installs BEFORE the searched code... what does BEFORE (XML install) do?

Is there a URL or thread in this forum that discusses about the perils of installing via XML? I did try to do a search but came up with zilch... either that or I didn't key in the right key-words to do a proper search.

It still doesn't solve my problem, but I will take an attempt at the code before asking for more help.
SMF Version: Ver 2.0.8
Running Mods:
SimplePortal v2.3.5 (disabled)
AEVA 7.2 (enabled)
Stop Spammer 2.3.9 (disabled)
Bad Behaviour mod 1.5.17 (disabled)

Kindred

lol... what do you expect?// the before XML tag inserts the new code AFTER the searched code...
Слaва
Украинi

Please do not PM, IM or Email me with support questions.  You will get better and faster responses in the support boards.  Thank you.

"Loki is not evil, although he is certainly not a force for good. Loki is... complicated."

basis

hahaha... okie I managed to figure out my problem after CAREFULLY and SLOWLY going through the code. Of course now that I have been enlightened to the differences between BEFORE/AFTER XML installs...

and I found some sort of documentation (which is actually mentioned in the XML install header).

http://www.simplemachines.org/xml/modification

Now back to more coding... :P
SMF Version: Ver 2.0.8
Running Mods:
SimplePortal v2.3.5 (disabled)
AEVA 7.2 (enabled)
Stop Spammer 2.3.9 (disabled)
Bad Behaviour mod 1.5.17 (disabled)

basis

#175
egads! I spoke too soon. :(

Okie this is the problem.
I was previously tackling the modifications that Googlebot & Spiders will make to the SSI.php file. It has some issues which kept causing Mambo to crash.

I thought I fixed it by going carefully through the install code and I managed to get Mambo to run together with SMF.

However now when I enter SMF and attempt to click on the Packages menu - it comes up with just a BLANK SCREEN!!!

Gosh one problem after another - I think I won't have so much problems if I could find out a reason why the Package Manager did not work for me in the first place :(

Edit: Realised the problem was due to uploading of a mod with *.gz extension. Strange that alone could cause SMF to not load properly.
SMF Version: Ver 2.0.8
Running Mods:
SimplePortal v2.3.5 (disabled)
AEVA 7.2 (enabled)
Stop Spammer 2.3.9 (disabled)
Bad Behaviour mod 1.5.17 (disabled)

binary

i got a error when installing

Installing this package will perform the following actions:
   Type                               Action                                                                        Description
1.    Execute Modification    ./Sources/BoardIndex.php                                      Failure
2.    Execute Modification    ./Sources/ManagePermissions.php                        Failure
3.    Execute Modification    ./Sources/ModSettings.php                                      Failure
4.    Execute Modification    ./Sources/Subs.php                                                   Failure
5.    Execute Modification    ./Themes/default/languages/Modifications.english.php    Success
6.    Execute Modification    ./Themes/default/BoardIndex.template.php                 Success
7.    Execute Modification    SSI.php                                                                        Failure
8.    Execute Code               install.php    

Can someone please help me


Not even in /Dev/Null/ no one can hear u scream.Join Net-force For all your Security Needs, click here to enter

Kindred

bw more specific.... what version of the mod and what version of SMF are you running?  The current mod has been updated and now only works on 1.1b3
Слaва
Украинi

Please do not PM, IM or Email me with support questions.  You will get better and faster responses in the support boards.  Thank you.

"Loki is not evil, although he is certainly not a force for good. Loki is... complicated."

binary

i upgraded to the beta version of smf (SMF 1.1 Beta 3 Public) and when i try and install it now i only get one failed file ./Sources/ModSettings.php is the only one that has failed. if i can fix that file i should be fine


Not even in /Dev/Null/ no one can hear u scream.Join Net-force For all your Security Needs, click here to enter

Gargoyle

I am using 1.0.5 and I tried to install it using the package installer. It said the file was corrupted or not compatable. :(

Advertisement: