Some suggestions for link manager

Everything related to LinkMan - reciprocal links manager
Post Reply
prurient
Posts: 1
Joined: Tue Jan 06, 2009 12:46 am

Some suggestions for link manager

Post by prurient »

Script URL:http://prutube.co.uk/linkman/links.php
Version of script:1.5
Hosting company:
URL of phpinfo.php:
URL of session_test.php:
What terms did you try when SEARCHING for a solution:

Write your message below:

I was asked by Klemento post my suggestions so here goes:-

I would like to suggest some features

1. thumbnails:- ability to upload thumbnail
I find that thumbnail.com is not very reliable for me.

2. provide a second html link that would include a link to your banner.


Thanks Ron
Klemen
Site Admin
Posts: 10116
Joined: Fri Feb 11, 2005 4:04 pm

Post by Klemen »

Hi,

Indeed something to think about for future versions. You can create a temporary solution though:

1. If you can name all the images as raw encoded URLs (for example use image named http%3A%2F%2Fwww.google.com.jpg for http://www.google.com) and upload images to the "img" folder of linkman you can make it work by changing line 73 in links.php to:

Code: Select all

$thumb_code = '<td valign="top" class="linkman"><img src=img/"'.rawurlencode($url).'.jpg" style="vertical-align: middle;" border="1" width="120" height="90" alt="Thumbnail">&nbsp;</td>';
If you're not sure how to encode URLs for image names use this tool:
http://www.photonwebhosting.com/tools/iencode.php

So for http://www.google.com you would use image named http%3A%2F%2Fwww.google.com.jpg (encoded URL + ".jpg")


2. You can add any code you wish at the top of the submit form in links.php, just paste it above

Code: Select all

<p><b>&raquo; Step 2: Submit your link</b></p>
Can be something like this, just change banner location:

Code: Select all

<p><textarea rows="4" cols="60" onfocus="this.select()"><a href="<?php echo $settings['site_url']; ?>"><img src="http://yoursite.com/banner.gif" border="0" alt="<?php echo htmlspecialchars($settings['site_title']); ?>"></a></textarea></p>
Klemen, creator of HESK and PHPJunkyardWas this helpful? You can buy me a drink here Image

Image 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
Post Reply