Graal Forums

Graal Forums (https://forums.graalonline.com/forums/index.php)
-   Graal Main Forum (English) (https://forums.graalonline.com/forums/forumdisplay.php?f=4)
-   -   Lycia (https://forums.graalonline.com/forums/showthread.php?t=309)

Nai 03-18-2001 10:49 AM

I know this is pointless but, LYCIA! STOP CHANGING YO SIGNATURE! EVERYTIME I READ A POST AND YOU HAVE A POST YOU HAVE A DIFFERENT SIGNATURE! thanks

03-18-2001 11:09 AM

I dont think she changes it, there are some scripts that have a random image generator

BruceLee2000 03-18-2001 11:12 AM

haha calm down chief its just a rotating image script

03-18-2001 11:15 AM

I change my image each time I post too! It is a long process though!

SSmutz 03-18-2001 12:32 PM

right click the image on one of her sigs and select Properties (on ie5, i dunno about netscape) and it'll should the image name as sig.php or something like that, which makes a random image pop up there.

vergil 03-18-2001 12:37 PM

nai that is a random image script. Like this:

<?php
header("content-type: image/gif");
srand((double)microtime()*10000000);
$randomtopic = rand(1,5);

if ($randomtopic == "1") {
include "avatar1.gif"; }

else if ($randomtopic == "2") {
include "avatar2.gif"; }

else if ($randomtopic == "3") {
include "avatar3.gif"; }

else if ($randomtopic == "4") {
include "avatar4.gif"; }

else if ($randomtopic == "5") {
include "avatar5.gif"; }

else {
echo "Error: Not found";
}
?>

Crono Illusion 03-18-2001 01:57 PM

Maybe if I had more than one signature I'd do that.

FatherDante 03-18-2001 02:09 PM

I have more than one.... but this is the only one I wanna use. :)

Psyker 03-18-2001 02:47 PM

Laudamus Te, Benedicimus Te, Adoramus Te.
Dante, what does that mean?

FatherDante 03-18-2001 02:51 PM

Hard to translate directly, cause there's no real word in english to plug in for benedicimus, but I think it means something along the lines of "We praise you, we do good for you, we adore you."

Psyker 03-18-2001 02:54 PM

ah, okay. I always wanted to know what that meant. Thanks Dante!

FatherDante 03-18-2001 03:53 PM

Yeah... I stole that from a choir piece by Vivaldi. I guess I should have put in Glorificamus Te in too.

galen 03-18-2001 04:36 PM

Random sig script optomization
 
Use this one if you don't plan to keep adding more and more sigs.
NPC Code:
<?php 
header("content-type: image/gif");
srand((double)microtime()*10000000);
$randomtopic = rand(1,5);
switch ($randomtopic) {
2: include("avatar2.gif");
3: include("avatar3.gif");
4: include("avatar4.gif");
5: include("avatar5.gif");
default: include("avatar1.gif");
}
?>


Use this one if you'd going to add tons of them. This code removes the need to change the code each time you add more.
NPC Code:
<?php 
header("content-type: image/gif");
srand((double)microtime()*10000000);
$i=1;
$handle=opendir("sigs");
while ($file = readdir($handle)) {
if ($file != "." && $file != "..") {
$dirlist[$i] = $file;
$i++;
}
}
closedir($handle);
$randomtopic = rand(1,sizeof($dirlist));
include("sigs/".$dirlist[$randomtopic]);
?>


grim_squeaker_x 03-18-2001 06:29 PM

So...
 
... If you put that in a usual text editor and then safe it as *.php it should work?

Pago 03-18-2001 08:24 PM

Yay! finally, someone posts the random sig script :D

But, uh, how do I implement it into the board? (vB Script)

Lycia 03-18-2001 08:45 PM

You need to upload the code and your graphics to a server that has mySQL support and then you just link to the actual script file, not the graphics.

grim_squeaker_x 03-18-2001 09:52 PM

Blah.
 
Here's a server which supports it:

http://www.f2s.com

You'll need FTP for uploading though.

Nai 03-18-2001 10:56 PM

okay...I see what it does. Sorry Lycia! (what head numbers are those in your sig?) thanx

Pago 03-18-2001 11:12 PM

So I take it that Angelfire doesn't support it :(

Ok...

Fai 03-19-2001 12:40 AM

I don't think those are actual heads.

Nai 03-19-2001 02:01 AM

I know the blue one isnt. But the Red on is. I use it sometimes on Classic.

Lycia 03-19-2001 10:06 AM

The blue one doesn't exist, but the red one is head1157.gif


All times are GMT +2. The time now is 07:09 AM.

Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2026, vBulletin Solutions Inc.
Copyright (C) 1998-2019 Toonslab All Rights Reserved.