I found an excellent link exchange script to share with all my buddies here on TP.net! Itââ,¬â,,¢s very customizable with a header and footer text files to make it look how you want. I also managed to integrate it into my TP page. For a preview, check my site: http://www.thepoliticalcapital.com. Itââ,¬â,,¢s on the left column at the bottom (Or at the very bottom of the page). Feel free to add your link while youââ,¬â,,¢re at it. And if anyone feels like debating some good old fashioned politics, then jump right on in!
First download the Linkman code from the following location: http://www.phpjunkyard.com/php-link-manager.php
ââ,¬Â¢ Follow the directions in the ââ,¬Å"readme.htmlââ,¬Â file (don't worry, very simple stuff)
ââ,¬Â¢ Create a PHP article with the following code:
include (ââ,¬Å"http://www.yoursite.com/links/links.phpââ,¬Â);
ââ,¬Â¢ If you'd rather have your links show in a block, create a PHP block with the above code instead of creating an article and skip the next three steps.
ââ,¬Â¢ Format the article how you like, I.E. showing left blocks, center blocks, etc.
ââ,¬Â¢ Create a link on your site with the article URL as the link:
<a href="http://www.yoursite.com/index.php?page=26">Link Exchange</a>
ââ,¬Â¢ Open "header.txt" and add a link to your submit page:
<html>
<head>
<title>Links</title>
<a href="http://www.yoursite.com/index.php?page=27">Add Your Site</a>
<body>
or if you created a PHP block instead:
ââ,¬Â¢ Open "header.txt" and add a link to your submit page:
<html>
<head>
<title>Links</title>
<a href="http://www.yoursite.com/links/form.html">Add Your Site</a>
<body>
Thatââ,¬â,,¢s it. It sure donââ,¬â,,¢t get no simpler. Now you have a fully automated link exchange system that visitors to your site can use. The exchange uses a text file to keep your links and so requires no SQL database. It automatically verifies that a reciprocal link has been placed and also crawls submitted sites periodically to verify your link is still there. It has a separate admin page so you can manage your links. Enjoy!
This is cool, I am going to give it a shot.
im trying to instal this but i keep getting this Parse error: Parse error: syntax error, unexpected ':' in /www/110mb.com/j/o/y/r/i/d/e/r/joyrider/htdocs/Sources/Load.php(1766) : eval()'d code(209) : eval()'d code on line 1
could you please help thanks in advance i have attached a copy of load php thanks again
You're trying to install what? For this code snippet, there's no installation. And it certainly doesn't use the Load.php file. You add this code to an article.
ok i have done wot it says and im getting that erroer
ok i changed some of the code to include(ââ,¬Å"/linkman/links.phpââ,¬Â); it works but its a blank page
see here http://joyrider.110mb.com/index.php?page=19
Hi wdm2005. Make sure you add the link to the "header.txt" or you'll get that blank page. As for your error, I'm no expert or anything, but I'd say you have a syntax error somewhere in the linkman code that causing SMF to error when it runs one of it's own files. I'm not sure the relationship load.php has, but maybe it's trying to call the code and errors out when it reaches the syntax error.
Just a guess...
thanks ill give it a try
I get 404 permission error for http://www.phpjunkyard.com/php-link-manager.php
ok i have it working i used an i fram instead but when i submit a link i get
ERROR
Can't open remote URL!
any ideas
I wish I could help, but I'm no good at code. You can probably get support at their forum:
http://developers.phpjunkyard.com/