Misc Links
Forum Archive
News Archive
File DB
 

Ads
 

Advertisement
Unlock your Iphone
Unlocking and Jailbreaking your iPhone isn't easy. We recommend Unlock iPhone 3G Software!
 

Latest Forum Topics
Vmware Shifts Pricing Strategy
Posted by Red Squirrel
on Sep 02 2010, 7:09:04 pm

Badass Chipmunk
Posted by Triple6_wild
on Sep 01 2010, 1:06:15 am

Evony Farming And Building Helper Tool
Posted by Red Squirrel
on Sep 01 2010, 4:40:12 pm

I Just Thought Of A Cool Invention
Posted by rovingcowboy
on Aug 31 2010, 12:21:50 am

Shocks Dangerous?
Posted by Triple6_wild
on Aug 30 2010, 10:26:12 pm

 



Send spam to: website@xeonlive.com nick@xeonlive.com georgiapeach1241@aol.com
How to make a dynamic forum signature
Make people wonder...
By Red Squirrel


Ever thought it would be cool to have a forum signature that changes every time? But figured it would be a pain to somehow have an automated process upload a new one ever N minutes? Well it's very simple, and does not require anything but a bit of php code, so you do need a php enabled host. You don't even need lot of bandwidth either! This short guide will show you how you can make your own rotational signature for use in forums, emails and other places!

Setting up the folder
First, you need to setup a folder where the main image is. The main image is the image you will link to, this is actually not an image but php code which we will look at soon. You need to be running a server that uses apache and php, and type the following in your .htaccess file:

ForceType application/x-httpd-php

You should also create a file called "number.txt" which is used in the code to randomize the image. This will force all files to run as php. There's other ways of doing it so it only affects specific files, but this is the simplest one and works well since you can use a gif file or whatever, heck, you can even start your own service and put everyone's sig in that folder! If you want to specify specific files to run as php, you can lookup apache's documentation for other ways to do this, but in this case we'll simply make a folder that parses everything as php.
Notice: Do not store any other files in this folder, this folder should only be for the "fake" image and number.txt.


Next Page
spacer
37667 Hits Pages: [1] [2] 121 Comments
spacer


Latest comments (newest first)
Posted by ZenithalRavage on May 05th 2005 (13:11)
phew, Imagettftext works now! I got a reply from my webhost and all I had to do was put ./ infront of the fontname, so instead of:

$font = "arial.ttf";

this:

$font = "./arial.ttf";

sheesh huh.gif

So if someone has similar problems and the host does not allow the GDFONTPATH command, this could be your solution wink.gif

spacer
Posted by ZenithalRavage on May 05th 2005 (14:28)
QUOTE (Streety @ May 7 2005, 09:19 AM)
Hey, that is getting better! smile.gif

The text starts to fade out a bit as it goes across into the darker background. You could try creating a shadow as in the script from the php.net site. Might make it a bit more clear.

thanx, well I lightend the background a bit more, this is pretty much how I want it wink.gif
sig's here don't allow hyperlinking an image that sucks but this is possible on almost every other site I'm on so there the image links to my site, pretty cool stuff cool.gif

spacer
Posted by Streety on May 05th 2005 (08:19)
Hey, that is getting better! smile.gif

The text starts to fade out a bit as it goes across into the darker background. You could try creating a shadow as in the script from the php.net site. Might make it a bit more clear.

spacer
Posted by ZenithalRavage on May 05th 2005 (07:51)
Sorry for posting again, but this imagestring isn't half bad, see what I baked in the oven:

http://www.a-base.dds.nl/sig_rss/zr_sig_rss.php dancingbanada.gif

spacer
Posted by ZenithalRavage on May 05th 2005 (07:24)
Hey I'm getting closer!

I had to rearrange the code a bit behind imagestring but at least it's taking info from the feed now!

http://www.a-base.dds.nl/sig_rss/rss_image_d.php
http://www.a-base.dds.nl/sig_rss/rss_image_d.txt <-code

woei!

spacer
View all comments
Post comment


Top Articles Latest Articles
- What are .bin files for? (592341 reads)
- Big Brother and Ndisuio.sys (143053 reads)
- PSP User's Guide (127666 reads)
- Text searching in linux with grep (115018 reads)
- SPFDisk (Special Fdisk) Partition Manager (101077 reads)
- Dynamic Forum Signatures (version 2) (4640 reads)
- Successfully Hacking your iPhone or iTouch (14321 reads)
- Ultima Online Newbie Guide (25017 reads)
- BBcode editor: PHP - The sensible approach (17877 reads)
- The Hitch Hikers guide to "the mouse" (15273 reads)
corner image

This site best viewed in a W3C standard browser at 800*600 or higher
Site design by Red Squirrel | Contact
© Copyright 2010 Ryan Auclair/IceTeks, All rights reserved