This mod is to add deep links for phplb based directories. If you are looking for the deep links mod for phpld use these tutorials:
phpld Contextual deeplinks
phpld deeplinks

phplb Deep Links:

1. create a file phplb_deeplinks.sql with the content:

ALTER TABLE `tbl_links` ADD `link_deep_url1` varchar(255) NULL;
ALTER TABLE `tbl_links` ADD `link_deep_url2` varchar(255) NULL;
ALTER TABLE `tbl_links` ADD `link_deep_url3` varchar(255) NULL;
ALTER TABLE `tbl_links` ADD `link_deep_title1` varchar(255) NULL;
ALTER TABLE `tbl_links` ADD `link_deep_title2` varchar(255) NULL;
ALTER TABLE `tbl_links` ADD `link_deep_title3` varchar(255) NULL;

Import this file in phpMyadmin to update the tbl_links structure.

2. Open link.tpl of your template

FIND:

<div class="link-date">
    <div class="als-bid">${bid_amount}.00</div>
    <br clear="all" />
    </div>

AFTER it, ADD

<div class="link-date"><b>Quick Links</b>
<a href="{link_deep_url1}">{link_deep_title1}</a>
<a href="{link_deep_url2}">{link_deep_title2}</a>
<a href="{link_deep_url3}">{link_deep_title3}</a>
</div>

3. open buy.php
FIND:

$kForm->addText('Description Line 2', 'link_desc2', '',
$cfg->getVar('link_desc_max'), $cfg->getVar('link_desc_max'),
'onKeyUp="lpUpdate();"');

AFTER it, ADD

$kForm->addText('Title 1', 'link_deep_title1', '', 50, 255);
$kForm->addText('Deep Link 1', 'link_deep_url1', 'http://', 50, 255);
$kForm->addText('Title 2', 'link_deep_title2', '', 50, 255);
$kForm->addText('Deep Link 2', 'link_deep_url2', 'http://', 50, 255);
$kForm->addText('Title 3', 'link_deep_title3', '', 50, 255);
$kForm->addText('Deep Link 3', 'link_deep_url3', 'http://', 50, 255);

4. in the same file buy.php
FIND:

$kForm->addRule('link_bid', 'bid');

AFTER it, ADD

$kForm->addRule('link_deep_title1', 'title');
$kForm->addRule('link_deep_title2', 'title');
$kForm->addRule('link_deep_title3', 'title');
$kForm->addRule('link_deep_url1', 'url');
$kForm->addRule('link_deep_url2', 'url');
$kForm->addRule('link_deep_url3', 'url');

5. Finally to edit the deep links from the admin panel, open admin/links.php
FIND:

$kForm->addText('Description Line 2', 'link_desc2', '', 50, 50);

AFTER it, ADD

$kForm->addText('Title 1', 'link_deep_title1', '', 50, 255);
$kForm->addText('Deep Link 1', 'link_deep_url1', '', 50, 255);
$kForm->addText('Title 2', 'link_deep_title2', '', 50, 255);
$kForm->addText('Deep Link 2', 'link_deep_url2', '', 50, 255);
$kForm->addText('Title 3', 'link_deep_title3', '', 50, 255);
$kForm->addText('Deep Link 3', 'link_deep_url3', '', 50, 255);

Done!

If you liked this MOD, and want to show your appreciation, you can link back to
rakCha : http://www.rakcha.com
or
enQuira : http://www.enquira.com