Archive for the 'phpLD Fix' Category

Stop Submissions Bot on phpLD!

Saturday, December 16th, 2006

This is a great day for people like me, like Jim Westergren, Derek at PortProphecy and all the others that receives more than 250 spam bot submissions per day :)

The Fix works for all versions except the v2.0-v2.1

This phpld fix is brought you by Jim Westergren. Original post of spam bot phpld fix.
Thread on PHP Link Directory forum thread for spam bot submissions.

(On the thread of php link directory! Do not do as told in the first post but keep reading below, Jim figured out 2 solutions, first one was not that great, second one is awesome!)

amitspammer.jpg
Enjoy! ;)

Security Flow in phpLD 2.1 & 2.0

Wednesday, November 1st, 2006

You might be interested in reading the article of After 5 Web Design relating about a security issue in phpLD 2.1 and 2.0,

As Rob stated on Digital Point forum, the version 2.0 and 2.1 has been patched and can be downloaded at PHP Link Directory.

Patch your directories to avoid spammy submissions! Thanks for Tim Myth to have pointed that error out.

Statistic Mod Bug on Some Pages

Thursday, October 19th, 2006

To make the statistic mod working on all of your pages including the submit page, suggest category page, report bad listing page and all kind, you have to follow the same instructions as for the file index.php when installing the statistic mod on your directory.

Just add that code: require_once ’statistic.php’; right under require_once ‘init.php’; in all the *.php page you create including “submit.php”.

Another phpLD Adsense Ads Fix

Wednesday, October 18th, 2006

From PHP Link Directory.
[http://www.phplinkdirectory.com/kb/Design/page_1/How_to_Add_Adsense.html]

Well its pretty different from the other fixes, but this one is the best!
Thanks for the phpLD Team!

Google Ads Not Loading on phpLD Templates

Friday, October 13th, 2006

Some of you would like to know how to fix that issue. There are 2 fixes. One is more recommended than the other one, but you’ll see and choose which way you want it to be for your directories.

Creating the Ads and Implementing them:

1. Go to your adsense account and create a google ad that fits the layout of the template. Then open the template and see the ads placements (logically already created for you).

If you copy and past the code of your adsense ad without modifying it, it will never work. To make it work you have to delete the HTML comments tags < !-- //-->

Adsense Troubleshooting for phpLD Directory Users

I never had problems doing that seriously, though its annoying to modify each ad, but it’ll work out in the end!

2. The second method is the best but also a bit boring to do. Well the idea is to create a “.tpl” file for each google ads and other advertisements. You will then file that .tpl file with the adsense javascript code and nothing else!
To implement the .tpl files just add the following code {include file=”example.tpl”} (change example.tpl to the real file you want to use) where you want to use the ad and it’ll be fine! If you have just 1 directory and you have to do modifications it will take just 15 minutes, for others like me who got 5 of them and templates it’ll take time to re-do all the ads stuffs! I was using the first method for a while :) .

Hope that helps..

Patrick

Problems With The Header Buttons In The Templates

Monday, October 9th, 2006

- Some of our users have problems with the top logo link. When you click on a category or want to submit a link, then you want to go back to the homepage, well you will click the top logo but it doesn’t redirect you to the homepage, it actually redirects you where you are right now so why bother clicking? Why doing effort?

- The problem is fixed if you download the files today, for the ones that already downloaded the files please change the following code for your header logo’s link which is located in header.tpl file.

For the hyperlink of your logo we use that code: {$smarty.const.DOC_ROOT} which is the root of your directory. Well just add /index.php to that code (which is your logo link) and everything should work fine. E.g:

{$smarty.const.DOC_ROOT}/index.php

Now it should redirect you to the home whenever you will click the logo button! Thanks for the PHP Link Directory forum and Boby for that fix :) .