Pages: [1] :: one page |
|
Author |
Thread Statistics | Show CCP posts - 0 post(s) |
Dee Ellis
|
Posted - 2006.11.06 20:38:00 -
[1]
Anyone know how to make the signature change in Dark Shikari style?
|
wierchas noobhunter
Caldari Hybrid Syndicate
|
Posted - 2006.11.06 20:42:00 -
[2]
like 20k posts on eve forums ?
|
Araxmas
Caldari Imperial Space Corporation
|
Posted - 2006.11.06 21:02:00 -
[3]
He doesn't have a random setting code or anything he just re-types the sig address very fast. --------
|
Dark Shikari
Caldari Imperium Technologies Firmus Ixion
|
Posted - 2006.11.06 21:06:00 -
[4]
Edited by: Dark Shikari on 06/11/2006 21:10:38
Originally by: Araxmas He doesn't have a random setting code or anything he just re-types the sig address very fast.
How I do it:
Code to link to the sig:
[img]http://tjhsst.edu/~jgarrett/a/a.php?=[RND][/img]
PHP script:
<?php
$extList = array(); $extList['gif'] = 'image/gif'; $extList['jpg'] = 'image/jpeg'; $extList['jpeg'] = 'image/jpeg'; $extList['png'] = 'image/png';
// You don't need to edit anything after this point.
// --------------------- END CONFIGURATION -----------------------
$img = null; $folder = "/afs/csl.tjhsst.edu/user/jgarrett/web-docs/a Your path goes here instead of mine";
if (substr($folder,-1) != '/') { $folder = $folder.'/'; }
if (isset($_GET['img'])) { $imageInfo = pathinfo($_GET['img']); if ( isset( $extList[ strtolower( $imageInfo['extension'] ) ] ) && file_exists( $folder.$imageInfo['basename'] ) ) { $img = $folder.$imageInfo['basename']; } } else { $fileList = array(); $handle = opendir($folder); while ( false !== ( $file = readdir($handle) ) ) { $file_info = pathinfo($file); if ( isset( $extList[ strtolower( $file_info['extension'] ) ] ) ) { $fileList[] = $file; } } closedir($handle);
if (count($fileList) > 0) { $imageNumber = time() % count($fileList); $img = $folder.$fileList[$imageNumber]; } }
if ($img!=null) { $imageInfo = pathinfo($img); $contentType = 'Content-type: '.$extList[ $imageInfo['extension'] ]; header ($contentType); readfile($img); } else { if ( function_exists('imagecreate') ) { header ("Content-type: image/png"); $im = @imagecreate (100, 100) or die ("Cannot initialize new GD image stream"); $background_color = imagecolorallocate ($im, 255, 255, 255); $text_color = imagecolorallocate ($im, 0,0,0); imagestring ($im, 2, 5, 5, "IMAGE ERROR", $text_color); imagepng ($im); imagedestroy($im); } }
?>
-[23] Member-
Awesome new space games site, from the editor of E-ON! |
Cailais
Amarr Khanid Cloning
|
Posted - 2006.11.06 21:09:00 -
[5]
Where does that code 'go' Dark? i.e where should I type it?
C.
www.sefrim.com - sig design - eve mail for details
|
Dark Shikari
Caldari Imperium Technologies Firmus Ixion
|
Posted - 2006.11.06 21:10:00 -
[6]
Edited by: Dark Shikari on 06/11/2006 21:11:16
Originally by: Cailais Where does that code 'go' Dark? i.e where should I type it?
It goes in a PHP file on your server. Of course, your server must also run PHP for it to work.
For me, as you can see by the path, I put it as a.php in a directory called /a/ to minimize the number of characters it took up in the sig.
BTW, if you're wondering what the [RND] does... it sends a random number to the script, allowing it to give different sigs even on a single page (assuming multiple posts on the same page).
-[23] Member-
Awesome new space games site, from the editor of E-ON! |
Dee Ellis
|
Posted - 2006.11.06 21:12:00 -
[7]
Umm, thanks DS, I'm supposd to post the PHP code in the siggy place, right?
|
Dark Shikari
Caldari Imperium Technologies Firmus Ixion
|
Posted - 2006.11.06 21:17:00 -
[8]
Originally by: Dee Ellis Umm, thanks DS, I'm supposd to post the PHP code in the siggy place, right?
No, you post [img]http://tjhsst.edu/~jgarrett/a/a.php?=[RND][/img] (with your own address and all, of course).
There are easier ways to do this: there are some websites that supposedly rotate sigs for you, but I haven't gotten any to work.
-[23] Member-
Awesome new space games site, from the editor of E-ON! |
Dee Ellis
|
Posted - 2006.11.06 21:24:00 -
[9]
Thanks alot :) I'll see if I can get this going
|
Dee Ellis
|
Posted - 2006.11.06 21:49:00 -
[10]
So what foldr should I put the images in? /image/jpeg?
|
|
Dark Shikari
Caldari Imperium Technologies Firmus Ixion
|
Posted - 2006.11.06 21:50:00 -
[11]
Originally by: Dee Ellis So what foldr should I put the images in? /image/jpeg?
No, you put it in the folder you specified where I noted with the yellow text.
-[23] Member-
Awesome new space games site, from the editor of E-ON! |
Dee Ellis
|
Posted - 2006.11.06 21:51:00 -
[12]
Mmkay lemme try this again then
|
Dark Shikari
Caldari Imperium Technologies Firmus Ixion
|
Posted - 2006.11.06 22:00:00 -
[13]
Originally by: Dee Ellis Mmkay lemme try this again then
You're getting a 404 error--did you upload the file as a.php?
-[23] Member-
Awesome new space games site, from the editor of E-ON! |
ParMizaN
Body Count Inc. Mercenary Coalition
|
Posted - 2006.11.06 22:04:00 -
[14]
sig.aftermath/cx DID work for me (and sort of still does) but i just tried adding another sig and it seems it wont take any more uploads.
If i could be bothered etting up a space etc for all of that i would ;p
|
Dark Shikari
Caldari Imperium Technologies Firmus Ixion
|
Posted - 2006.11.06 22:08:00 -
[15]
Originally by: ParMizaN If i could be bothered etting up a space etc for all of that i would ;p
Its actually really easy. The main bother is getting a server that has PHP installed
-[23] Member-
Awesome new space games site, from the editor of E-ON! |
Dee Ellis
|
Posted - 2006.11.06 22:09:00 -
[16]
Originally by: Dark Shikari
Originally by: Dee Ellis Mmkay lemme try this again then
You're getting a 404 error--did you upload the file as a.php?
ay, the issue is just the the server is a weeee bit slow and takese a bit to fix it all, I noticed.. 5more minutes
|
Dee Ellis
|
Posted - 2006.11.06 22:14:00 -
[17]
Edited by: Dee Ellis on 06/11/2006 22:16:17 I feel so leet right now edit: Mow for fixing the file size...
|
Dee Ellis
|
Posted - 2006.11.06 22:21:00 -
[18]
Final post:
Victory!!
Thanks DS, helpful as always
|
Dark Shikari
Caldari Imperium Technologies Firmus Ixion
|
Posted - 2006.11.06 22:25:00 -
[19]
Originally by: Dee Ellis Final post:
Victory!!
Thanks DS, helpful as always
-[23] Member-
Awesome new space games site, from the editor of E-ON! |
niko86
Quantum Industries Prime Orbital Systems
|
Posted - 2006.11.06 22:48:00 -
[20]
Or for the lazy like me i found this Linkage not certain it still runs though
- Transire suum pectus mundoque potiri |
|
Dee Ellis
|
Posted - 2006.11.06 22:52:00 -
[21]
Originally by: niko86 Or for the lazy like me i found this Linkage not certain it still runs though
But that's not as fun as doing it yourself
|
Dark Shikari
Caldari Imperium Technologies Firmus Ixion
|
Posted - 2006.11.06 22:57:00 -
[22]
BTW, here's a trick for you. If you're on a PHPBB or Invision board, neither of which support links to ".php" files as sigs, here's how to make it work anyways.
Instead of [img]http://domain.com/directory/file.php[/img],
use [img]http://domain.com/directory/file.php/a.png[/img]
-[23] Member-
Awesome new space games site, from the editor of E-ON! |
Dee Ellis
|
Posted - 2006.11.06 23:04:00 -
[23]
Btw DS, are you animating those little what's their names in your sig yourself or do you just have any insanely big amount of pics?
|
Dark Shikari
Caldari Imperium Technologies Firmus Ixion
|
Posted - 2006.11.06 23:06:00 -
[24]
Edited by: Dark Shikari on 06/11/2006 23:07:29
Originally by: Dee Ellis Btw DS, are you animating those little what's their names in your sig yourself or do you just have any insanely big amount of pics?
Most tachikoma pics were taken from a Google image search or a screenshot of an episode of Ghost in the Shell.
Note about half of my sigs were made by EVE players other than me.
-[23] Member-
Awesome new space games site, from the editor of E-ON! |
Bombasy
Gallente
|
Posted - 2006.11.06 23:07:00 -
[25]
Edited by: Bombasy on 06/11/2006 23:07:49 DS, you could at least link to the source of your php rotator:
http://automaticlabs.com/products/rotator Your signature is inappropriate. If you have any questions, email us at [email protected] Tirg
Your signature is inappropriate. Please email [email protected] if you want to know why -Eldo
|
Dark Shikari
Caldari Imperium Technologies Firmus Ixion
|
Posted - 2006.11.06 23:08:00 -
[26]
Originally by: Bombasy Edited by: Bombasy on 06/11/2006 23:07:49 DS, you could at least link to the source of your php rotator:
http://automaticlabs.com/products/rotator
I got mine from an EVE forum post a while back, so I would have no idea it was from there.
-[23] Member-
Awesome new space games site, from the editor of E-ON! |
Dee Ellis
|
Posted - 2006.11.06 23:10:00 -
[27]
hey why does your sigs change hal way trough the thread while mine doesnt?
|
Dark Shikari
Caldari Imperium Technologies Firmus Ixion
|
Posted - 2006.11.06 23:14:00 -
[28]
Originally by: Dee Ellis hey why does your sigs change hal way trough the thread while mine doesnt?
Because of the [RND]. Yours should also, but it doesn't always work right. Its pretty random.
-[23] Member-
Awesome new space games site, from the editor of E-ON! |
Dee Ellis
|
Posted - 2006.11.06 23:17:00 -
[29]
Aha! Bloody hell things are working!
Here comes the 13:37 train! w00t w00t!!
Sorry it just slipped out...
|
|
|
|
Pages: [1] :: one page |
First page | Previous page | Next page | Last page |