Support Forums

Full Version: PHP Signature Rotator with Links
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Hello,

I am in need of a PHP signature rotator, with links.

So, for example, if I have two signatures in the script, each time I reload the script, it displays a signature (image) with a link attached to the image.

I need it so it'll work on a MyBB forum with the image tag. [img][/img]

I was thinking of using the PHP dynamic image, but not sure how I would incorporate an array with different image links with URLs attached to them.

Please let me know if I need to explain more.

Thanks in advance.
You can't do this where the link changes without a plugin on the site itself. Is that what you want?
I am a bit confused on what he is talking about.

Is he asking for a plugin?
Actually you can do that. Not with MyBB because of its limitations, but yes with PHP.

<?php
header("Content-type: image/png");

$my_img = imagecreate( 100, 100);
$background = imagecolorallocate( $my_img, 33, 33, 33);
imagesetthickness ( $my_img, 5 );
imagepng( $my_img );
imagecolordeallocate( $background );
imagedestroy( $my_img );
?>

This image is just a gray square, 100x100.
Since MyBB only allows image files, you need to save it as .PNG now go to your .htaccess file and add the following line.

AddType application/x-httpd-php png

Now it will treat all .PNG files as if they were .PHP.
So that is just the basic of dynamic images, you can definately find many more tutorials on the internet.
(07-07-2010, 01:05 PM)[ Process.xSs ] Wrote: [ -> ]http://www.clintonio.com/home/

http://freeforumsigs.com/ffs6/index.php?...Itemid=107

;)

Thats what he means?

I couldn't figure what he meant on OP
If you use that script, you still address the image as the PHP link.
I think you are after a site called grumpybumpers.
(12-06-2010, 01:33 AM).Shannon Wrote: [ -> ]I think you are after a site called grumpybumpers.

Yeah or he could program it himself.
(07-07-2010, 01:05 PM)[ Process.xSs ] Wrote: [ -> ]http://www.clintonio.com/home/

http://freeforumsigs.com/ffs6/index.php?...Itemid=107

;)

very nice mate thanks for sharing.