Follow us on Twitter!
Society leans ever heavily on computers, if you have the power to take out computers you can take out society. - cubeman372
Wednesday, April 16, 2014
Navigation
Home
HellBoundHackers Main:
HellBoundHackers Find:
HellBoundHackers Information:
Learn
Communicate
Submit
Shop
Challenges
HellBoundHackers Exploit:
HellBoundHackers Programming:
HellBoundHackers Think:
HellBoundHackers Track:
HellBoundHackers Patch:
HellBoundHackers Other:
HellBoundHackers Need Help?
Other
Members Online
Total Online: 21
Guests Online: 20
Members Online: 1

Registered Members: 82807
Newest Member: Black Hawk
Latest Articles
View Thread

HellBound Hackers | General | Graphics

Author

Twitter Sig


Member

Your avatar

Posts:
Location:
Joined: 01.01.70
Rank:
Guest
Posted on 21-05-07 19:05
Hey, I know I don't post in here often, and this is more coding than GFX related, but I wonder what you all think of my new dynamic sig?

Thanks

mozzer

phpgsy.com/twitter.jpg



Author

RE: Twitter Sig

spyware
Member



Posts: 4192
Location: The Netherlands
Joined: 14.04.07
Rank:
God
Warn Level: 90
Posted on 21-05-07 19:07
your text isn't exactly fitting on the sig Wink



img507.imageshack.us/img507/3580/spynewsig3il1.png
"The chowner of property." - Zeph
[small]
Widespread intellectual and moral docility may be convenient for leaders in the short term,
but it is suicidal for nations in the long term.
- Carl Sagan
“Since the grid is inescapable, what were the earlier lasers about? Does the corridor have a sense of humor?” - Ebert
[/s
http://bitsofspy.net
Author

RE: Twitter Sig


Member

Your avatar

Posts:
Location:
Joined: 01.01.70
Rank:
Guest
Posted on 21-05-07 19:07
Yeah, I had wordwrap at 30 rather than 28, which is what its at now


Author

RE: Twitter Sig


Member

Your avatar

Posts:
Location:
Joined: 01.01.70
Rank:
Guest
Posted on 21-05-07 19:08
[edit]Somehow, blue works perfectly with that sig and your username.[/edit]




Edited by on 21-05-07 19:09
Author

RE: Twitter Sig

spyware
Member



Posts: 4192
Location: The Netherlands
Joined: 14.04.07
Rank:
God
Warn Level: 90
Posted on 21-05-07 19:08
mozzer wrote:
Yeah, I had wordwrap at 30 rather than 28, which is what its at now


You should consider making a PNG instead of a PNG



img507.imageshack.us/img507/3580/spynewsig3il1.png
"The chowner of property." - Zeph
[small]
Widespread intellectual and moral docility may be convenient for leaders in the short term,
but it is suicidal for nations in the long term.
- Carl Sagan
“Since the grid is inescapable, what were the earlier lasers about? Does the corridor have a sense of humor?” - Ebert
[/s
http://bitsofspy.net
Author

RE: Twitter Sig


Member

Your avatar

Posts:
Location:
Joined: 01.01.70
Rank:
Guest
Posted on 21-05-07 19:09
Yeah, I may do that

phpgsy.com/twitter.png


Which to use as my sig?




Edited by on 21-05-07 19:42
Author

RE: Twitter Sig


Member

Your avatar

Posts:
Location:
Joined: 01.01.70
Rank:
Guest
Posted on 21-05-07 19:53
The source thing for it

Code
<?php

include ( "xmlparser.php" );
$latest = file_get_contents ( "latesttweet.txt" );
function getLatestTwitter ( $username, $password )
{
   $p = new xmlParser();
   $p->parse ( "http://twitter.com/statuses/user_timeline/mozzer.xml?count=1" );
   return trim ($p->output[0]['child'][0]['child'][2]['content'] );
}

$text = wordwrap ( "Lastest Twitter:\n" . getLatestTwitter("mozzer", "monday"), 27, "\n", true );
if ( $latest !== $text )
{
fwrite ( fopen ( "latesttweet.txt", "w"  ), $text );
$im = imagecreatefromjpeg ( "twittersig.jpg" );
$textcolour = imagecolorallocate ( $im, 0, 0, 0 );
imagettftext ( $im, 10, 0, 160, 50, $textcolour, "georgia", $text );
imagejpeg ( $im, "twitter.jpg" );
imagepng ( $im, "twitter.png" );
imagedestroy ( $im );
echo "Twitter Updated";
} else {
echo "No new twitter";
}
?>




I'll be using the JPG though, 1/3 the file size


EDIT: The actual sig design was by 0rijin4l




Edited by on 21-05-07 20:33