News:

Join the Facebook Fan Page.

Main Menu

Sitemap

Started by SlammedDime, May 12, 2007, 05:43:04 PM

Previous topic - Next topic

Sudhakar Arjunan

you have really solved my issue,

I got it working perfectly without a single error.

Since am in SEO, i know how much this mod will contribute for the development of a website.

Thanks a lot Slammed Dime.
Working on New Mods & Themes for SMF... Will update soon... My Blog page
My Smf forum : Discuss ITAcumens :: My SMF Forum

genieuk

site map error again  :(

It is either me or google,

Well few days ago i changed my domain to .com instead of .co.cc, everything switched fine etc, no problems at all.

i channged domain in google webmaster tools and type in     
index.php?action=sitemap;xml

Google is now saying there are errors.

Instead of me typing please see attached image and it says the errors, i dont understand, as from what i can tell all seems ok my end, i re-submitted earlier aswell but just not sure what the problem is and how to solve it ???

Thanks
Mathew

SlammedDime

It has nothing to do with the sitemap... it's how you setup your site in google.  You need to tell google that your site is www.foreverlastingfriends.com, not foreverlastingfriends.com (notice the www. on the former).
SlammedDime
Former Lead Customizer
BitBucket Projects
GeekStorage.com Hosting
                      My Mods
SimpleSEF
Ajax Quick Reply
Sitemap
more...
                     

genieuk

Quote from: SlammedDime on October 25, 2008, 04:36:21 PM
It has nothing to do with the sitemap... it's how you setup your site in google.  You need to tell google that your site is www.foreverlastingfriends.com, not foreverlastingfriends.com (notice the www. on the former).

I am such a fool sometimes, strange thou as my old domain name i did not add www. to that and that never gave errors. Oh well lets see if google is happy now.

I could beat myself up sometimes lol,

Thank you,
Mathew

The Cadet

The mod won't parse manual instructions. Can I expect that the modification in ./Themes/default/languages/Modifications.french.php is not a huge deal and continue with the installation?

genieuk

Quote from: The Cadet on October 25, 2008, 08:02:04 PM
The mod won't parse manual instructions. Can I expect that the modification in ./Themes/default/languages/Modifications.french.php is not a huge deal and continue with the installation?

If your site is not french then yes allow it to skip the file, it wont hurt if you not using french language.

The Cadet


Muldoon

Hi, I just found out about this mod and I'm very excited about it.  However before jumping in, I was hoping someone might be able to help me ensure I have a smooth install.  Currently on my site, I have TinyPortal 0.9.8 over SMF 1.1.6.  Also I have the theme 'Mesh' set as the default.  I

1) I do want to create an xml sitemap for Google Sitemaps
2) Also my forum is in the www.thethirdoption.net/smf directory so it looks like I have to add the following code to my .htaccess file

Quote
   RewriteEngine on
   RewriteRule ^sitemap.xml$ /smf/index.php?action=sitemap;xml

I then read this:

QuoteManual edits will be required for ALL themes (other than SMF Default Core Theme).

I did check and my theme does not have its own Modifications.english.php file or Modifications.english-utf8.php file.

So at this point, I take it I just install the mod and add to the .htaccess file.  Is this correct?

Now...

I noticed that there are numerous 'File edits'.  I take it I must manually go through all of those?

I then see this at the bottom of:

http://custom.simplemachines.org/mods/index.php?action=parse

Code
add_settings.php
This file should be able to execute standalone.
File Operations
Move the included file "Sitemap.php" to "./Sources".
Move the included file "Sitemap.template.php" to "./Themes/default".

I'm confused about the above part...

Any help would be much appreciated!
Muldoon

SlammedDime

Install the mod just like any other through the package manager.  Any theme edits, like index.template.php, will need to be made manually on your custom theme, just like any other mod.

If you're installing the entire mod manually, then 'the above part...' will need to be done manually as well... you'll have to open up the mod file, extract the files, and as it says, move Sitemap.php to the source directory, and Sitemap.template.php to the theme directory.  Then put the file 'add_settings.php' in your main SMF directory, then run it, then delete it.
SlammedDime
Former Lead Customizer
BitBucket Projects
GeekStorage.com Hosting
                      My Mods
