Land Down Under v602
Website engine - Copyright (C) 2003 Neocrome - www.neocrome.net - 2003-nov-30
Readme-upgrade-600-602-htm
How to upgrade Land Down Under from versions 600 or 601 to version 602.
Upgrades from older versions arn't covered by this document.
  • 1 - MySQL database upgrade
     
    A full backup of the database is highly recommended just before the upgrade !
    Then run /docs/ldu-upgrade-600-to-602.sql with phpMyAdmin to update the database to the very latest version.
     

  • 2 - Paths and folders
     
    Create a new folder /plugins/output/
    Create a new folder /plugins/users/
     
    Then upload those 2 files :
     
    /plugins/users/default_plugins.users.php
    /plugins/index/default_plugins.index.php
     

  • 3 - Main files
     
    Replace all system files :
     
    You do NOT need to upload a new skin, your "old" one will still work fine.
    You do NOT need to replace files in /datas/, apart if asked later in this manual.
    You do NOT need to replace the images in the /system/img/ folder, no changes.
     
    /*.php (all files in the root)
    /system/*.*
    /system/lang/*.*
    /plugins/*.* (and all sub-folders)
     

  • 4 - Skins part I (REQUIRED)
     
    *** In your CSS file (/skins/*/*.css), add those lines :
     
    img { border-width: 0; }
    .code { font-size: 10px; color: #FFF9B7; background-color: #333333; font-family: verdana;}
     
    *** In header.tpl, replace the whole 2nd line <!DOCTYPE.... > by {HEADER_DOCTYPE}
     
    So it MUST look like this :
     
    <!-- BEGIN: HEADER -->
    {HEADER_DOCTYPE}
    <html>
    <head>
    ...

     
    *** Still in index.tpl, replace all occurence of :
     
    {NEWS_LATESTPAGES} by {PLUGIN_LATESTPAGES}
    {NEWS_LATESTLINKS} by {PLUGIN_LATESTLINKS}
    {NEWS_LATESTTOPICS} by {PLUGIN_LATESTTOPICS}
    {NEWS_LATESTCOMMENTS} by {PLUGIN_LATESTCOMMENTS}
    {NEWS_LATESTPOLL} by {PLUGIN_LATESTPOLL}
    {NEWS_INCOMINGEVENTS} by {PLUGIN_INCOMINGEVENTS}
    {NEWS_OLDEVENTS} by PLUGIN_OLDEVENTS}
    {NEWS_JRNLATESTPAGES} by {PLUGIN_JRNLATESTPAGES}
     
    *** In index.tpl, replace :
     
    <a name=#{NEWS_ROW_ID}></a> by <a id="n{NEWS_ROW_ID}" name="n{NEWS_ROW_ID}"></a>
     
    <a name=#{NEWS_HEADLINES_ROW_ID}></a> by <a id="n{NEWS_HEADLINES_ROW_ID}" name="n{NEWS_HEADLINES_ROW_ID}"></a>
     
    *** Now pages (page.php) can be Default, HTML, or PHP :
     
    Type = Default > BBcode + smilies, if enabled. So same as before.
    Type = HTML > No BBcode, no smilies, never, and HTML code fully parsed.
    Type = PHP > The body of the page is considered as PHP code and executed (might be dangerous, when user submits pages, so the type setting is defaulted to 0 when submitting, and can be changed only later by editing the page.
     
    In page.edit.tpl, add a block with the tag : {PAGEEDIT_FORM_TYPE}
    This is optional, if you don't put the tag {PAGEEDIT_FORM_TYPE}, pages will still work as previously.
     
    But if you were using bodies of pages stored in flat flies in /datas/content/text/, then you must copy/paste the HTML from there into the body of page, and set the parsing type to "HTML". Because LDU won't try anymore to load those files. Once done, delete the folder /datas/content/text/
     

  • 5 - Skins part II (OPTIONAL)
     
    In header.tpl, replace : {HEADER_WHOSONLINE} by <span class="text1h"><a href="plug.php?p=whosonline">{HEADER_WHOSONLINE}<</span>
     
    New tag in forums.sections.tpl : {FORUMS_SECTIONS_ROW_ACTIVITY}.
    It displays a raw overview of the posting activity in forum sections during the past week.
    Require the following files in /skins/*/img/system/ :
     
    activity0.gif
    activity1.gif
    activity2.gif
    activity3.gif
    activity4.gif
    activity5.gif
     
    *** There's new tags, counters for items in sub-categories (links and pages) :
     
    {LIST_ROWCAT_COUNT} in list.group.tpl, list.group.*.tpl and list.tpl
    {LINKS_ROWCAT_COUNT} in links.group.tpl, links.group.*.tpl and links.tpl
     
    See the 2 official skins for samples.
     
    *** New tag in forums.sections.tpl, to display how much time ago the last message was posted.
     
    Right after {FORUMS_SECTIONS_ROW_LASTPOSTDATE}, add : <br />({FORUMS_SECTIONS_ROW_TIMEAGO} ago)
     

  • 6 - Language packs
     
    There's only few new words in /system/lang/uk/main.lang.php, so if you're not using the default english, you may keep your "old" v600/601 language pack, chances are high that new words in v602 won't concern you...
     

  • Links :
     
    - Online manual, general configuration, FAQ, articles, etc.
    - LDU forums, to meet other LDU webmasters, and technical support.
    - Licence and services, to order specific LDU services and support Neocrome.Net
  •