I've made a PHP script to do it!
Check my siggy, then refresh. Here's the PHP code for those who wants to use it!
<?php Header ("Content-type: image/png"); $img_handle = imageCreate(400,20); $color = ImageColorAllocate ($img_handle, 222, 224, 223); $color2 = ImageColorAllocate ($img_handle, 0, 0, 0); $ip = $_SERVER['REMOTE_ADDR']; $messages = array("Pie.", "Frozen Coco is cool!", "Bronies TROLOLO", "Random Messages are Cool! :D"); $rand = rand(0,sizeof($messages)-1); $font = 'Arial'; imagecolortransparent($img_handle, $color); ImageString ($img_handle, 2, 2, 3, "$messages[$rand]", $color2); ImagePng ($img_handle); ImageDestroy ($img_handle); ?>
Put that into a PHP file, upload it to a webserver, and BBCode IMG it.
[img]blahblah.com/phpfile.php[/img]
Enjoy!
Last edited by fg123 (2012-02-21 21:11:00)
Offline
That's cool!
Offline
Might go in AT.
Offline
Very interesting.
Offline
Belongs in At
This was made already.
Offline
Liru wrote:
Can you make it take my post count from my profile page and put it into a message like that?
Possibly possible. I think sparks would be good at doing that, considering they have created several API's.
Offline
Already been done
But yeah, it's cool and stuff.
Offline
Cool idea!
Offline
fg123 wrote:
Thanks guys!
Liru wrote:
Can you make it take my post count from my profile page and put it into a message like that?
Hmm, possible, might be a bit hard, but possible...
I don't think it is...
Offline
scimonster wrote:
fg123 wrote:
Thanks guys!
Liru wrote:
Can you make it take my post count from my profile page and put it into a message like that?
Hmm, possible, might be a bit hard, but possible...
I don't think it is...
It is.
Offline
Use
imagecolortransparent($img_handle, $colour);
to make it transparent to use on any website rather than just the Scratch Forums.
Image doesn't work even with antidote?
Last edited by nathanprocks (2012-02-21 04:58:58)
Offline
Liru wrote:
Can you make it take my post count from my profile page and put it into a message like that?
I made that for LS97's sig. I dont currently have the script (it was lost on the old mod-share site) so you would need to ask him.
Offline
nathanprocks wrote:
Use
Code:
imagecolortransparent($img_handle, $colour);to make it transparent to use on any website rather than just the Scratch Forums.
http://carrot.cassiedragonandfriends.or … omtext.php
Image doesn't work even with antidote?
Awesome. I did it. It's updated now.
Offline
Can you make one with images?
If so, can you do it with : http://www.lotrspoofs.net/Misc/animatedc4t4p2ltr1ng.gif http://www.lotrspoofs.net/Misc/animatedeowynstar_bybonk.gif and http://www.lotrspoofs.net/Misc/animatedw4lk1nt0m0rd0r.gif ?
I tried, but it didnt work
Last edited by wolvesstar97 (2012-02-24 08:45:35)
Offline
slinger wrote:
Show us your code :p
It should work.
<?php
Header ("Content-type: image/png");
$img_handle = imageCreate(400,20);
$color = ImageColorAllocate ($img_handle, 222, 224, 223);
$color2 = ImageColorAllocate ($img_handle, 0, 0, 0);
$ip = $_SERVER['REMOTE_ADDR'];
$messages = array("", "", " ");
$rand = rand(0,sizeof($messages)-1);
$font = 'Arial';
imagecolortransparent($img_handle, $color);
ImageString ($img_handle, 2, 2, 3, "$messages[$rand]", $color2);
ImagePng ($img_handle);
ImageDestroy ($img_handle);
?>
All it comes up with is:
http://witchkingofangmar.weebly.com/uploads/1/0/1/4/10144921/shoop.php
Last edited by wolvesstar97 (2012-02-24 09:02:05)
Offline
I don't know much php but i'm sure the [img] tags don't need to be there.
<?php Header ("Content-type: image/gif"); $img_handle = imageCreate(400,20); $color = ImageColorAllocate ($img_handle, 222, 224, 223); $color2 = ImageColorAllocate ($img_handle, 0, 0, 0); $ip = $_SERVER['REMOTE_ADDR']; $messages = array("http://www.lotrspoofs.net/Misc/animatedc4t4p2ltr1ng.gif", "http://www.lotrspoofs.net/Misc/animatedeowynstar_bybonk.gif", "http://www.lotrspoofs.net/Misc/animatedw4lk1nt0m0rd0r.gif "); $rand = rand(0,sizeof($messages)-1); imagecolortransparent($img_handle, $color); ImageString ($img_handle, 2, 2, 3, "$messages[$rand]", $color2); ImagePng ($img_handle); ImageDestroy ($img_handle); ?>
Maybe try that :3
Also does weebly support php? ie, can you upload your own php scripts and run them?
Last edited by slinger (2012-02-24 10:14:23)
Offline
slinger wrote:
I don't know much php but i'm sure the [url]tags don't need to be there.
Code:
<?php Header ("Content-type: image/gif"); $img_handle = imageCreate(400,20); $color = ImageColorAllocate ($img_handle, 222, 224, 223); $color2 = ImageColorAllocate ($img_handle, 0, 0, 0); $ip = $_SERVER['REMOTE_ADDR']; $messages = array("http://www.lotrspoofs.net/Misc/animatedc4t4p2ltr1ng.gif", "http://www.lotrspoofs.net/Misc/animatedeowynstar_bybonk.gif", "http://www.lotrspoofs.net/Misc/animatedw4lk1nt0m0rd0r.gif "); $rand = rand(0,sizeof($messages)-1); imagecolortransparent($img_handle, $color); ImageString ($img_handle, 2, 2, 3, "$messages[$rand]", $color2); ImagePng ($img_handle); ImageDestroy ($img_handle); ?>Maybe try that :3
Also does weebly support php? ie, can you upload your own php scripts and run them?
I dont know...
I'll try dropbox.
IT DIDNT WORKK!
Last edited by wolvesstar97 (2012-02-24 12:18:21)
Offline