<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	>

<channel>
	<title>php Link Directory Mods</title>
	<atom:link href="http://phplinkdirectorymods.com/blog/feed" rel="self" type="application/rss+xml" />
	<link>http://phplinkdirectorymods.com/blog</link>
	<description>phpLD Web Directories and Link Submissions</description>
	<pubDate>Tue, 28 Apr 2009 02:58:35 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.7.1</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Rss feed error in v3.4</title>
		<link>http://phplinkdirectorymods.com/blog/code-fixes-for-phpld/rss-feed-error-in-v34</link>
		<comments>http://phplinkdirectorymods.com/blog/code-fixes-for-phpld/rss-feed-error-in-v34#comments</comments>
		<pubDate>Thu, 23 Apr 2009 04:38:05 +0000</pubDate>
		<dc:creator>admin</dc:creator>
		
		<category><![CDATA[phpLD Important Fixes]]></category>

		<category><![CDATA[rss feed error v3.4]]></category>

		<category><![CDATA[rss link error]]></category>

		<guid isPermaLink="false">http://phplinkdirectorymods.com/blog/?p=8</guid>
		<description><![CDATA[There was a minor error in a release of version phpLD v3.4 in the rss.php file.
In the 3.3 version in the rss.php file about on line 164 it  showed:
$tpl-&#62;assign(&#8217;url&#8217;,  htmlspecialchars(&#8217;http://&#8217;.$_SERVER['SERVER_NAME'].DOC_ROOT.&#8217;/&#8217;.$url));
In one release of phpLD v3.4 it shows:
$tpl-&#62;assign(&#8217;url&#8217;,  htmlspecialchars(&#8217;http://&#8217;.$_SERVER['SERVER_NAME'].DOC_ROOT.$url));
Replacing  the: &#8216;/&#8217;. in the code seems to generate the correct link now so [...]]]></description>
			<content:encoded><![CDATA[<p>There was a minor error in a release of version phpLD v3.4 in the rss.php file.</p>
<p>In the 3.3 version in the rss.php file about on line 164 it  showed:<br />
$tpl-&gt;assign(&#8217;url&#8217;,  htmlspecialchars(&#8217;http://&#8217;.$_SERVER['SERVER_NAME'].DOC_ROOT.&#8217;/&#8217;.$url));</p>
<p>In one release of phpLD v3.4 it shows:<br />
$tpl-&gt;assign(&#8217;url&#8217;,  htmlspecialchars(&#8217;http://&#8217;.$_SERVER['SERVER_NAME'].DOC_ROOT.$url));</p>
<p>Replacing  the: &#8216;/&#8217;. in the code seems to generate the correct link now so you may want to  double check your file if you are having rss feed problems in generating the correct link.</p>
<p>This was reported on 4-17-2009 so future downloads should have this issue addressed.</p>
<p>To check this on your directory go to any page that has an rss feed and click on the feed link and view the feed. Then click on the top link that is suppose to go back to your directory in the category that the feed was from. If you get a 404 page then your rss.php file is not correct and you should check for this issue. If it works fine then you should be all set.</p>
<p>It is highly advised that if you are using rss that you check this at once due to the fact that if your feed is not working correctly, it will be sending 404 pages to the search engines for all your feed pages.</p>
<p>This issue has been fully addressed by James at phpLD and the discussion can be found here: <a href="http://www.phplinkdirectory.com/forum/showthread.php?t=29993">http://www.phplinkdirectory.com/forum/showthread.php?t=29993</a></p>
<p>A download of affected files replacement can be accessed here:</p>
<p><a href="http://www.phplinkdirectory.com/forum/attachment.php?attachmentid=518&amp;d=1240587470">http://www.phplinkdirectory.com/forum/attachment.php?attachmentid=518&amp;d=1240587470</a></p>
<p><strong>NOTE: </strong>You will need to be logged in to the phpLD forum to access the discussion and file download.</p>
<p>If you are using rss feeds on your site and your phpLD version is 3.4 it is advised that you check this issue at once and update if needed.</p>
]]></content:encoded>
			<wfw:commentRss>http://phplinkdirectorymods.com/blog/code-fixes-for-phpld/rss-feed-error-in-v34/feed</wfw:commentRss>
		</item>
		<item>
		<title>Automatic Time Stamping for Link Expiration Dates in phpLD</title>
		<link>http://phplinkdirectorymods.com/blog/code-fixes-for-phpld/phpld-automatic-expiry-date-time-stamping</link>
		<comments>http://phplinkdirectorymods.com/blog/code-fixes-for-phpld/phpld-automatic-expiry-date-time-stamping#comments</comments>
		<pubDate>Wed, 27 Feb 2008 14:25:31 +0000</pubDate>
		<dc:creator>admin</dc:creator>
		
		<category><![CDATA[phpLD Code Additions]]></category>

		<category><![CDATA[phpLD Important Fixes]]></category>

		<category><![CDATA[link expiration]]></category>

		<category><![CDATA[phpLD Mods]]></category>

		<guid isPermaLink="false">http://phplinkdirectorymods.com/blog/2008/02/27/phpld-automatic-expiry-date-time-stamping.html</guid>
		<description><![CDATA[In the phpLD directory script you have the ability to add links for defined time periods. They can be set standard in the administration panel as unlimited in which the link is permanent and never expires and also for selectable time periods of 30 days, 90 days, 180 days and 1 year. Upon expiration the [...]]]></description>
			<content:encoded><![CDATA[<p><span style="font-size: 9pt; font-family: 'Arial','sans-serif';">In the phpLD directory script you have the ability to add links for defined time periods. They can be set standard in the administration panel as unlimited in which the link is permanent and never expires and also for selectable time periods of 30 days, 90 days, 180 days and 1 year. Upon expiration the links are set as inactive. </span></p>
<p><span style="font-size: 9pt; font-family: 'Arial','sans-serif';">With the standard setup of php Link Directory, the expiry date is not automatically set, so the site administrator has to manually add the link expiration date in the admin panel when approving the link submission. This can sometimes be forgotten or possibly done with an improper date.With the following expiry date code directory administrators can now automate the process and have the proper expiration date automatically set for them no matter what their link settings are. For instance if you are setting links for a period of 1 year then all links submitted will be stamped with an expiry date of 365 days. If your settings are for unlimited (permanent) links then there will be no expiration date stamped as the link will never expire.</span><br />
<span style="font-size: 9pt; font-family: 'Arial','sans-serif';">We have provided basic code and instructions for you below so it will be easy for you to modify your directory for the automatic time stamping of links that will automatically add the expiry date in your phpLD administration panel. </span><span id="more-7"></span><br />
<span style="font-size: 9pt; font-family: 'Arial','sans-serif';">In the version 3.2 we have added in a featured year setting to give you an example of how to modify the code for additional custom link types if you have any.</span><span style="font-size: 9pt; font-family: 'Arial','sans-serif';">Please make sure that you use the proper code for the version of phpLD that you are running. We have provided version 3.2 and then below that we provide the standard code for version 3.3. </span><span style="font-size: 9pt; font-family: 'Arial','sans-serif';">Feel free to use this code on any directories that you own. </span><span style="font-size: 9pt; font-family: 'Arial','sans-serif';">If you find the code useful to your directory then of course we would appreciate a link back to our site: <a href="http://phplinkdirectorymods.com/"><span style="color: #3e81b4;">http://phplinkdirectorymods.com</span></a> or if you like, any donations will be much appreciated and could be sent by PayPal and help with the further releasing of other helpful mods for the php Link Directory script.</span><span style="font-size: 9pt; font-family: 'Arial','sans-serif';"><br />
</span><span style="font-size: 9pt; font-family: 'Arial','sans-serif';">For donation information please visit our site and use the donation button on our home page. </span></p>
<p><span style="font-size: 9pt; font-family: 'Arial','sans-serif';"> <span style="font-size: 9pt; font-family: 'Arial','sans-serif';">Version 3.2 Expiry Date Automatic Time stamping Mod</span><span style="font-size: 9pt; font-family: 'Arial','sans-serif';"><br />
</span><span style="font-size: 9pt; font-family: 'Arial','sans-serif';">1.</span><span style="font-size: 7pt; font-family: 'Times New Roman','serif';">     </span><span style="font-size: 9pt; font-family: 'Arial','sans-serif';">Open your submit.php file.</span><span style="font-size: 9pt; font-family: 'Arial','sans-serif';"><br />
</span><span style="font-size: 9pt; font-family: 'Arial','sans-serif';">2.</span><span style="font-size: 7pt; font-family: 'Times New Roman','serif';">     </span><span style="font-size: 9pt; font-family: 'Arial','sans-serif';">Find the following:   </span><span style="font-size: 9pt; font-family: 'Arial','sans-serif';"><br />
</span><span style="font-size: 9pt; font-family: 'Arial','sans-serif';">$data['LAST_CHECKED']   = gmdate (’Y-m-d H:i:s’);  </span><span style="font-size: 9pt; font-family: 'Arial','sans-serif';"><br />
</span><span style="font-size: 9pt; font-family: 'Arial','sans-serif';">$data['DATE_ADDED']     = gmdate (’Y-m-d H:i:s’);  </span><span style="font-size: 9pt; font-family: 'Arial','sans-serif';"><br />
</span><span style="font-size: 9pt; font-family: 'Arial','sans-serif';">$data['DATE_MODIFIED']  = gmdate (’Y-m-d H:i:s’);</span><span style="font-size: 7pt; font-family: 'Times New Roman','serif';">    </span><span style="font-size: 7pt; font-family: 'Times New Roman','serif';"><br />
</span><span style="font-size: 9pt; font-family: 'Arial','sans-serif';">3. Below that - Add the following code below and save:  </span></span></p>
<p><span style="font-size: 9pt; font-family: 'Arial','sans-serif';">/////////BELOW LINES EXPIRY DATE STAMP by:<em> </em><a href="http://phplinkdirectorymods.com/"><span style="color: #3e81b4;">http://phplinkdirectorymods.com</span></a> </span></p>
<p><em><span style="font-size: 9pt; font-family: 'Arial','sans-serif';"><br />
</span></em><span style="font-size: 9pt; font-family: 'Arial','sans-serif';">if (PAY_ENABLE == ‘1′ &amp;&amp; FTR_ENABLE == 1 &amp;&amp; $_POST['LINK_TYPE'] == ‘featuredyear’)  </span><span style="font-size: 9pt; font-family: 'Arial','sans-serif';"><br />
</span><span style="font-size: 9pt; font-family: 'Arial','sans-serif';">{  </span><span style="font-size: 9pt; font-family: 'Arial','sans-serif';"><br />
</span><span style="font-size: 9pt; font-family: 'Arial','sans-serif';">$data['EXPIRY_DATE']  = date(”Y-m-d”,time()+31536000); </span><span style="font-size: 9pt; font-family: 'Arial','sans-serif';"><br />
</span><span style="font-size: 9pt; font-family: 'Arial','sans-serif';">} </span><span style="font-size: 9pt; font-family: 'Arial','sans-serif';"><br />
</span><span style="font-size: 9pt; font-family: 'Arial','sans-serif';">elseif (PAY_ENABLE == ‘1′ &amp;&amp; PAY_UM == ‘1′) </span><span style="font-size: 9pt; font-family: 'Arial','sans-serif';"><br />
</span><span style="font-size: 9pt; font-family: 'Arial','sans-serif';">{</span><span style="font-size: 9pt; font-family: 'Arial','sans-serif';"><br />
</span><span style="font-size: 9pt; font-family: 'Arial','sans-serif';">$data['EXPIRY_DATE']  = date(”Y-m-d”,time()+2592000); </span><span style="font-size: 9pt; font-family: 'Arial','sans-serif';"><br />
</span><span style="font-size: 9pt; font-family: 'Arial','sans-serif';">}</span><span style="font-size: 9pt; font-family: 'Arial','sans-serif';"><br />
</span><span style="font-size: 9pt; font-family: 'Arial','sans-serif';">elseif (PAY_ENABLE == ‘1′ &amp;&amp; PAY_UM == ‘2′)</span><span style="font-size: 9pt; font-family: 'Arial','sans-serif';"><br />
</span><span style="font-size: 9pt; font-family: 'Arial','sans-serif';">{</span><span style="font-size: 9pt; font-family: 'Arial','sans-serif';"><br />
</span><span style="font-size: 9pt; font-family: 'Arial','sans-serif';">$data['EXPIRY_DATE']  = date(”Y-m-d H:i:s”,time()+7776000); </span><span style="font-size: 9pt; font-family: 'Arial','sans-serif';"><br />
</span><span style="font-size: 9pt; font-family: 'Arial','sans-serif';">}</span><span style="font-size: 9pt; font-family: 'Arial','sans-serif';"><br />
</span><span style="font-size: 9pt; font-family: 'Arial','sans-serif';">elseif (PAY_ENABLE == ‘1′ &amp;&amp; PAY_UM == ‘3′)  </span><span style="font-size: 9pt; font-family: 'Arial','sans-serif';"><br />
</span><span style="font-size: 9pt; font-family: 'Arial','sans-serif';">{</span><span style="font-size: 9pt; font-family: 'Arial','sans-serif';"><br />
</span><span style="font-size: 9pt; font-family: 'Arial','sans-serif';">$data['EXPIRY_DATE']  = date(”Y-m-d”,time()+15552000); </span><span style="font-size: 9pt; font-family: 'Arial','sans-serif';"><br />
</span><span style="font-size: 9pt; font-family: 'Arial','sans-serif';">}</span><span style="font-size: 9pt; font-family: 'Arial','sans-serif';"><br />
</span><span style="font-size: 9pt; font-family: 'Arial','sans-serif';">elseif (PAY_ENABLE == ‘1′ &amp;&amp; PAY_UM == ‘4′)</span><span style="font-size: 9pt; font-family: 'Arial','sans-serif';"><br />
</span><span style="font-size: 9pt; font-family: 'Arial','sans-serif';">{</span><span style="font-size: 9pt; font-family: 'Arial','sans-serif';"><br />
</span><span style="font-size: 9pt; font-family: 'Arial','sans-serif';">$data['EXPIRY_DATE']  = date(”Y-m-d”,time()+31536000); </span><span style="font-size: 9pt; font-family: 'Arial','sans-serif';"><br />
</span><span style="font-size: 9pt; font-family: 'Arial','sans-serif';">}</span><span style="font-size: 9pt; font-family: 'Arial','sans-serif';"><br />
</span><span style="font-size: 9pt; font-family: 'Arial','sans-serif';">else   $data['EXPIRY_DATE']  = ‘NULL’;   </span></p>
<p> </p>
<p><span style="font-size: 9pt; font-family: 'Arial','sans-serif';">////////////END EXPIRY DATE TIMESTAMP for phpLD v3.2 </span></p>
<p><span style="font-size: 9pt; line-height: 115%; font-family: 'Arial','sans-serif';">Version 3.3 Expiry Date Automatic Time stamping Mod</span><span style="font-size: 9pt; line-height: 115%; font-family: 'Arial','sans-serif';"><br />
</span><span style="font-size: 9pt; line-height: 115%; font-family: 'Arial','sans-serif';">1.</span><span style="font-size: 7pt; line-height: 115%; font-family: 'Times New Roman','serif';">     </span><span style="font-size: 9pt; line-height: 115%; font-family: 'Arial','sans-serif';">Open your submit.php file.</span><span style="font-size: 9pt; line-height: 115%; font-family: 'Arial','sans-serif';"><br />
</span><span style="font-size: 9pt; line-height: 115%; font-family: 'Arial','sans-serif';">2.</span><span style="font-size: 7pt; line-height: 115%; font-family: 'Times New Roman','serif';">     </span><span style="font-size: 9pt; line-height: 115%; font-family: 'Arial','sans-serif';">Find the following:   </span><span style="font-size: 9pt; line-height: 115%; font-family: 'Arial','sans-serif';"><br />
</span><span style="font-size: 9pt; line-height: 115%; font-family: 'Arial','sans-serif';">$data['LAST_CHECKED']   = gmdate (’Y-m-d H:i:s’);  </span><span style="font-size: 9pt; line-height: 115%; font-family: 'Arial','sans-serif';"><br />
</span><span style="font-size: 9pt; line-height: 115%; font-family: 'Arial','sans-serif';">$data['DATE_ADDED']     = gmdate (’Y-m-d H:i:s’);  </span><span style="font-size: 9pt; line-height: 115%; font-family: 'Arial','sans-serif';"><br />
</span><span style="font-size: 9pt; line-height: 115%; font-family: 'Arial','sans-serif';">$data['DATE_MODIFIED']  = gmdate (’Y-m-d H:i:s’);</span><span style="font-size: 9pt; line-height: 115%; font-family: 'Arial','sans-serif';"><br />
</span><span style="font-size: 9pt; line-height: 115%; font-family: 'Arial','sans-serif';">3.</span><span style="font-size: 7pt; line-height: 115%; font-family: 'Times New Roman','serif';">     </span><span style="font-size: 9pt; line-height: 115%; font-family: 'Arial','sans-serif';">Below that - Add the following code below and save:</span><span style="font-size: 9pt; line-height: 115%; font-family: 'Arial','sans-serif';"> </span><span style="font-size: 9pt; line-height: 115%; font-family: 'Arial','sans-serif';"> </span></p>
<p> </p>
<p><span style="font-size: 9pt; line-height: 115%; font-family: 'Arial','sans-serif';"><span style="font-size: 9pt; line-height: 115%; font-family: 'Arial','sans-serif';"><span style="font-size: 10pt; line-height: 115%;"><span style="font-family: Calibri;">/////////BELOW LINES EXPIRY DATE STAMP by: </span><a href="http://phplinkdirectorymods.com/"><span style="color: #3e81b4;">http://phplinkdirectorymods.com</span></a></span><span style="font-size: 9pt; line-height: 115%; font-family: 'Arial','sans-serif';"><br />
</span><span style="font-size: 10pt; line-height: 115%;"><br />
</span><span style="font-size: 10pt; line-height: 115%;"><span style="font-family: Calibri;">if (PAY_ENABLE == ‘1′ &amp;&amp; $_POST['LINK_TYPE'] == ‘featured’ &amp;&amp; PAY_UMF == ‘5′)</span></span><span style="font-size: 10pt; line-height: 115%;"><br />
</span><span style="font-size: 10pt; line-height: 115%;"><span style="font-family: Calibri;">{</span></span><span style="font-size: 10pt; line-height: 115%;"><br />
</span><span style="font-size: 10pt; line-height: 115%;"><span style="font-family: Calibri;">$data['EXPIRY_DATE'] = ‘NULL’;</span></span><span style="font-size: 10pt; line-height: 115%;"><br />
</span><span style="font-size: 10pt; line-height: 115%;"><span style="font-family: Calibri;">}</span></span><span style="font-size: 10pt; line-height: 115%;"><br />
</span><span style="font-size: 10pt; line-height: 115%;"><span style="font-family: Calibri;">elseif (PAY_ENABLE == ‘1′ &amp;&amp; $_POST['LINK_TYPE'] == ‘featured’ &amp;&amp; PAY_UMF == ‘2′)</span></span><span style="font-size: 10pt; line-height: 115%;"><br />
</span><span style="font-size: 10pt; line-height: 115%;"><span style="font-family: Calibri;">{</span></span><span style="font-size: 10pt; line-height: 115%;"><br />
</span><span style="font-size: 10pt; line-height: 115%;"><span style="font-family: Calibri;">$data['EXPIRY_DATE'] = date(”Y-m-d”,time()+7776000);</span></span><span style="font-size: 10pt; line-height: 115%;"><br />
</span><span style="font-size: 10pt; line-height: 115%;"><span style="font-family: Calibri;">}</span></span><span style="font-size: 10pt; line-height: 115%;"><br />
</span><span style="font-size: 10pt; line-height: 115%;"><span style="font-family: Calibri;">elseif (PAY_ENABLE == ‘1′ &amp;&amp; $_POST['LINK_TYPE'] == ‘featured’ &amp;&amp; PAY_UMF == ‘3′)</span></span><span style="font-size: 10pt; line-height: 115%;"><br />
</span><span style="font-size: 10pt; line-height: 115%;"><span style="font-family: Calibri;">{</span></span><span style="font-size: 10pt; line-height: 115%;"><br />
</span><span style="font-size: 10pt; line-height: 115%;"><span style="font-family: Calibri;">$data['EXPIRY_DATE'] = date(”Y-m-d”,time()+15552000);</span></span><span style="font-size: 10pt; line-height: 115%;"><br />
</span><span style="font-size: 10pt; line-height: 115%;"><span style="font-family: Calibri;">}</span></span><span style="font-size: 10pt; line-height: 115%;"><br />
</span><span style="font-size: 10pt; line-height: 115%;"><span style="font-family: Calibri;">elseif (PAY_ENABLE == ‘1′ &amp;&amp; $_POST['LINK_TYPE'] == ‘featured’ &amp;&amp; PAY_UMF == ‘4′)</span></span><span style="font-size: 10pt; line-height: 115%;"><br />
</span><span style="font-size: 10pt; line-height: 115%;"><span style="font-family: Calibri;">{</span></span><span style="font-size: 10pt; line-height: 115%;"><br />
</span><span style="font-size: 10pt; line-height: 115%;"><span style="font-family: Calibri;">$data['EXPIRY_DATE'] = date(”Y-m-d”,time()+31536000);</span></span><span style="font-size: 10pt; line-height: 115%;"><br />
</span><span style="font-size: 10pt; line-height: 115%;"><span style="font-family: Calibri;">}</span></span><span style="font-size: 10pt; line-height: 115%;"><br />
</span><span style="font-size: 10pt; line-height: 115%;"><span style="font-family: Calibri;">elseif (PAY_ENABLE == ‘1′ &amp;&amp; $_POST['LINK_TYPE'] == ‘normal’ &amp;&amp; PAY_UMN == ‘5′)</span></span><span style="font-size: 10pt; line-height: 115%;"><br />
</span><span style="font-size: 10pt; line-height: 115%;"><span style="font-family: Calibri;">{</span></span><span style="font-size: 10pt; line-height: 115%;"><br />
</span><span style="font-size: 10pt; line-height: 115%;"><span style="font-family: Calibri;">$data['EXPIRY_DATE'] = ‘NULL’;</span></span><span style="font-size: 10pt; line-height: 115%;"><br />
</span><span style="font-size: 10pt; line-height: 115%;"><span style="font-family: Calibri;">}</span></span><span style="font-size: 10pt; line-height: 115%;"><br />
</span><span style="font-size: 10pt; line-height: 115%;"><span style="font-family: Calibri;">elseif (PAY_ENABLE == ‘1′ &amp;&amp; $_POST['LINK_TYPE'] == ‘normal’ &amp;&amp; PAY_UMN == ‘2′ )</span></span><span style="font-size: 10pt; line-height: 115%;"><br />
</span><span style="font-size: 10pt; line-height: 115%;"><span style="font-family: Calibri;">{</span></span><span style="font-size: 10pt; line-height: 115%;"><br />
</span><span style="font-size: 10pt; line-height: 115%;"><span style="font-family: Calibri;">$data['EXPIRY_DATE'] = date(”Y-m-d”,time()+7776000);</span></span><span style="font-size: 10pt; line-height: 115%;"><br />
</span><span style="font-size: 10pt; line-height: 115%;"><span style="font-family: Calibri;">}</span></span><span style="font-size: 10pt; line-height: 115%;"><br />
</span><span style="font-size: 10pt; line-height: 115%;"><span style="font-family: Calibri;">elseif (PAY_ENABLE == ‘1′ &amp;&amp; $_POST['LINK_TYPE'] == ‘normal’ &amp;&amp; PAY_UMN == ‘3′)</span></span><span style="font-size: 10pt; line-height: 115%;"><br />
</span><span style="font-size: 10pt; line-height: 115%;"><span style="font-family: Calibri;">{</span></span><span style="font-size: 10pt; line-height: 115%;"><br />
</span><span style="font-size: 10pt; line-height: 115%;"><span style="font-family: Calibri;">$data['EXPIRY_DATE'] = date(”Y-m-d”,time()+15552000);</span></span><span style="font-size: 10pt; line-height: 115%;"><br />
</span><span style="font-size: 10pt; line-height: 115%;"><span style="font-family: Calibri;">}</span></span><span style="font-size: 10pt; line-height: 115%;"><br />
</span><span style="font-size: 10pt; line-height: 115%;"><span style="font-family: Calibri;">elseif (PAY_ENABLE == ‘1′ &amp;&amp; $_POST['LINK_TYPE'] == ‘normal’ &amp;&amp; PAY_UMN == ‘4′)</span></span><span style="font-size: 10pt; line-height: 115%;"><br />
</span><span style="font-size: 10pt; line-height: 115%;"><span style="font-family: Calibri;">{</span></span><span style="font-size: 10pt; line-height: 115%;"><br />
</span><span style="font-size: 10pt; line-height: 115%;"><span style="font-family: Calibri;">$data['EXPIRY_DATE'] = date(”Y-m-d”,time()+31536000);</span></span><span style="font-size: 10pt; line-height: 115%;"><br />
</span><span style="font-size: 10pt; line-height: 115%;"><span style="font-family: Calibri;">}</span></span><span style="font-size: 10pt; line-height: 115%;"><br />
</span><span style="font-size: 10pt; line-height: 115%;"><span style="font-family: Calibri;">elseif (PAY_ENABLE == ‘1′ &amp;&amp; $_POST['LINK_TYPE'] == ‘reciprocal’ &amp;&amp; PAY_UMR == ‘5′)</span></span><span style="font-size: 10pt; line-height: 115%;"><br />
</span><span style="font-size: 10pt; line-height: 115%;"><span style="font-family: Calibri;">{</span></span><span style="font-size: 10pt; line-height: 115%;"><br />
</span><span style="font-size: 10pt; line-height: 115%;"><span style="font-family: Calibri;">$data['EXPIRY_DATE'] = ‘NULL’;</span></span><span style="font-size: 10pt; line-height: 115%;"><br />
</span><span style="font-size: 10pt; line-height: 115%;"><span style="font-family: Calibri;">}</span></span><span style="font-size: 10pt; line-height: 115%;"><br />
</span><span style="font-size: 10pt; line-height: 115%;"><span style="font-family: Calibri;">elseif (PAY_ENABLE == ‘1′ &amp;&amp; $_POST['LINK_TYPE'] == ‘reciprocal’ &amp;&amp; PAY_UMR == ‘2′ )</span></span><span style="font-size: 10pt; line-height: 115%;"><br />
</span><span style="font-size: 10pt; line-height: 115%;"><span style="font-family: Calibri;">{</span></span><span style="font-size: 10pt; line-height: 115%;"><br />
</span><span style="font-size: 10pt; line-height: 115%;"><span style="font-family: Calibri;">$data['EXPIRY_DATE'] = date(”Y-m-d”,time()+7776000);</span></span><span style="font-size: 10pt; line-height: 115%;"><br />
</span><span style="font-size: 10pt; line-height: 115%;"><span style="font-family: Calibri;">}</span></span><span style="font-size: 10pt; line-height: 115%;"><br />
</span><span style="font-size: 10pt; line-height: 115%;"><span style="font-family: Calibri;">elseif (PAY_ENABLE == ‘1′ &amp;&amp; $_POST['LINK_TYPE'] == ‘reciprocal’ &amp;&amp; PAY_UMR == ‘3′)</span></span><span style="font-size: 10pt; line-height: 115%;"><br />
</span><span style="font-size: 10pt; line-height: 115%;"><span style="font-family: Calibri;">{</span></span><span style="font-size: 10pt; line-height: 115%;"><br />
</span><span style="font-size: 10pt; line-height: 115%;"><span style="font-family: Calibri;">$data['EXPIRY_DATE'] = date(”Y-m-d”,time()+15552000);</span></span><span style="font-size: 10pt; line-height: 115%;"><br />
</span><span style="font-size: 10pt; line-height: 115%;"><span style="font-family: Calibri;">}</span></span><span style="font-size: 10pt; line-height: 115%;"><br />
</span><span style="font-size: 10pt; line-height: 115%;"><span style="font-family: Calibri;">elseif (PAY_ENABLE == ‘1′ &amp;&amp; $_POST['LINK_TYPE'] == ‘reciprocal’ &amp;&amp; PAY_UMR == ‘4′)</span></span><span style="font-size: 10pt; line-height: 115%;"><br />
</span><span style="font-size: 10pt; line-height: 115%;"><span style="font-family: Calibri;">{</span></span><span style="font-size: 10pt; line-height: 115%;"><br />
</span><span style="font-size: 10pt; line-height: 115%;"><span style="font-family: Calibri;">$data['EXPIRY_DATE'] = date(”Y-m-d”,time()+31536000);</span></span><span style="font-size: 10pt; line-height: 115%;"><br />
</span><span style="font-size: 10pt; line-height: 115%;"><span style="font-family: Calibri;">}</span></span><span style="font-size: 10pt; line-height: 115%;"><br />
</span><span style="font-size: 10pt; line-height: 115%;"><span style="font-family: Calibri;">else</span></span><span style="font-size: 10pt; line-height: 115%;"><br />
</span><span style="font-size: 10pt; line-height: 115%;"><span style="font-family: Calibri;">$data['EXPIRY_DATE'] = ‘NULL’;</span></span><span style="font-size: 9pt; line-height: 115%; font-family: 'Arial','sans-serif';"> </span></span></span></p>
<p> </p>
<p><span style="font-size: 9pt; line-height: 115%; font-family: 'Arial','sans-serif';"><span style="font-size: 9pt; line-height: 115%; font-family: 'Arial','sans-serif';"><span style="font-size: 10pt; line-height: 115%;"><span style="font-family: Calibri;">//////////END EXPIRY DATE   </span></span></span></span></p>
<p><span style="font-size: 9pt; font-family: 'Arial','sans-serif';"><span style="font-size: 9pt; line-height: 115%; font-family: 'Arial','sans-serif';"><span style="font-size: 9pt; line-height: 115%; font-family: 'Arial','sans-serif';"><span style="font-size: 10pt; line-height: 115%;"><span style="font-family: Calibri;"><br />
Your php Link Directory should now be set to correctly and automatically add the link expiration date if it is suppose to have one.</span></span><span style="font-size: 10pt; line-height: 115%;"><br />
</span><span style="font-family: Calibri;"><span style="font-size: 10pt; line-height: 115%;">We release this mod in the hopes that it will be helpful to fellow directory owners and operators of the phpLD directory script. </span></span><span style="font-family: Calibri;"> </span></span></span></span></p>
]]></content:encoded>
			<wfw:commentRss>http://phplinkdirectorymods.com/blog/code-fixes-for-phpld/phpld-automatic-expiry-date-time-stamping/feed</wfw:commentRss>
		</item>
		<item>
		<title>Getting quality targeted links to your site</title>
		<link>http://phplinkdirectorymods.com/blog/building-quality-related-back-links/getting-quality-targeted-links-to-your-site</link>
		<comments>http://phplinkdirectorymods.com/blog/building-quality-related-back-links/getting-quality-targeted-links-to-your-site#comments</comments>
		<pubDate>Mon, 26 Nov 2007 03:02:52 +0000</pubDate>
		<dc:creator>admin</dc:creator>
		
		<category><![CDATA[Link Building]]></category>

		<guid isPermaLink="false">http://phplinkdirectorymods.com/blog/2007/11/25/getting-quality-targeted-links-to-your-site.html</guid>
		<description><![CDATA[Once you have gone through the extensive work of planning, developing, and designing your website for your new online venture you must get it listed and indexed in the major search engines to be found by the targeted visitors that you need.
First you must have a quality website with good content and search engine friendly [...]]]></description>
			<content:encoded><![CDATA[<div>Once you have gone through the extensive work of planning, developing, and designing your website for your new online venture you must get it listed and indexed in the major search engines to be found by the targeted visitors that you need.<br />
First you must have a quality website with good content and search engine friendly pages that are easy for the search engines to spider and index. Then to be found you will need to have inbound links pointing to your website url. By inbound links we mean links from other websites that point to your website url home page or inner pages. </div>
<p><span id="more-6"></span>
<div>
Now you should make sure that you have quality related inbound links pointing to your website. Quality links should be direct hyper links to your site, not JavaScript redirects or any type of link that does not directly point to your site. Also the title of your link should be either your website title or the keywords you are targeting to help you in the search engines. Remember – if the links pointing to your site are not direct links that the search engines or visitors can follow, then they do your website no good what so ever.</div>
<div>So, now what to look for and what to avoid when searching for inbound links for your website. First and foremost avoid link farm sites, which are useless pages with 50+ links per page of unrelated sites. These type links do your site no good, and if you link to them from your site, they may do your site harm.<br />
What does best for your website is related links, which are links from sites that have a similar theme as your website. You can find and acquire these types of inbound links for your site in several different ways.</div>
<div><span>1.<span style="font-family: 'Times New Roman';">       </span></span>First you may search for other websites that are related in theme to yours. For instance if your website is dealing with pet food then you would look for any websites relating to pets or pet supplies and then see about getting a link on their site pointing to your site. Many websites offer link exchange where you would place a link to their site from your site and they would place a link to your site from their site. This system is good if both sites give quality backlinks and by this of course not only means a direct link to your site but also from a page or directory that is linked to their website homepage. Before you start looking for inbound links to your site you need to decide if you are going to do link swaps, commonly known as reciprocal link exchanges.  If you wish to use this approach, then to be successful you will need to setup a links page/s or preferably a directory for adding other site’s links and have this linked off of your website home page with the title in the form of ‘Links’, ‘Resources’, or similar so that the links that you provide other sites can be found by your visitors and search engines. A good rule of thumb on this would be to try to provide sites the type of link that you would want them to provide you. No links on hidden pages or pages not even linked to your website, no redirects, etc. Just provide quality direct links at the least and if you want to be more professional in the approach and have more sites wanting to exchange links with you then consider a quality directory script. There are several free link directory scripts available that are very good such as phplinkdirectory or site-sift. Both are easy to setup and provide quality links.<br />
Before you exchange links with any site, you should make sure that they can provide your site with a quality backlink. If their links page is not linked to their homepage then most likely it is never found by search engines or visitors so that type of link will be of no benefit to your site.</div>
<div><span>2.<span style="font-family: 'Times New Roman';">       </span></span>The easiest and quickest way to get high quality inbound links to your website is to search for quality web directories to submit your link to. You should look for first any niche directories that are in the same theme as your website and also all general directories that have a category that is related to your website. All directories offer various ways for you to submit your website link. Look at the directory carefully to make sure of the quality of the directory and link types to make sure they are direct links. Secondly read the submission information and guidelines carefully to understand how to submit your link, the options that they offer, and the rules for the types of sites that may be submitted.<br />
Some directories will accept link exchange, that is usually described on the directory as reciprocal links. This can be a good option if it is available but be advised that you will need to supply a very high quality link back to the directory for your site to be accepted. If you have a links page of low quality such as just a bunch of links crammed on a page then most likely your website would not be accepted as a reciprocal link. The best option for many website owners is to submit their website as a paid review inclusion into the directory. Most all directories offer paid reviews with options such as a basic listing with your website title, url and description to featured listings that display above all others at a higher fee. Now back to the submission guidelines, make sure to read them all to see what is allowed and how to submit your site along with the options they offer and the fees. Also it is highly suggested to see the terms of the submission and make sure that if for any reason you site is rejected you will get your review fee refunded. All reputable directories will refund your fee if they do not accept your website.</div>
<div>In looking for directories to submit your website to you should also look at what features the site offers for your link and how they have setup their directory. There are numerous directories on the internet with more popping up every day. There are many directory owners that work full time on their directories to provide quality service and promotion for the websites that list with them and spend significant funds on designing and promoting their directory which in turn provides their customers with a high quality link. Some directories such as the <a href="http://buynowmarketplace.com/">International Business Directory</a>  have installed specialized mods that benefit websites such as deep links where websites may submit additional internal links to their site that will advertise and promote services and products that they provide. Other options are live rss feeds from the website and private online contact form for visitors to easily contact the website. Also provided on this directory and others like it, is a separate details page for your website link. This in effect gives a total private page for an additional link to your site.</div>
<div>So in summary, look for quality related sites to exchange links with and submit your website to as many quality directories in related categories as you can. Visit our International Business Directory to see how quality links should be and see some of the most advanced features and options that are available for website advertising. Feel free to submit your link if you like while you are there.<br />
Follow these basic guidelines for acquiring quality inbound links for your website and shortly all the search engines will have indexed your website and you will be receiving targeted traffic that is looking for your products and or services.</div>
]]></content:encoded>
			<wfw:commentRss>http://phplinkdirectorymods.com/blog/building-quality-related-back-links/getting-quality-targeted-links-to-your-site/feed</wfw:commentRss>
		</item>
		<item>
		<title>New MiddleEarth Template for phpLD</title>
		<link>http://phplinkdirectorymods.com/blog/phpld-templates/new-middleearth-template-for-phpld</link>
		<comments>http://phplinkdirectorymods.com/blog/phpld-templates/new-middleearth-template-for-phpld#comments</comments>
		<pubDate>Tue, 18 Sep 2007 05:47:36 +0000</pubDate>
		<dc:creator>admin</dc:creator>
		
		<category><![CDATA[phpLD Templates]]></category>

		<category><![CDATA[download template]]></category>

		<guid isPermaLink="false">http://phplinkdirectorymods.com/blog/2007/09/18/new-middleearth-template-for-phpld.html</guid>
		<description><![CDATA[The  new MiddleEarth template uses the colours of Earth and sea and was created for phpLD 3.2 with only one sponsored link required (no link to the designer required).
Some of the new template features include showing latest featured on the homepage as well as most popular categories and statistics in the left sidebar.
A very nice well [...]]]></description>
			<content:encoded><![CDATA[<p>The  new MiddleEarth template uses the colours of Earth and sea and was created for phpLD 3.2 with only one sponsored link required (no link to the designer required).<br />
Some of the new template features include showing latest featured on the homepage as well as most popular categories and statistics in the left sidebar.<br />
A very nice well validating template with good new features designed for phpLD version 3.2.</p>
<p>Below you can veiw a screenshot of the template.</p>
<p class="MsoPlainText" style="margin: 0in 0in 0pt"><img style="width: 500px; height: 711px;" title="MiddleEarth Template phpLD" src="http://www.directhoo.com/images/middleearth.jpg" alt="MiddleEarth Template phpLD" width="500" height="711" /></p>
<p>A live demo with additional mods can be seen at: <a class="boxSponsoredA" title="Jooomla.co.uk" href="http://www.jooomla.co.uk" target="_blank">Jooomla SEO Directory</a></p>
<p>NOTES:</p>
<p>In order to show the featured links and most popular categories on the homepage of your directory you must replace or edit the init.php with the one provided in the zip. There is also a psd file provided to make it easier for you to modify your site name and design.</p>
<p>You may download this well designed template from here.<br />
<a class="boxSponsoredA" title="MiddleEarth Template zip" href="http://www.directhoo.com/downloads/MiddleEarth.zip">Download MiddleEarth Template for phpLD v3.2</a> </p>
]]></content:encoded>
			<wfw:commentRss>http://phplinkdirectorymods.com/blog/phpld-templates/new-middleearth-template-for-phpld/feed</wfw:commentRss>
		</item>
		<item>
		<title>Free icon download sites</title>
		<link>http://phplinkdirectorymods.com/blog/resources-available-for-phpld/free-graphics-and-icons-for-phpld/free-icons-and-favicons</link>
		<comments>http://phplinkdirectorymods.com/blog/resources-available-for-phpld/free-graphics-and-icons-for-phpld/free-icons-and-favicons#comments</comments>
		<pubDate>Tue, 21 Aug 2007 04:47:31 +0000</pubDate>
		<dc:creator>admin</dc:creator>
		
		<category><![CDATA[Graphics and Icons]]></category>

		<guid isPermaLink="false">http://phplinkdirectorymods.com/blog/2007/08/21/free-icons-and-favicons.html</guid>
		<description><![CDATA[Here we are compiling a list of sites that have free icons available for download and also favicon icon generator sites that have free online tools to generate a favicon icon for your website. Some of these sites and tools can provide you with additional resources to help you with the design and development of your phpLD directory website.

http://fasticon.com/freeware/
http://www.maxpower.ca/free-icons/2006/03/05/
http://mouserunner.com/Spheres_Cell.html 
http://interfacelift.com/icons-mac/index.php?sort=date

Free [...]]]></description>
			<content:encoded><![CDATA[<p>Here we are compiling a list of sites that have free icons available for download and also favicon icon generator sites that have free online tools to generate a favicon icon for your website. Some of these sites and tools can provide you with additional resources to help you with the design and development of your phpLD directory website.</p>
<ul>
<li><a href="http://fasticon.com/freeware/" class="boxSponsoredA">http://fasticon.com/freeware/</a></li>
<li><a href="http://www.maxpower.ca/free-icons/2006/03/05/" class="boxSponsoredA">http://www.maxpower.ca/free-icons/2006/03/05/</a></li>
<li><a href="http://mouserunner.com/Spheres_Cell.html" class="boxSponsoredA">http://mouserunner.com/Spheres_Cell.html</a> </li>
<li><a href="http://interfacelift.com/icons-mac/index.php?sort=date" class="boxSponsoredA">http://interfacelift.com/icons-mac/index.php?sort=date</a></li>
</ul>
<p>Free Favicon Creation Sites - Make your favicon online instantly.</p>
<ul>
<li><a href="http://www.faviconcreation.com/" class="boxSponsoredA">http://www.faviconcreation.com/</a></li>
<li><a href="http://www.favicon.co.uk/" class="boxSponsoredA">http://www.favicon.co.uk/</a></li>
</ul>
]]></content:encoded>
			<wfw:commentRss>http://phplinkdirectorymods.com/blog/resources-available-for-phpld/free-graphics-and-icons-for-phpld/free-icons-and-favicons/feed</wfw:commentRss>
		</item>
		<item>
		<title>Welcome to phpLD Mods Blog Section</title>
		<link>http://phplinkdirectorymods.com/blog/uncategorized/phpld-blog</link>
		<comments>http://phplinkdirectorymods.com/blog/uncategorized/phpld-blog#comments</comments>
		<pubDate>Fri, 03 Aug 2007 04:41:02 +0000</pubDate>
		<dc:creator>admin</dc:creator>
		
		<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false"></guid>
		<description><![CDATA[We will now be working on incorporating the new Wordpress version 2.2.1 into our php link directory site. Soon hopefully we will have this done and begin providing information, additional mods, along with tips and tricks about the most popular directory script - php Link Directory. 

We have incorporated Wordpress by making some new template pages [...]]]></description>
			<content:encoded><![CDATA[<p><span style="font-size: 10pt; font-family: 'Arial','sans-serif';">We will now be working on incorporating the new Wordpress version 2.2.1 into our php link directory site. Soon hopefully we will have this done and begin providing information, additional mods, along with tips and tricks about the most popular directory script - php Link Directory. </span><br />
<span id="more-1"></span><br />
<span style="font-size: 10pt; font-family: 'Arial','sans-serif';">We have incorporated Wordpress by making some new template pages - header, index, and footer and using some of our template code for the display and then installing the Worpress php code in the proper places and saving the new template pages as Wordpress php files. Then taking the site template css style sheet and adding in some css for the Wordpress display and saving it in the new Wordpress template. As you can see the Wordpress blog now looks just about the same as the home page in the php Link Directory Mods directory giving the blog a nice blended look into the site.</span></p>
<p><span style="font-size: 10pt; font-family: 'Arial','sans-serif';">Next we will work on full smarty template integration for Wordpress and then if successful we will tell about it here on our new blog and set up a download for complete instructions. This would probably be the best way to integrate Wordpress into the phpLD directory as it is powered by the smarty template system. </span></p>
<p><span style="font-size: 10pt; font-family: 'Arial','sans-serif';">But for now it can be integrated by using the process of making some cloned html pages of your site and adding in the Wordpress php code and and then saving as php pages in your existing Wordpress template. For instance what I did was to take the default Wordpress template and then make a new index and header page using my html code for my site&#8217;s template stripping out any smarty code. Then I added in the Wordpress index.php code into my index template clone and then saved it as the new index.php and did the same process to the header but only using the necessary code and then saved that as the new header.php in the Wordpress default template. If you try this process it will work but you will have to have some patience and play around with the new template pages and your css code to get the look you want. You also will need to make a custom sidebar page and add your Wordpress sidebar.php code to that saving the new page as sidebar.php so your sidebar will display to blend in with your site. I will modify this post later with a little more details on the above integration process and hopefully have a smarty version to share soon.</span></p>
<p><span style="font-size: 10pt; font-family: 'Arial','sans-serif';">Good luck and happy blogging with your new phpLD integrated with Wordpress.</span></p>
]]></content:encoded>
			<wfw:commentRss>http://phplinkdirectorymods.com/blog/uncategorized/phpld-blog/feed</wfw:commentRss>
		</item>
	</channel>
</rss>
