Script URL: http://www.dailyhemo.org/linkman/links.php
Version of script: 1.7
Hosting company: IpowerWeb
URL of phpinfo.php: n/a
URL of session_test.php: n/a
What terms did you try when SEARCHING for a solution:
Found some related to wordpress, but the solution am looking for wasn't there. I am not much of a php coder, so need some assistance.
Write your message below:
As is standalone works all fine, but really bought a license to use it with wordpress.
I need some tips on how to integrate into wordpress. I followed this guide here.. http://www.sabahan.com/2006/03/14/how-t ... your-blog/
My wordpress install is on a sub-directory named /vb and the index is on root
As you can see I added two test links but they don't show up on the page, perhaps am missing somehting, not sure.
I did try this method but could not get anything to display on the page, but the above method did display the form except the links don't. Also, the copyright is still there, though I payed for a license.
viewtopic.php?t=802&highlight=wordpress
I also hoping that banner support can be added. My affiliates rather place ad banners and not small website image. Thanks
Linkman 1.7 - Wordpress Integration
I'm afraid I can't be of help here because I never usef WordPress myself so I don't know how their plugins work nor can I comment on why any third party instructions don't work.
I would recommend using LinkMan as a stand-alone script instead and use the header/footer files to fit it into your website.
I would recommend using LinkMan as a stand-alone script instead and use the header/footer files to fit it into your website.
Klemen, creator of HESK and PHPJunkyardWas this helpful? You can buy me a drink here 
You should follow me on Twitter here
Help desk software | Cloud help desk | Guestbook | Link manager | Click counter | more PHP Scripts ...
Also browse for php hosting companies, read php books, find php resources and use webmaster tools


