Here is an example of how to make a randomised signature, that works with vBulletin's URL filtering (I am using it right now):
The comments should be self-explanatory. Now, to make it work with HabboxForum, assuming you have saved the above as signature.php, make a file called ".htaccess" and put the following in it:PHP Code:<?php
// NintendoNews on HabboxForum
// Minimalistic Lyrics Signature
$random = rand(1,4); // How many signature do you want to pick from? Replace 4 with the number
// Make an if statement like this for each signature, replacing
// "1" with the number of signature, and for example symphony.gif
// with yoursignature.gif
if ($random == 1)
{
header("Location: symphony.gif");
}
if ($random == 2)
{
header("Location: ruby.gif");
}
if ($random == 3)
{
header("Location: crymeariver.gif");
}
if ($random == 4)
{
header("Location: iwrotethegospel.gif");
}
?>
What that does it makes it so that whenever the server detects you accessing signature.gif, it will send you to signature.php, which will then redirect you to the image. Then, you can put it into your signature in the normal way, just use the normal BBCODE, but link to the actually non-existent signature.gifRewriteEngine on
RewriteRule ^signature\.gif$ signature.php![]()






Reply With Quote




