News:

Want to get involved in developing SMF, then why not lend a hand on our github!

Main Menu

Sitemap

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

Previous topic - Next topic

cru

#100
THANKS SO MUCH MATT! IT WORKED!!!!  8) 8) 8) 8)

how often should we resubmit the sitemap to google? for a forum like smf?

BeoR

Hello Matt, I'm having problems with the "Max number of topics to display in sitemap" option. No matter how much I set it to (aside from 0), it gives me 716 pages worth of topics. The problem is, I don't have that much topics so it gives an error.

http://www.istorya.net/forums/index.php?action=sitemap

SlammedDime

#102
What is the error in your error log?  Also, what do you have 'Max Number of topics to display...' set as?  Edit: I was able to easily replicate this.  I should have tested this on a site with a few thousand posts.  I'll fix the error and upload a new version.  Sorry.

cru, Never.  Once you have it in, google will automatically check it every so often.
SlammedDime
Former Lead Customizer
BitBucket Projects
GeekStorage.com Hosting
                      My Mods
SimpleSEF
Ajax Quick Reply
Sitemap
more...
                     

SlammedDime

Ok, I've updated it to 1.2.1.  To upgrade, simply upload the new package, apply it, then delete the 1.2.0 version.
SlammedDime
Former Lead Customizer
BitBucket Projects
GeekStorage.com Hosting
                      My Mods
SimpleSEF
Ajax Quick Reply
Sitemap
more...
                     

BeoR


cru

matt, does this work with tinyportal installed?

SlammedDime

It should.  I don't see why it wouldn't.
SlammedDime
Former Lead Customizer
BitBucket Projects
GeekStorage.com Hosting
                      My Mods
SimpleSEF
Ajax Quick Reply
Sitemap
more...
                     

TrueSatan

I use it in a TP site (or several), it works without problems...thanks Matt!

SlammedDime

SlammedDime
Former Lead Customizer
BitBucket Projects
GeekStorage.com Hosting
                      My Mods
SimpleSEF
Ajax Quick Reply
Sitemap
more...
                     

ApplianceJunk

Hi,

What a great mod, thanks!

Everything installed ok.
I added this index.php?action=sitemap;xml as a site map to ApplianceJunk.com/forums/ in my google webmaster tools.

I then get this message.

You have added a Sitemap to http://appliancejunk.com/forums/. Reports may take several hours to update. Thank you for your patience!

So everything seems good to go.

One question I have is if my site maps is complete.
Your mod just creates my site map for me, correct?
Ok, two questions.
Do I ever have to update my site map?

I thought before installing I would have to create the site map by adding pages, but when I click the site map link at the bottom of my page the map seems to already have been create.

If this is the case, your mod is awesome!

Much easier then what I was reading on google webmaster tools on how to create a site map. :)

Thanks,

ApplianceJunk

update from google webmaster tools.

Sitemap:    index.php?action=sitemap;xml
Type:       Sitemap
Submitted:  Web

Last Downloaded:  22 minutes ago  19 minutes
Sitemap Status:   OK
URLs submitted:   70

Awesome!!

Touti

I'm getting an error while trying to install.  I have the same problem with every mod because one of them screwed up with Themes\default\index.template.php.

If I want to continue with the installation, what do I have to change in that file after and in my other themes ?

TrueSatan

Your best solution is probably to get a fresh copy of index.template.php from the SMF installation package and then edit into it manually any and all of your mods that affect it. then try this mod and any others you wish to add again.

The following will help explain the manual installation process...please read:

http://docs.simplemachines.org/index.php?topic=402.msg531#msg531

http://www.simplemachines.org/community/index.php?topic=34526.0

The following may also prove helpful:

http://modparser.dev.dansoftaustralia.net/



Reis_TÜRK


cru

SMF1.1.3 default theme

1. hi, i had this mod installed on my site , and everything went well. After installing Tiny Portal MANUALLY, i have deleted the part where it should echo the sitemap link beside the SMF copyright stuff (since manual installation of tinyportal needs replacing codes on index.template.php)

2. how can i put it back there? i know this seems easy but i don't know what to insert, and where. here's part of the code...
<table cellspacing="0" cellpadding="3" border="0" align="center" width="100%">
<tr>
<td width="28%" valign="middle" align="', !$context['right_to_left'] ? 'right' : 'left', '">
<a href="http://www.mysql.com/" target="_blank"><img id="powered-mysql" src="', $settings['images_url'], '/powered-mysql.gif" alt="', $txt['powered_by_mysql'], '" width="54" height="20" style="margin: 5px 16px;" onmouseover="smfFooterHighlight(this, true);" onmouseout="smfFooterHighlight(this, false);" /></a>
<a href="http://www.php.net/" target="_blank"><img id="powered-php" src="', $settings['images_url'], '/powered-php.gif" alt="', $txt['powered_by_php'], '" width="54" height="20" style="margin: 5px 16px;" onmouseover="smfFooterHighlight(this, true);" onmouseout="smfFooterHighlight(this, false);" /></a>
</td>
<td valign="middle" align="center" style="white-space: nowrap;" class="smalltext">
                                        ', theme_copyright(), ' <br />', tportal_version() , '
                                </td>
