Link Exchange Service Added
Following the tips from Sabahan.com, I’ve added my own link exchange service on my blog. It’s called the Friends page. This tool uses the free php script Link manager Linkman. I manage to make it work though I would like to add a few other handy tips.
Oh this tip/entry is for those that has a blog powered by wordpress and hosted on their own server. However, to be listed as my friend, you don’t have to qualify for the above specs. My friends page is open to everyone, though it’s limited to 50 links.
Okay with that out of the way, lets continue.
When I first tried out the hack of running the links.php within the wordpress phpExec plugin, I got zero output eventhough I added my own links in the file. I figured out the script couldn’t find the text file which stores all the links.
To fix it, I added the full path of the file for the linkfile configuration. Specifically, inside the settings.php, look for the following lines.
// Name of the file where link URLs and other info is stored
$settings[’linkfile’]=’links.txt’;
So, instead of just filename, include the full path of the file as such:
// Name of the file where link URLs and other info is stored
$settings[’linkfile’]=’/full/path/public_html/linkman/links.txt’;
Of course, you put in your own path in there.
Now comes the part of creating the form inside wordpress. For this one, it’s much easier.
- open up form.html from linkmanager
- copy everything inside the <form> tag
- create a new page
- click on the code button
- paste all the HTML commands that you copied from #2 above
- change the value of action=”addlink.php” to the full url path action=”http://yourdomain.com/linkmanager/addlink.php”
- save the page and try it out
You can also place the form on the same page as the links. It’s up to you. If you have any problems, let me know. I’ll try to help if I can.
Technorati Tags: blog, blogging, links+exchange




August 7th, 2007 at 8:17 pm
Thank you for the useful advice, sounds simple to use, we will see when I try to set it up.
August 7th, 2007 at 8:18 pm
OOps!