The InfoStride Forum

TECHNOLOGY => Computing and Internet => Topic started by: wealth on Aug 18, 2011, 02:12 PM

Title: SMF Sitemap Needs Assistance Please
Post by: wealth on Aug 18, 2011, 02:12 PM
Hi, is there any way I can still use this sitemap here Sitemap (http://custom.simplemachines.org/mods/index.php?mod=755) but it says corrupt. I manually parse it for 2.0 but it did't show results. Thanks
Title: Re: Smf site map needs assistance please
Post by: MyInfoStride on Aug 18, 2011, 04:03 PM
The latest version is sitemap_2-2-1 and it only supports 2.0 RC4.

When you parsed manually, did you select the correct option? You should select 2.0 RC4. It will also work for 2.0.

Let me know if it helps!
Title: Re: Smf site map needs assistance please
Post by: wealth on Aug 18, 2011, 04:39 PM
That is why I opened this topic. Now when I parse the latest version for rc4 and 2.0 on smf mod site, the following error always occur

An Error Has Occured!
Sorry, but this modification does not appear to be compactible with the selected version

Please try it, try uploading to your package manager and you will notice the installation files has been disabled.
Title: Re: Smf site map needs assistance please
Post by: MyInfoStride on Aug 18, 2011, 09:22 PM
I will modify copy of the mod for you and upload later.
Title: Re: Smf site map needs assistance please
Post by: wealth on Aug 19, 2011, 06:24 AM
Quote from: Dewale on Aug 18, 2011, 09:22 PM
I will modify copy of the mod for you and upload later.
Such a kind fellow you are. Thanks
Title: Re: Smf site map needs assistance please
Post by: MyInfoStride on Aug 19, 2011, 04:25 PM
Quote from: wealth on Aug 19, 2011, 06:24 AM
Quote from: Dewale on Aug 18, 2011, 09:22 PM
I will modify copy of the mod for you and upload later.
Such a kind fellow you are. Thanks

You're welcome!

Download the mod attached, install and let me know if it works for you/
Title: Re: Smf site map needs assistance please
Post by: wealth on Aug 19, 2011, 06:13 PM
Thank you but however, when I tried to install the mod, there was an error on the installation of the mod. To beat this, I click that little icon in front of the file in order to show me manual installation of that file.


In sources/managesettings.php
1.

FIND:

'description' => $txt['modification_settings_desc'],
'tabs' => array(
'general' => array(
),


(Add After)

         'sitemap' => array(
),



  2.     

// Note the comma!! The setting with automatically appear with the first mod to be added.

(Add After)

[code]'sitemap' => array($txt['sitemap']),


The first operation was successful but the second code, that is the one below was no where to be found in that same file (sources/managesettings.php)

// Note the comma!! The setting with automatically appear with the first mod to be added.

(Add After)

                  'sitemap' => array($txt['sitemap']),




1.    Adapt Database    add_settings.php    
*    2.    Execute Modification    ./index.php    Test successful
      1.    Add Before    ./index.php    Test successful
*    3.    Execute Modification    ./Sources/Admin.php    Test successful
      1.    Add After    ./Sources/Admin.php    Test successful
*    4.    Execute Modification    ./Sources/ManageSettings.php    Test failed
      1.    Add After    ./Sources/ManageSettings.php    Test successful
      2.    Add After    ./Sources/ManageSettings.php    Test failed
      3.    Add Before    ./Sources/ManageSettings.php    Test successful
*    5.    Execute Modification    ./Themes/default/index.template.php    Test successful
      1.    Add After    ./Themes/default/index.template.php    Test successful
*    6.    Execute Modification    ./Themes/default/languages/Help.english.php    Test successful
      1.    Add Before    ./Themes/default/languages/Help.english.php    Test successful
*    7.    Execute Modification    ./Themes/default/languages/Modifications.english.php    Test successful
      1.    Add Before    ./Themes/default/languages/Modifications.english.php    Test successful
*    8.    Execute Modification    ./Themes/default/languages/Who.english.php    Test successful
      1.    Add Before    ./Themes/default/languages/Who.english.php    Test successful
   9.    Extract File    ./Sources/Sitemap.php    
   10.    Extract File    ./Themes/default/Sitemap.template.php    
   11.    Extract Tree    ./Sources/Sitemap-Ext    

Insta
Title: Re: SMF Sitemap Needs Assistance Please
Post by: MyInfoStride on Aug 19, 2011, 06:46 PM
That failed code should be $sourcedir/Admin.php.

Check and feed me back!
Title: Re: SMF Sitemap Needs Assistance Please
Post by: wealth on Aug 19, 2011, 07:48 PM
Sorry man, I just did a mysite.com/index.php?action=sitemap but it was working, but no button or sitemap link at forum footer, hope it does't matter?. Thanks so much
Title: Re: SMF Sitemap Needs Assistance Please
Post by: MyInfoStride on Aug 20, 2011, 04:11 AM
Quote from: wealth on Aug 19, 2011, 07:48 PM
Sorry man, I just did a mysite.com/index.php?action=sitemap but it was working, but no button or sitemap link at forum footer, hope it does't matter?. Thanks so much

Not really but it will be nice to have it there. Check the Sitemap settings in the admin area (configurations ---> modification settings ---> sitemap).
Title: Re: SMF Sitemap Needs Assistance Please
Post by: wealth on Aug 20, 2011, 05:16 PM
I have done all that severally. I think the problem is likely cause by an upgrade error to 2.0. I remember a day I click a topic on the forum and an error page appeared like this

Your forum is currently at 2.0 but your database is on smf 2.0 RC5. This problem can be solve by upgrading the forum install.php or upgrade.php.

I neglected this issue then but now the trouble is revealing itself gradually. I also noticed too my TOPIC TAG doesn't display anymore in display index as we have it here on theinfostrides but the button is right there at the main menu. Now clicking that button display  topics that has been tagged.
Title: Re: SMF Sitemap Needs Assistance Please
Post by: MyInfoStride on Aug 20, 2011, 05:42 PM
This is not sitemap related issue. Please open a new topic for it. So that we can logically work through it.