SimpleSEF
Ajax Quick Reply
Sitemap
more...
                     

Sincere

#569
Hi.

I installed successfully the mod, and only had one single warning about a modification that I should manually do in Themes/default/index.template.php

Quote
Find [Select]

            </td>
            <td width="28%" valign="middle" align="', !$context['right_to_left'] ? 'left' : 'right', '">

Add Before [Select]

               <span class="smalltext" style="display: inline; visibility: visible; font-family: Verdana, Arial, sans-serif;"> | <a href="'.$scripturl.'?action=sitemap">', $txt['sitemap'] ,'</a></span>



I could not do this modification as I could not find that string in the Themes/default/index.template.php. But that is not my question.

my question is that now if you go to
http://mysite.com/forums/index.php?action=sitemap;xml

you get an error that the xml file is mis-shaped or bad format ......

I tried firing the mysite.com/forums/add_settings.php

and got a "Your settings have been entered into the database!"

But still am getting the same error. any help ??


could this be because I am using SMF 2.0 Beta 4 ???




Do you need a special mod for your smf forums? contact me for a quote.

SlammedDime

Quote from: Frozt on October 14, 2008, 07:23:01 AM
the only incompatibility with 2.0 Beta 4 is the installation in the index.template.php file?

or is possible install SMF Sitemap 1.3.0 in 2.0 Beta 4 with a modification in that part of the installation and the rest code is compatible with this version of SMF?


In a fresh insall of 2.0 Beta 4 the installation only fail in index.template.php file, in this change:

QuoteFind:

</td>
<td width="28%" valign="middle" align="', !$context['right_to_left'] ? 'left' : 'right', '">


Add Before:

<span class="smalltext" style="display: inline; visibility: visible; font-family: Verdana, Arial, sans-serif;"> | <a href="'.$scripturl.'?action=sitemap">', $txt['sitemap'] ,'</a></span>


2.0 Beta 4 have a footer different of 1.1.6


but I try this:

in the line that appear the code that show the link:

XHTML | RSS | WAP2

<li class="last"><a id="button_wap2" href="', $scripturl , '?wap2" class="new_win"><span>WAP2</span></a></li>

I replace that line with:

<li><a id="button_wap2" href="', $scripturl , '?wap2" class="new_win"><span>WAP2</span></a></li>
<li class="last"><a href="'.$scripturl.'?action=sitemap" class="new_win"><span>', $txt['sitemap'] ,'</span></a></li>


and show the Sitemap link like in 1.1.6

XHTML | RSS | WAP2 | Sitemap


After did this I can install SMF Sitemap in 2.0 Beta 4 and aparently it work well



Note: i did this change in the mod package:
unzip smf_sitemap_1.3.0.tar.gz
and edit install.xml file
find this:
<search position="after"><![CDATA[ </td>
<td width="28%" valign="middle" align="', !$context['right_to_left'] ? 'left' : 'right', '">
]]></search>
<add><![CDATA[ <span class="smalltext" style="display: inline; visibility: visible; font-family: Verdana, Arial, sans-serif;"> | <a href="'.$scripturl.'?action=sitemap">', $txt['sitemap'] ,'</a></span>
]]></add>


and remplace by this:
<search position="replace"><![CDATA[ <li class="last"><a id="button_wap2" href="', $scripturl , '?wap2" class="new_win"><span>WAP2</span></a></li>]]></search>
<add><![CDATA[ <li><a id="button_wap2" href="', $scripturl , '?wap2" class="new_win"><span>WAP2</span></a></li>
<li class="last"><a href="'.$scripturl.'?action=sitemap" class="new_win"><span>', $txt['sitemap'] ,'</span></a></li>
]]></add>


repacked and install.

Quote from: SlammedDime on October 14, 2008, 11:13:49 AM
Yes, that is really the only change needed to work on Beta 4, but I won't be releasing a new version until 2.0 hit's the RC stages due to still more template changes in the works, plus I plan on adding features to the sitemap.

That should answer your question regarding Beta 4

