February 11th, 2008phpLD v3.3 Deep Links Mod - Easy 1 step install
This is the deep links mod for phpld 3.3.
The changes needed for the template files are applied to the default template “Professional”. If you use another template you will have to modify your template files (submit.tpl, detail.tpl and header.tpl).
UPGRADE: If you have already installed the mod for 3.2 all you have to do is overwrite the files and apply the required modifications for your template files.
FRESH INSTALL: you need to upload and overwrite the files in the package and then rerun the install script for the directory (/install/index.php, if already deleted, reupload it again and then delete it after installation). Don’t forget to apply the required changes to your template files.
Downloaded a total of 2757 times
If you prefer not to rerun the phpld install script, you can create a php file in the admin folder with the following lines:
<?php
require_once 'init.php';
$db->Execute("ALTER TABLE `PLD_LINK` ADD `TITLE1` VARCHAR( 255 ) NULL ;");
$db->Execute("ALTER TABLE `PLD_LINK` ADD `TITLE2` VARCHAR( 255 ) NULL ;");
$db->Execute("ALTER TABLE `PLD_LINK` ADD `TITLE3` VARCHAR( 255 ) NULL ;");
$db->Execute("ALTER TABLE `PLD_LINK` ADD `TITLE4` VARCHAR( 255 ) NULL ;");
$db->Execute("ALTER TABLE `PLD_LINK` ADD `TITLE5` VARCHAR( 255 ) NULL ;");
$db->Execute("ALTER TABLE `PLD_LINK` ADD `URL1` VARCHAR( 255 ) NULL ;");
$db->Execute("ALTER TABLE `PLD_LINK` ADD `URL2` VARCHAR( 255 ) NULL ;");
$db->Execute("ALTER TABLE `PLD_LINK` ADD `URL3` VARCHAR( 255 ) NULL ;");
$db->Execute("ALTER TABLE `PLD_LINK` ADD `URL4` VARCHAR( 255 ) NULL ;");
$db->Execute("ALTER TABLE `PLD_LINK` ADD `URL5` VARCHAR( 255 ) NULL ;");
echo "done";
?>
save it as db_deeplinks.php in /admin/ and open it in your browser http://www.yourdirectory/admin/db_deeplinks.php
This will add the required fields to the database.
