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 374 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.
14 Responses to “phpLD v3.3 Deep Links Mod - Easy 1 step install”
Leave a Reply
You must be logged in to post a comment.


February 11th, 2008 at 4:26 pm
[...] can be achieved by either a paid mod ($100.00 comes with full installation and support by Rob) or free deeplinks mod for phpLD v3.3 by [...]
February 18th, 2008 at 4:07 am
i have a problem with the mod. I was installed the “FRESH” version, and it’s OK all. Perfect. The featured+ and regular+. Well, but, when i’m installing other mods, if anyone fails, and i erase it and restore the directory without touch any other code that the fail mod, when i go to my site, i can’t see the featured+ and regular+ links any more. Don’t care what i do. I go to the template again and review it, all ok, i upload it again, ok, and i review the site again, but i can’t see the featured+ and regular+ links, only the normal version. I don’t want to make any other fresh installation, i’m tired. Exist some method for fix this or make the “fresh (damn) installation” manually? for not reinstall all the directory again? thank you. fast response is apreciated ^^.
February 18th, 2008 at 9:56 am
If you don’t restore all the files of the mod than of course you won’t get it to work. You can do this manually by comparing the original files to the files of the mod.
February 18th, 2008 at 3:34 pm
i said i was do it. Comparing all the files, reuploading all the files, the theme is ok, the php files is ok, the tlp files is ok, and others is ok, but for any reason, the mod not work. This happen me twice, can be this a bug? i don’t know, but occurs frecuently. Thank you by response.
February 18th, 2008 at 3:48 pm
This is not a bug as installing it from scratch causes no problem. Your problems are caused by other mods if I understood right. Either reupload all the files and run the install the script or, you probably modified the database and lost the fields required for the deep links, (TITLE1, URL1, …). Check in phpmyadmin if they are there in the PLD_LINK table, if not the run these sql queries
ALTER TABLE `PLD_LINK` ADD `TITLE1` TEXT NULL ;
ALTER TABLE `PLD_LINK` ADD `TITLE2` TEXT NULL ;
ALTER TABLE `PLD_LINK` ADD `TITLE3` TEXT NULL ;
ALTER TABLE `PLD_LINK` ADD `TITLE4` TEXT NULL ;
ALTER TABLE `PLD_LINK` ADD `TITLE5` TEXT NULL ;
ALTER TABLE `PLD_LINK` ADD `URL1` TEXT NULL ;
ALTER TABLE `PLD_LINK` ADD `URL2` TEXT NULL ;
ALTER TABLE `PLD_LINK` ADD `URL3` TEXT NULL ;
ALTER TABLE `PLD_LINK` ADD `URL4` TEXT NULL ;
ALTER TABLE `PLD_LINK` ADD `URL5` TEXT NULL ;
Again, reuploading the files and rerunning the install script (/install/index.php) should do it. Then you can check the other mods to see what causes the problems.
February 21st, 2008 at 8:28 am
Admin can you install it for me i have phpLD V3.3 WITH phpLD-Expansion-Pack SO I CAN`T replace the files, i can pay 1$ via E-Gold to do that i try it but it`s not working, and i NEED it so much.
BTW my directory is so new.
Thanks
February 23rd, 2008 at 10:04 am
Thank you for the great mod :), but i have a problem with 3 files
i edited this files “conf_options.php, dir_approve_links.php, tables.php, constants.php, detail.php” and all template files but
i still can`t modify this 3 files “payment.php, submit.php, and constants.php” i don`t now what i have to edit.
PLEASE HELP!
Thanks.
February 23rd, 2008 at 10:11 am
And functions.php not constants.php
“payment.php, submit.php, and functions.php”
Sorry.
February 23rd, 2008 at 2:07 pm
You can use file comparison software like “Beyond Compare” to know exactly what should be modified.
February 23rd, 2008 at 9:56 pm
Woo thank you for the program it`s really useful…
Will i think that i have one problem now, i can`t see the featured links price! i do`t know what is the problem, i try it 4 times but i still get this problem.
Take a look at it http://img187.imageshack.us/img187/4006/featuredpricevt7.jpg
Any suggestions
Thanks.
February 24th, 2008 at 1:29 am
Did you enable featured listings and set their prices in the admin panel?
February 24th, 2008 at 12:04 pm
NO, I set the prices without enable featured listings, Thank you for your help.
I got the mod work now with phpld-expansion3.3.
Best Regards.
April 13th, 2008 at 1:52 pm
[...] page to offer for the paid listings. If you do go with phpld, you might want to bookmark this page rakCha resources Blog Archive phpLD v3.3 Deep Links Mod - Easy 1 step install It shows how to add the ability to offer more then one link for submissions. cheers [...]
April 24th, 2008 at 5:18 pm
Another way to fresh install of this mode if you have installed other modes also
Use “Beyond Compare” and modifiy your files as per requirement
Run the following Query in your SQL database
ALTER TABLE `PLD_LINK` ADD `TITLE1` VARCHAR( 255 ) NULL ;
ALTER TABLE `PLD_LINK` ADD `URL1` VARCHAR( 255 ) NULL ;
ALTER TABLE `PLD_LINK` ADD `TITLE2` VARCHAR( 255 ) NULL ;
ALTER TABLE `PLD_LINK` ADD `URL2` VARCHAR( 255 ) NULL ;
ALTER TABLE `PLD_LINK` ADD `TITLE3` VARCHAR( 255 ) NULL ;
ALTER TABLE `PLD_LINK` ADD `URL3` VARCHAR( 255 ) NULL ;
ALTER TABLE `PLD_LINK` ADD `TITLE4` VARCHAR( 255 ) NULL ;
ALTER TABLE `PLD_LINK` ADD `URL4` VARCHAR( 255 ) NULL ;
ALTER TABLE `PLD_LINK` ADD `TITLE5` VARCHAR( 255 ) NULL ;
ALTER TABLE `PLD_LINK` ADD `URL5` VARCHAR( 255 ) NULL ;
INSERT INTO `PLD_CONFIG` (`ID`, `VALUE`) VALUES (’PAY_UMFP’, ‘0′);
INSERT INTO `PLD_CONFIG` (`ID`, `VALUE`) VALUES (’PAY_UMNP’, ‘0′);
INSERT INTO `PLD_CONFIG` (`ID`, `VALUE`) VALUES (’PAY_NORMAL_ADV’, ‘0′);
INSERT INTO `PLD_CONFIG` (`ID`, `VALUE`) VALUES (’PAY_FEATURED_ADV’, ‘0′);
and your DeepLink mode is working( dont forget to set price )
I have tested this without reinstalling whole script, and its working fine to me.