As for the other issue, I'd have to see a link, but I"m willing to guess one of two things... either you have adsense code on your forum, or some other code after </html> in your source, or there are some spaces at the very top of the HTML before <doctype>... either of those will foul you up.
SlammedDime
Former Lead Customizer
BitBucket Projects
GeekStorage.com Hosting
                      My Mods
SimpleSEF
Ajax Quick Reply
Sitemap
more...
                     

Sincere

Quote from: SlammedDime on October 29, 2008, 03:49:16 PM
As for the other issue, I'd have to see a link, but I"m willing to guess one of two things... either you have adsense code on your forum, or some other code after </html> in your source, or there are some spaces at the very top of the HTML before <doctype>... either of those will foul you up.

thank you very much for your very kind help.

Do you mean that the SEO mod won't generate a correct sitemap when there is adsense code inserted to the forum ???

is not there a way ?

Do you need a special mod for your smf forums? contact me for a quote.

Sincere

I have failed to install correctly this mod. :-[
Do you need a special mod for your smf forums? contact me for a quote.

SlammedDime

Quote from: Sincere on October 29, 2008, 04:37:18 PM
Quote from: SlammedDime on October 29, 2008, 03:49:16 PM
As for the other issue, I'd have to see a link, but I"m willing to guess one of two things... either you have adsense code on your forum, or some other code after </html> in your source, or there are some spaces at the very top of the HTML before <doctype>... either of those will foul you up.

thank you very much for your very kind help.

Do you mean that the SEO mod won't generate a correct sitemap when there is adsense code inserted to the forum ???

is not there a way ?


Sure there is, but only if the adsense is inserted correctly.  Like I hinted at, anything after </html> is incorrect and needs to be moved to the correct place and file (index.template.php, before </body>).  Without a link, it's kinda hard to tell you exactly what is wrong.
SlammedDime
Former Lead Customizer
BitBucket Projects
GeekStorage.com Hosting
                      My Mods
SimpleSEF
Ajax Quick Reply
Sitemap
more...
                     

Sincere

Quote from: SlammedDime on October 29, 2008, 06:44:45 PM
Quote from: Sincere on October 29, 2008, 04:37:18 PM
Quote from: SlammedDime on October 29, 2008, 03:49:16 PM
As for the other issue, I'd have to see a link, but I"m willing to guess one of two things... either you have adsense code on your forum, or some other code after </html> in your source, or there are some spaces at the very top of the HTML before <doctype>... either of those will foul you up.

thank you very much for your very kind help.

Do you mean that the SEO mod won't generate a correct sitemap when there is adsense code inserted to the forum ???

is not there a way ?


Sure there is, but only if the adsense is inserted correctly.  Like I hinted at, anything after </html> is incorrect and needs to be moved to the correct place and file (index.template.php, before </body>).  Without a link, it's kinda hard to tell you exactly what is wrong.

thank you so much

I have failed to install the mod. I really tried. spent many hours. it did not work for me.

Do you need a special mod for your smf forums? contact me for a quote.

HistoryHunter

It works fine for me with smf 1.1.6 and TP:
http://historyhuntersinternational.org/index.php?action=sitemap
Added to top and side menu without a problem, then the xml to Google.
Many thanks!

sub367

could you update it for 1.1.6?

SlammedDime

sub - see the post right above yours.
SlammedDime
Former Lead Customizer
BitBucket Projects
GeekStorage.com Hosting
                      My Mods
SimpleSEF
Ajax Quick Reply
Sitemap
more...
                     

assam_siddibapa

I have some errors in my error log after installing this mod

8: Undefined index: goto_lastpost
File: /home/legenda1/public_html/forum/Themes/Warzone/BoardIndex.template.php (main sub template - eval?)
Line: 190

8: Undefined index: board_by
File: /home/legenda1/public_html/forum/Themes/Warzone/BoardIndex.template.php (main sub template - eval?)
Line: 191

8: Undefined index: board_in
File: /home/legenda1/public_html/forum/Themes/Warzone/BoardIndex.template.php (main sub template - eval?)
Line: 190

And so on ... please help

SlammedDime

Those have nothing to do with this mod.
SlammedDime
Former Lead Customizer
BitBucket Projects
GeekStorage.com Hosting
                      My Mods
SimpleSEF
Ajax Quick Reply
Sitemap
more...
                     

Advertisement: