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

Sabre™

Hi mate.
I've started building a site, and have started taking note of the xhtml check.
I've just installed this mod, and Im getting xhtml errors.
There are 3 which I and a staff member here, are trying to discover the root of, and you can see these when you validate the home page. (note; these 3 only occur when validating via the link)

When I go to the sitemap and click validate, I end up with 31 more.
Im new to xhtml validation, so could you come and see whats going on?
The site is [HERE]

Thank You for any assistance :)
Do NOT give admin and/or ftp details to just anybody, see if they are trust worthy first!!  Do your homework ;)


SlammedDime

Those error at the least are starting on your page before the sitemap is even visible.  You'd be better off posting your question in the Graphics and Templates board.  I'll take a look at the XHTML of the sitemap for the next release when 2.0 hit's RC.  I'll be redoing the layout a bit and will take this into consideration.
SlammedDime
Former Lead Customizer
BitBucket Projects
GeekStorage.com Hosting
                      My Mods
SimpleSEF
Ajax Quick Reply
Sitemap
more...
                     

Sabre™

Ahhh...
So the 3 that are being discussed [HERE], are contributing to the rest displayed when on the Sitemap page?
Ok..  I'll wait until those 3 are sorted, before I post in the graphics board.

I wonder why it is only affecting that section ?? ??

Thanks mate, look forward to the next release also :)
Do NOT give admin and/or ftp details to just anybody, see if they are trust worthy first!!  Do your homework ;)


assam_siddibapa

Quote from: SlammedDime on November 10, 2008, 03:35:22 PM
Those have nothing to do with this mod.

you are right .... but the link is from the site map so ... i think so its because of this mod

SlammedDime

Quote from: assam_siddibapa on November 11, 2008, 03:04:26 AM
Quote from: SlammedDime on November 10, 2008, 03:35:22 PM
Those have nothing to do with this mod.

you are right .... but the link is from the site map so ... i think so its because of this mod
Quote from: assam_siddibapa on November 10, 2008, 01:15:09 PM
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
Those all say BoardIndex... they are not from this mod.  This mod does not modify BoardIndex.  The only template file it modifies is index.template.php, and it has it's own template, Sitemap.template.php
SlammedDime
Former Lead Customizer
BitBucket Projects
GeekStorage.com Hosting
                      My Mods
SimpleSEF
Ajax Quick Reply
Sitemap
more...
                     

assam_siddibapa

The whole error msg looks like this

Apply Filter: Only show the error messages of this member  Guest       Today at 18:40:18
Apply Filter: Only show the error messages of this IP address 66.249.71.204      Apply Filter: Only show the error messages of this session 577176c827381f2c20b5ea4177a0ce7a
Apply Filter: Only show the error messages of this URL http://www.*****.com/forum/index.php?action=sitemap;xml
Apply Filter: Only show the errors with the same message
8: Undefined index: board_by
File: /home/legenda1/public_html/forum/Themes/Warzone/BoardIndex.template.php (main sub template - eval?)
Line: 191

SlammedDime

I can't do much since you blocked your URL out... I kinda need to see what is going on first hand.  All I can think of is that the xml sitemap is not loading, or rather, the action is not being parsed, so it's being redirected to BoardIndex.  Have you upgraded SMF recently (like from 1.1.6 to 1.1.7?).  If so, how?  Did you do the simple update via package manager?  Upload new files?

You can open up index.php and search for 'sitemap' => array.  If that string is not found, the mod is not installed properly.  But those errors are not from this mod.
SlammedDime
Former Lead Customizer
BitBucket Projects
GeekStorage.com Hosting
                      My Mods
SimpleSEF
Ajax Quick Reply
Sitemap
more...
                     


Sabre™

I like how your board displays its child boards.
Did you design that theme?  I was looking for a link to the author etc so I could look at the code.
Do NOT give admin and/or ftp details to just anybody, see if they are trust worthy first!!  Do your homework ;)


SlammedDime

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

Sabre™

I just clicked that link, and its still there/back up.
Do NOT give admin and/or ftp details to just anybody, see if they are trust worthy first!!  Do your homework ;)


SlammedDime

Yea, you don't have the sitemap mod installed... maybe you used to, but it's not there anymore
SlammedDime
Former Lead Customizer
BitBucket Projects
GeekStorage.com Hosting
                      My Mods
SimpleSEF
Ajax Quick Reply
Sitemap
more...
                     

assam_siddibapa

i have it installed ... just the link is there on the default

Sabre™

Quote from: Sabre™ on November 11, 2008, 04:41:03 PM
I like how your board displays its child boards.
Did you design that theme?  I was looking for a link to the author etc so I could look at the code.

Thanks for putting the authors link back up :)
The warzone theme huh. nice.
Do NOT give admin and/or ftp details to just anybody, see if they are trust worthy first!!  Do your homework ;)


sombra

#594
well i was told to come here im a total newbie hehehe can someone tell my basikly whats this mod word and how can it help me?

2)im using smf 2.04 theme darkbreak do i need to make any manual modifications it will work on my vercion?

3)if i install the mod how do i know its working fine? with out error


sorry for my spelling english is not my native langeage them important thing is that im trying :P


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.

As for knowing if it's working right... visit the sitemap... simple as that.  Check the XML link to make sure no errors appear on the screen.
SlammedDime
Former Lead Customizer
BitBucket Projects
GeekStorage.com Hosting
                      My Mods
SimpleSEF
Ajax Quick Reply
Sitemap
more...
                     

sombra

An Error Has Occurred!
You cannot download or install new packages because the Packages directory or one of the files in it are not writable!

strange i had installed other mods with no problem what can it be?

sombra

can someone tell me whats directoris i can look for and what permision they need to have?

i dont want to do it manual last time i tried that end up deleting all the web it was a mess :-[ i have mi page running im scared to make somthing wrong and loose everithing

Sabre™

Quote from: sombra on November 18, 2008, 01:16:40 PM
An Error Has Occurred!
You cannot download or install new packages because the Packages directory or one of the files in it are not writable!

Try chmod that, and your temp directory to 777.
If this didn't alter the db, I'd do the manual install for you, but I leave that sort of assistance to staff here, as you cannot/shouldnt give access to that area freely!   understand?

Sorry I couldn't be of more assistance

Good luck :)
Do NOT give admin and/or ftp details to just anybody, see if they are trust worthy first!!  Do your homework ;)


sombra

mmm thinking i had always had problems after installing the portal in my forum

so i fixt it manually by adding a temp folder and cmod it to 777

and adding the no temp mod

now.. my problem is another it says

Error in Package Installation
At least one error was encountered during a test installation of this package. It is strongly recommended that you do not continue with installation unless you know what you are doing, and have made a backup very recently. This error may be caused by a conflict between the package you're trying to install and another package you have already installed, an error in the package, a package which requires another package that you don't have installed yet, or a package designed for another version of SMF.

the only thing i see wrong in the installation is this

Installations actions for "SMF Sitemap":
Installing this package will perform the following actions:
      Type    Action    Description
   1.    Execute Code    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 successful
      1.    Add After    ./Sources/ManageSettings.php    Test successful
      2.    Add After    ./Sources/ManageSettings.php    Test successful
      3.    Add Before    ./Sources/ManageSettings.php    Test successful
*    5.    Execute Modification    ./Themes/default/index.template.php    Test failed
      1.    Add Before    ./Themes/default/index.template.php    Test failed
*    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.    Execute Modification    ./Themes/default/style.css    Test successful
      1.    Add Before    ./Themes/default/style.css    Test successful
   10.    Execute Modification    ./Themes/default/languages/Help.french.php    Skipping file
   11.    Execute Modification    ./Themes/default/languages/Modifications.french.php    Skipping file
   12.    Execute Modification    ./Themes/default/languages/Who.french.php    Skipping file
   13.    Extract File    ./Sources/Sitemap.php    
   14.    Extract File    ./Themes/default/Sitemap.template.php    
Install in Other Themes
To use this modification in themes other than the default, the package manager needs to make additional changes to the other themes. If you'd like to install this modification in the other themes, please select these themes below.
      Classic YaBB SE Theme
      Execute Modification    ./Themes/classic/index.template.php    Test failed
      1.    Add Before    ./Themes/classic/index.template.php    Test failed
      Execute Modification    ./Themes/classic/style.css    Test successful
      1.    Add Before    ./Themes/classic/style.css    Test successful
      Babylon Theme
      Execute Modification    ./Themes/babylon/index.template.php    Test successful
      1.    Add Before    ./Themes/babylon/index.template.php    Test successful
      Execute Modification    ./Themes/babylon/style.css    Test successful
      1.    Add Before    ./Themes/babylon/style.css    Test successful
      Darkbreak
      Execute Modification    ./Themes/darkbreak_20b4/index.template.php    Test failed
      1.    Add Before    ./Themes/darkbreak_20b4/index.template.php    Test failed
      Execute Modification    ./Themes/darkbreak_20b4/style.css    Test successful
      1.    Add Before    ./Themes/darkbreak_20b4/style.css    Test successful


what can you reccomend me?   im using darkbreak theme

Advertisement: