As I previously mentioned that I’ve finally managed to integrate link exchange manager LinkMan into my WordPress.
I’ve also seen some post on forums asking for help on how to integrate the link exchange manager LinkMan php code into WordPress in order to automatically update the links added at their WordPress Pages whenever someone submit their links.
After weeks of trying and asking for help, I’ve finally did it and I will now show you exactly how I did it.
1. Download link exchange manager LinkMan and install it according to instructions provided.
( I installed LinkMan at http://www.raymond.cc/linkman/ )
2. Download and install runPHP, a plugin for WordPress.
3. Create/Write a Page from your WordPress.
( I created a WordPress Page at http://www.raymond.cc/blog/links/ to display the links exchanged from LinkMan )
4. The links.php file from your LinkMan folder contains the necessary php code to call out the links exchanged from linkinfo.txt
Just copy and paste the PHP code below into your Page that you created in step 3.
[code]
require '../linkman/settings.php';
$lines = array ();
$lines=file('../linkman/linkinfo.txt');
echo '
';
foreach ($lines as $thisline)
{
$thisline=trim($thisline);
if (!empty($thisline)) {
list($name,$email,$title,$url,$recurl,$description)=explode($settings['delimiter'],$thisline);
if ($settings['clean'] != 1) {$url='../linkman/go.php?url='.$url;}
echo ''.$title.' - '.$description.'
';
}
}
echo '
Powered by Link manager LinkMan '.$settings['verzija'].' from PHPJunkYard - free php scripts
[/code]
If you’re using WordPress v1.5.x, select the “eval() Content” checkbox to enable PHP code in the Page.
If you’re using WordPress v2.0, select the “run PHP code?” checkbox to enable PHP code in the Page.
That’s it. Login to your LinkMan and manually add some links to test it out.
If it doesn’t work, try adding or removing ../ in paths on the PHP code.
Another alternate and simpler way you can integrate link exchange manager LinkMan into your WordPress blog is to insert only 1 line code to your WordPress Page.
[code]
[/code]
Don’t forget to select the “eval() Content” checkbox if you’re using WordPress v1.5.x or “run PHP code?” if you’re using WordPress v2.0 to enable PHP code in the Page.
Once you’ve successfully integrated link exchange manager LinkMan on your website, don’t forget to exchange links with raymond.cc!
Related posts:
I thought you guys should know i fond a paypal subscription modual for Linkman v1.7 I used it it works great at phpsoftware.info/index.php they also make any paypal modual for any linkman version on request
thanks artikelnya
Será que lo buscamos en el
Thanks…,
Thanks ..
Tnx
Thank you.
never mind, i figured it out. I was making the actual page with the PHP function call \’Private\’.
script works only when i\\\’m logged into wordpress. for example, i can only view my \\\’links\\\’ pages when i\\\’m signed in. otherwise, i get an error saying the page doesn\\\’t exist once i\\\’m logged out of wordpress. any idea why that is?
thanks best regards
…plugins/runPHP/runPHP.php(359) : eval()’d code on line…
same errors here.
how do i solve that?
thanks!
thanx for artichle
[...] WP itself. Or use it simply as a link/partner site directory. The closest thing I could find was this which seems like a horribly messy [...]
BTW, your Code example 1 is missing
‘; ?>
on the end.
Take a look,
taras
Hello,
I was wandering how do you make your code show up like that?
Is it a plugin?
Great post, but I think there is prob a better way to do this as a plugin. I’ll let you know if I ever get around to doing that :)
Thanks,
taras
It simply doesn’t want to work , either way! When I insert all the code it loads only the header of my template and when I use ‘php include’ it loads the page, but linkman doesn’t show up! Any ideas?!?
Thanks
thanks
I have the very same problem. can you help me? i tried also the second way but it doesn’t work…
hi…can u help me with linkman n runPHP?i’ve problem with runPHP since i cant run the php code for links.php..it shows this error Warning: Unknown(settings.php): failed to open stream: No such file or directory in /home/windexx/public_html/wp-content/plugins/runPHP/runPHP.php(359) : eval()’d code on line 3
Warning: Unknown(settings.php): failed to open stream: No such file or directory in /home/windexx/public_html/wp-content/plugins/runPHP/runPHP.php(359) : eval()’d code on line 3
Fatal error: (null)(): Failed opening required ‘settings.php’ (include_path=’.:/usr/lib/php:/usr/local/lib/php’) in /home/windexx/public_html/wp-content/plugins/runPHP/runPHP.php(359) : eval()’d code on line 3