<td width="28%" valign="middle" align="', !$context['right_to_left'] ? 'left' : 'right', '">
<a href="http://validator.w3.org/check/referer" target="_blank"><img id="valid-xhtml10" src="', $settings['images_url'], '/valid-xhtml10.gif" alt="', $txt['valid_xhtml'], '" width="54" height="20" style="margin: 5px 16px;" onmouseover="smfFooterHighlight(this, true);" onmouseout="smfFooterHighlight(this, false);" /></a>
<a href="http://jigsaw.w3.org/css-validator/check/referer" target="_blank"><img id="valid-css" src="', $settings['images_url'], '/valid-css.gif" alt="', $txt['valid_css'], '" width="54" height="20" style="margin: 5px 16px;" onmouseover="smfFooterHighlight(this, true);" onmouseout="smfFooterHighlight(this, false);" /></a>
</td>
</tr>
</table>';


TIA!

SlammedDime

<table cellspacing="0" cellpadding="3" border="0" align="center" width="100%">
<tr>
<td width="28%" valign="middle" align="', !$context['right_to_left'] ? 'right' : 'left', '">
<a href="http://www.mysql.com/" target="_blank"><img id="powered-mysql" src="', $settings['images_url'], '/powered-mysql.gif" alt="', $txt['powered_by_mysql'], '" width="54" height="20" style="margin: 5px 16px;" onmouseover="smfFooterHighlight(this, true);" onmouseout="smfFooterHighlight(this, false);" /></a>
<a href="http://www.php.net/" target="_blank"><img id="powered-php" src="', $settings['images_url'], '/powered-php.gif" alt="', $txt['powered_by_php'], '" width="54" height="20" style="margin: 5px 16px;" onmouseover="smfFooterHighlight(this, true);" onmouseout="smfFooterHighlight(this, false);" /></a>
</td>
<td valign="middle" align="center" style="white-space: nowrap;" class="smalltext">
                                        ', theme_copyright(), '
<span class="smalltext" style="display: inline; visibility: visible; font-family: Verdana, Arial, sans-serif;"> | <a href="'.$scripturl.'?action=sitemap">Sitemap</a></span> <br />', tportal_version() , '
                                </td>
<td width="28%" valign="middle" align="', !$context['right_to_left'] ? 'left' : 'right', '">
<a href="http://validator.w3.org/check/referer" target="_blank"><img id="valid-xhtml10" src="', $settings['images_url'], '/valid-xhtml10.gif" alt="', $txt['valid_xhtml'], '" width="54" height="20" style="margin: 5px 16px;" onmouseover="smfFooterHighlight(this, true);" onmouseout="smfFooterHighlight(this, false);" /></a>
<a href="http://jigsaw.w3.org/css-validator/check/referer" target="_blank"><img id="valid-css" src="', $settings['images_url'], '/valid-css.gif" alt="', $txt['valid_css'], '" width="54" height="20" style="margin: 5px 16px;" onmouseover="smfFooterHighlight(this, true);" onmouseout="smfFooterHighlight(this, false);" /></a>
</td>
</tr>
</table>';
SlammedDime
Former Lead Customizer
BitBucket Projects
GeekStorage.com Hosting
                      My Mods
SimpleSEF
Ajax Quick Reply
Sitemap
more...
                     

cru

thanks matt! it was so easy to upgrade to your latest version too!

Touti

Quote from: TrueSatan on August 12, 2007, 11:40:28 AM
Your best solution is probably to get a fresh copy of index.template.php from the SMF installation package and then edit into it manually any and all of your mods that affect it. then try this mod and any others you wish to add again.

The following will help explain the manual installation process...please read:

http://docs.simplemachines.org/index.php?topic=402.msg531#msg531

http://www.simplemachines.org/community/index.php?topic=34526.0

The following may also prove helpful:

http://modparser.dev.dansoftaustralia.net/





That's probably the best solution because it's becoming quite annoying.  Almost every thing I try to install gives me that problem. 

Thanks for the suggestion.  In the meantime, I installed the sitemap mod despire the warning, edited the index.template.php file manually and it works great.

Suggestion for the programmers of SMF:  It would be very useful if the error message gave us a hint as to why the installatin of a mod fails.

Aileen

Is this a dynamic sitemap?

SlammedDime

SlammedDime
Former Lead Customizer
BitBucket Projects
GeekStorage.com Hosting
                      My Mods
SimpleSEF
Ajax Quick Reply
Sitemap
more...
                     

Advertisement: