Page 1 of 3
LinkMan Image Mod
Posted: Sat Jun 25, 2005 8:29 pm
by WebsiteManagers
Title: LinkMan Image Mod
Version: 1.0.2a
Author: Jim Hutchinson, Website Managers, LLC
Demo:
http://www.websitemanagers.net/resources/
Download:
http://www.websitemanagers.net/resource ... n.102a.zip
Website:
http://www.websitemanagers.net/
Description:
This is an add-on to the LinkMan script version 1.0.2 that was released 23 May 2005.
Added support for showing remote images and added link submission date for the linkinfo.txt file.
Upgrade instructions are in the file, readme-mods.htm Also Available Here
Make sure you back up your existing files before installing this script!
Delayed
Posted: Sun Dec 18, 2005 11:34 pm
by Alissa5414
[REMOVED SPAM]
Posted: Mon Dec 19, 2005 12:10 am
by WebsiteManagers
Please explain what was delayed.
Jim
Posted: Mon Dec 19, 2005 2:41 pm
by Klemen
Hello Jim,
Ignore the post (deleted now), this is just a silly SPAMer who thinks he can SPAM this board with links to casinos.
Regards,
Posted: Mon Jan 23, 2006 8:39 pm
by seawind
Is this for an older version then the latest? The installation instructions talk about an admin.php file which isent even there and theres other conflicting problems. I tried to make it work with no such luck. I would really like to use this though so anybody with any ideas on how I can make this work?
Thanks,
Ryan
Posted: Mon Jan 23, 2006 9:00 pm
by WebsiteManagers
This mod is an additon to the existing script. Not all the files are included. However, I changed the index.php to admin.php and links.php file to index.php.
I saw some areas in the script that need to be updated and am working on those.
Jim
Posted: Tue Jan 24, 2006 4:10 am
by seawind
In your script theres these files:
addlink.php - I'm supposed to replace the originial file with this one correct?
index.php - Am I supposed to change that to admin.php? Or am I supposed to change the originial index.php to admin.php?
settings.php - I'm guessing I'm supposed to replace the originial with this one to...
form.inc.html - I know what to do with this one.
linkinfo.txt - And I know what to do with this one.
Thanks for your help,
Ryan
Posted: Tue Jan 24, 2006 5:34 am
by WebsiteManagers
First thing to do is make a backup folder and copy all your LinkMan files into it.
addlink.php - I'm supposed to replace the originial file with this one correct?
Correct.
index.php - Am I supposed to change that to admin.php? Or am I supposed to change the originial index.php to admin.php?
Rename the original index.php to admin.php. The index.php in the ZIP file is the new one you'll be using to display your links.
settings.php - I'm guessing I'm supposed to replace the originial with this one to...
Correct.
Now, there's an easier way to install it. The updated file has all the files from the original distribution along with the mods already in place. Just unzip into your links folder and follow the instructions in both readme.htm and readme_mods.htm
The most editing you should need todo is in the settings.php, header.txt and footer.txt. The blank image in included now too.
Get the file here:
http://www.websitemanagers.net/resource ... n.102a.zip
Jim
Posted: Thu Jan 26, 2006 5:49 am
by seawind
Thanks for the new package it kind of works... Everything is set up correctly I’m pretty sure because I did it twice but I’m still having the same problem.
Ok so here’s the problem I can add a new link threw the admin panel that works fine but the image won’t show up! The form in the admin panel doesn’t seem to insert the image link into the linkinfo.txt file. After I add it I have to manually download the linkinfo.txt file then open it and edit between the reciprocal link and the description lines and put an extra “|”. So if I edit it and put 2 || the blank image comes up and if I edit it manually and put |
http://linkhere| then the image will come up. If I don’t do any editing it just try’s to load the picture from the description line. Any idea’s on how to fix this one?
Also On the link page the copyright line at the bottom is gone! I'm guessing you did not notice that so you might wanna let me know how to fix that to since it's kinda illegal without it ah...
Thanks,
Ryan
Posted: Sun Jan 29, 2006 1:39 am
by WebsiteManagers
Hello Ryan
Thanks for pointing out the errors. Here's how you can fix them:
In addlink.php look for the following on Line 61:
$Image = htmlspecialchars($_POST["imageurl"]);
Add this after that line:
In index.php
add the following before require_once("footer.txt:)
Code: Select all
/*
The HTML code below will display the "Powered by PHP link manager by PHPjunkyard" text.
In exchange for this free script please leave this line as it is. Thank you!
*/
echo "</p>
<hr size=1 noshade>
<p align=\"center\" class=\"linkman\">Powered by <a href=\"http://www.phpjunkyard.com/php-link-manager.php\" target=\"_new\" class=\"linkman\">PHP link manager</a> $settings[verzija]
from <a href=\"http://www.phpjunkyard.com/\" target=\"_new\" class=\"linkman\">PHPJunkYard - free php scripts</a></p>";
The updated file is also online.
http://www.websitemanagers.net/resource ... n.102a.zip
Jim
Posted: Sun Jan 29, 2006 1:55 am
by Klemen
Hello,
Just a quick note/explanation: Jim owns a license for LinkMan so he is allowed to remove the Powered by link. (
http://www.phpjunkyard.com/copyright-removal.php). Those who didn't purchase a license must leave the link intact. Thanks for fixing it Jim.
Regards,
Posted: Sun Jan 29, 2006 5:07 am
by seawind
Jim,
Thanks the powered by line is there now but...
But the other problem is not fixed! I added that code and it's still giving me the same problem. Then I tried downloaded your whole new package and I'm still having the same problem?
Thanks,
Ryan
Posted: Sun Jan 29, 2006 2:57 pm
by WebsiteManagers
This is the situation I had on another site that was running it on the ame server as mine. The installation on my site worked perfect, but the other site wouldn't load the images, just as you explained. I'l go through the code again and see why this is happening, then post an update.
Thanks for letting me know.
Jim
Posted: Sun Jan 29, 2006 3:46 pm
by WebsiteManagers
Problem found. The image was being inserted after the description. Either download the file again or replace the '$replacement' section in
addlink.php with the following:
Code: Select all
$replacement .= $name.$settings["delimiter"].$email.$settings["delimiter"];
$replacement .= $title.$settings["delimiter"].$url.$settings["delimiter"];
$replacement .= $recurl.$settings["delimiter"];
$replacement .= $Image.$settings["delimiter"];
$replacement .= $description.$settings["delimiter"];
$replacement .= $Today.$settings["delimiter"].$newline;
The '$imageurl' that was added earlier is no longer needed. You can see a working list here:
http://www.websitemanagers.net/resources/
Jim
Posted: Sun Jan 29, 2006 4:24 pm
by seawind
Well I would love to say that worked but... it didn’t. I downloaded the updated package and uploaded the new addlink.php file but the images still aren’t loading. So I checked the addlink.php file just in case and that new code is there but yet I'm still having the same problem. Maybe if you take a look yourself it might help? Here you go:
http://www.hampton-roads-real-estate.us ... rtners.php
Scroll down to the bottom the rest of them work because I edited them manually.
Thanks,
Ryan