PDA

View Full Version : PHP GIF Topics 1.0


05-07-2000, 11:23 PM
http://www.glcomputers.com/Wandrer/PHP-GIFTopics1-0.zip

You've seen them on ABC.com and others - the animated gif of the latest headlines:

http://abc.go.com/

http://www.abcnews.go.com/data/abcheadlines.gif

Now available for vBulletin. Display the latest headlines/topics/posts of your forum with an animated GIF. Great for letting people display on their website with a link to your forum. Use any background image that you want and this program will put the topics and snippet of message over the top of it.

Samples:

http://www.glcomputers.com/Wandrer/titles-font1.gif
http://www.glcomputers.com/Wandrer/titles-font2.gif
http://www.glcomputers.com/Wandrer/titles-font3.gif
http://www.glcomputers.com/Wandrer/titles-font4.gif
http://www.glcomputers.com/Wandrer/titles-font5.gif

Requirements:

PHP compiled with GD 1.2(a version with GIF support)
CRON - to automatically create the GIF images every x minutes.
MULTIGIF - an ANSI C program to generate an animated GIF from the individual frames (included in zip).

The latest versions of GD do not have GIF support, so you will need v1.2-1.4 (if I am not mistaken).

Email me at wandrer@glcomputers.com if you have any questions.



[Edited by wandrer on 05-08-2000 at 09:04 AM]

05-08-2000, 01:03 AM
Short, Sweet, and to the point docs.

-----

1) Extract multigif source files using 'uncompress' and 'tar'.

2) Compile the multigif file following the instructions in its readme files.

3) Make a directory (above the webroot) for the multigif binary.

4) Edit the giftopics.php3 changing variables as needed.

5) Edit the animate.sh script changing directories as needed.

6) Place the animate.sh script with the giftopics.php3 script in a web directory.

7) Run the giftopics.php3 script and check for any errors.

8) Check your error_log file for any error messages.

9) Check to see if your completed animation file is where you wanted it to be put.

10) Link to the completed animation file from your website.

11) edit your cron to have the php script executed every x minutes.

Note:

This script can be very advanced and may be hard to get working right.

The script requires a version of GD that has GIF support. If you get an error saying
something like 'unknown command imagegif' then you need to make sure you have a older
version of GD.

Some people many need to make sure that animate.sh and/or multigif are chmod 755.

The first thing to check is that multigif generates an animated gif (check by uploading
a few gifs and running it as per animate.sh). The next thing to check is that all your
directories are correct. Remember that your webserver is running this program so they
may not be your actual directories (/usr/home/<username>/www/htdocs/forum/giftopics/)
- instead they may be your website directories (/forum/giftopics/). As always, check
your webserver error logs to see what errors/messages the script generates.

This script does what I need it to do, so features like:

Generating animated gifs for each forum - Random Advertisements placed in certain frames -
Additional info/animation effects in final gif

are just some of the additional features that could be in a 'professional version' of this
program.

Contact me at wandrer@glcomputers.com if you are interested in any of the above features.

5/8/00

05-08-2000, 05:51 AM
I just wish I could run it...

05-08-2000, 05:54 AM
Why cant you run it ?

amykhar
05-24-2003, 03:13 PM
Deleted cause hack long gone.

Amy