OpenLD 1.1.3 Released

Discussion in 'Directories' started by latehorn, Jan 25, 2007.

  1. #1
    Changes from 1.1.2 to 1.1.3
    *Much smaller css files(Nearly 1000 codelines less totally)
    *More readable html files in the default theme(hopefully)
    *New option: Paypal account. You can now set two Paypal accounts(one for paid links and one for sponsor links) that differs from your admin email.
    *Fixing a few sponsor-field bugs. You can now see edit/delete/move links for sponsored links in the admin panel.
    *A few IE related bugs have been fixed
    *Fixed an old variable overwriting bug in links.php
    *Fixed abillity to change maximum and minimum link descriptions in Admin -> Options
    *Fixed reciprocal error that occured when you submitted regular links while reciprocal links was disabled.
    *Fixing a language bug in admin_information.php
    *A css class for sponsored links
    *New feature: Template hooks.. with template hooks, a third party theme will avoid conflicts with extensions, as long as the extensions use them.
    __________________

    There's no upgrade package from 1.1.2, since there's too much changes. To upgrade, you need to:

    1. Overwrite your old script with the new one,
    2. Make a file called upgrade.php, put in this content
    <?
    define("OPENLD_ROOT", "./");
    require OPENLD_ROOT. 'header.php';
    
    $db->query('INSERT INTO '. $db->prefix. 'settings (title, value) VALUES ("paid_account_option", "' .$settings['email']. '")') or error('', __FILE__, __LINE__, $db->error());
    $db->query('INSERT INTO '. $db->prefix. 'settings (title, value) VALUES ("sponsor_account_option", "' .$settings['email']. '")') or error('', __FILE__, __LINE__, $db->error());
    generate_settings_cache();
    ?>
    Code (markup):
    3. Save the file and upload it to your script folder
    4. Run it once, not more.. It will display a blank white page if it succeeds, otherwise, it will display errors.
    __________________

    Download
     
    latehorn, Jan 25, 2007 IP
  2. latehorn

    latehorn Guest

    Messages:
    4,676
    Likes Received:
    238
    Best Answers:
    0
    Trophy Points:
    0
    #2
    latehorn, Jan 26, 2007 IP