Help desk software | Cloud help desk | Guestbook | Link manager | Click counter | more PHP Scripts ...
Also browse for php hosting companies, read php books, find php resources and use webmaster tools
As you know this script was not writen to work with WP, as it is stand-alone ... so best bet may be to just use it as stand-alone. It shouldnt be to hard to use the templates and footers to match your own site. I see it done all the time, the info you are going by is a 3rd party workaround to try an integrate LinkMan into word press, it may work for some and not others, but from what I see it may just be a path problem.
I do not use WP either but from what I see in the info you posted
it needs to be somehow included using another plugin for WP for the trick to work.
Link man by default is not really includable, so that may or may not work as expected a few weeks ago I had a buddy of mine try and include LinkMan into his non WP site and it semi worked just that on post it would bounce out of his page this is because the script will need to know what it's posting to, I simplified his problem by modding his script code just a little, this may or may not help with your problem basically to get the script to do a correct include I did the following.
I added PHP_SELF to his code so that it then posts to the page its included into, no mater what the page is called.
So in LinkMan you will see the code that allows you to submit the form.
Somthing like
<form method="post" action="links.php">
I changed that to
<?php
$self = trim(strip_tags($_SERVER['PHP_SELF']));
echo '<form method="post" action="'.$self.'">'."\n";
?>
Thus allowing us to include the script into another page a bit easier.
When doing so you will want to remove the header footer calls as they will no longer be needed.
DC
I do not use WP either but from what I see in the info you posted
it needs to be somehow included using another plugin for WP for the trick to work.
Link man by default is not really includable, so that may or may not work as expected a few weeks ago I had a buddy of mine try and include LinkMan into his non WP site and it semi worked just that on post it would bounce out of his page this is because the script will need to know what it's posting to, I simplified his problem by modding his script code just a little, this may or may not help with your problem basically to get the script to do a correct include I did the following.
I added PHP_SELF to his code so that it then posts to the page its included into, no mater what the page is called.
So in LinkMan you will see the code that allows you to submit the form.
Somthing like
<form method="post" action="links.php">
I changed that to
<?php
$self = trim(strip_tags($_SERVER['PHP_SELF']));
echo '<form method="post" action="'.$self.'">'."\n";
?>
Thus allowing us to include the script into another page a bit easier.
When doing so you will want to remove the header footer calls as they will no longer be needed.
DC
To Code Or Not To Code That Is The Question?
Was my post of any help to you? if so please do [url=http://www.clickcraft.net/slice_donations.php][b]Buy Me A Slice[/b][/url] ...
Was my post of any help to you? if so please do [url=http://www.clickcraft.net/slice_donations.php][b]Buy Me A Slice[/b][/url] ...
DC, thanks for the tip!
DC wrote:As you know this script was not writen to work with WP, as it is stand-alone ... so best bet may be to just use it as stand-alone. It shouldnt be to hard to use the templates and footers to match your own site. I see it done all the time, the info you are going by is a 3rd party workaround to try an integrate LinkMan into word press, it may work for some and not others, but from what I see it may just be a path problem.
I do not use WP either but from what I see in the info you posted
it needs to be somehow included using another plugin for WP for the trick to work.
Link man by default is not really includable, so that may or may not work as expected a few weeks ago I had a buddy of mine try and include LinkMan into his non WP site and it semi worked just that on post it would bounce out of his page this is because the script will need to know what it's posting to, I simplified his problem by modding his script code just a little, this may or may not help with your problem basically to get the script to do a correct include I did the following.
I added PHP_SELF to his code so that it then posts to the page its included into, no mater what the page is called.
So in LinkMan you will see the code that allows you to submit the form.
Somthing like
<form method="post" action="links.php">
I changed that to
<?php
$self = trim(strip_tags($_SERVER['PHP_SELF']));
echo '<form method="post" action="'.$self.'">'."\n";
?>
Thus allowing us to include the script into another page a bit easier.
When doing so you will want to remove the header footer calls as they will no longer be needed.
DC
One last tip
If your going to try and include the script then the info listed on the other page you tried viewtopic.php?t=802&highlight=wordpress may not work because the paths are hardcoded in that last example.
So here's my way, I try and do it dynamically like so.
Again this may or may not work for you, but it could get you closer to were you want to be.
Somtimes depending on how a script is used you may have to get the path automatically so that no matter where it is it can still find its path, I write that into scripts when im going to include a script into another and I want it to get the correct paths.
This is somthing I wrote to get the paths of our data files for linkman in a specialy modified includable version I did for a client.
//Lets automatically get the actual dir our included script is in ...
//This is now needed as we are including our script in another page.
$script = (__FILE__);
$scriptn = dirname($script);
$scriptn = substr(strrchr($scriptn, "/"), +1);
$settings['linkfile'] = "$scriptn/".$settings['linkfile'];
$settings['banfile'] = "$scriptn/".$settings['banfile'];
DC
If your going to try and include the script then the info listed on the other page you tried viewtopic.php?t=802&highlight=wordpress may not work because the paths are hardcoded in that last example.
So here's my way, I try and do it dynamically like so.
Again this may or may not work for you, but it could get you closer to were you want to be.
Somtimes depending on how a script is used you may have to get the path automatically so that no matter where it is it can still find its path, I write that into scripts when im going to include a script into another and I want it to get the correct paths.
This is somthing I wrote to get the paths of our data files for linkman in a specialy modified includable version I did for a client.
//Lets automatically get the actual dir our included script is in ...
//This is now needed as we are including our script in another page.
$script = (__FILE__);
$scriptn = dirname($script);
$scriptn = substr(strrchr($scriptn, "/"), +1);
$settings['linkfile'] = "$scriptn/".$settings['linkfile'];
$settings['banfile'] = "$scriptn/".$settings['banfile'];
DC
To Code Or Not To Code That Is The Question?
Was my post of any help to you? if so please do [url=http://www.clickcraft.net/slice_donations.php][b]Buy Me A Slice[/b][/url] ...
Was my post of any help to you? if so please do [url=http://www.clickcraft.net/slice_donations.php][b]Buy Me A Slice[/b][/url] ...
Thanks again, but do you have wordpress installed on your end? If so, get it working with also banner support and will tip ya? How's that?
DC wrote:One last tip
If your going to try and include the script then the info listed on the other page you tried viewtopic.php?t=802&highlight=wordpress may not work because the paths are hardcoded in that last example.
So here's my way, I try and do it dynamically like so.
Again this may or may not work for you, but it could get you closer to were you want to be.
Somtimes depending on how a script is used you may have to get the path automatically so that no matter where it is it can still find its path, I write that into scripts when im going to include a script into another and I want it to get the correct paths.
This is somthing I wrote to get the paths of our data files for linkman in a specialy modified includable version I did for a client.
//Lets automatically get the actual dir our included script is in ...
//This is now needed as we are including our script in another page.
$script = (__FILE__);
$scriptn = dirname($script);
$scriptn = substr(strrchr($scriptn, "/"), +1);
$settings['linkfile'] = "$scriptn/".$settings['linkfile'];
$settings['banfile'] = "$scriptn/".$settings['banfile'];
DC
No I am sorry I do not use WP really don't like it, too many bugs and holes, I was just going by the info you showed us on the forum and it seems to me that there is a plugin that includes the script, so based on that ... I was showing you some ideas that may help include it in your site.
Just curious what do you meen by banner support?
DC
Just curious what do you meen by banner support?
DC
To Code Or Not To Code That Is The Question?
Was my post of any help to you? if so please do [url=http://www.clickcraft.net/slice_donations.php][b]Buy Me A Slice[/b][/url] ...
Was my post of any help to you? if so please do [url=http://www.clickcraft.net/slice_donations.php][b]Buy Me A Slice[/b][/url] ...
Ah schucks, I really don't understand PHP, but I did find a plugin for wordpress called Wp-Reciprocal-Link-Manager, sadly it don't have rank, webpage image, nor banner support as I need.
By banner support I mean allow people requesting links to be able to use a remote banner/image link, as an option.
By banner support I mean allow people requesting links to be able to use a remote banner/image link, as an option.
DC wrote:No I am sorry I do not use WP really don't like it, too many bugs and holes, I was just going by the info you showed us on the forum and it seems to me that there is a plugin that includes the script, so based on that ... I was showing you some ideas that may help include it in your site.
Just curious what do you meen by banner support?
DC
Easiest solution then is to use LinkMan as it was intended and just mod the headers and footers to exactly match your site.
I did some serious mods to LinkMan and the way it works but never tried to
add banners ...
Heres a simple includedable example of a very modified LinkMan included in a page. As you will see clicking any of the links to the forms will not bounce you out of the page it uses some of the code ideas I showed you in my post to pull this trick off ...
http://www.clickcraft.net/linktest3.php
Just wanted to show you that you bought an awsome script skys the limit to how it can be modified so I am sure with a little work you will get it to run in a way that you will be happy with.
Plus the support here is top notch.
DC
I did some serious mods to LinkMan and the way it works but never tried to
add banners ...
Heres a simple includedable example of a very modified LinkMan included in a page. As you will see clicking any of the links to the forms will not bounce you out of the page it uses some of the code ideas I showed you in my post to pull this trick off ...
http://www.clickcraft.net/linktest3.php
Just wanted to show you that you bought an awsome script skys the limit to how it can be modified so I am sure with a little work you will get it to run in a way that you will be happy with.
Plus the support here is top notch.
DC
Last edited by DC on Fri Sep 16, 2011 5:44 pm, edited 1 time in total.
To Code Or Not To Code That Is The Question?
Was my post of any help to you? if so please do [url=http://www.clickcraft.net/slice_donations.php][b]Buy Me A Slice[/b][/url] ...
Was my post of any help to you? if so please do [url=http://www.clickcraft.net/slice_donations.php][b]Buy Me A Slice[/b][/url] ...
-
- Posts: 4
- Joined: Sun Aug 23, 2009 11:23 pm
It works FANTASTICALLY! Thank you so much for directing me to that walkthrough. 
(To anyone else having trouble with this, it helps if you place the LinkMan files -- except index.php -- into the main Wordpress directory.)
My LinkMan in Wordpress: http://thefluffyshrimp.com/?page_id=9
To anyone reading this, please feel free to join my link exchange!

(To anyone else having trouble with this, it helps if you place the LinkMan files -- except index.php -- into the main Wordpress directory.)
My LinkMan in Wordpress: http://thefluffyshrimp.com/?page_id=9
To anyone reading this, please feel free to join my link exchange!
