Jump to content


Photo

Sig Shoutbox


  • Please log in to reply
2 replies to this topic

#1 11823

11823
  • New Members
  • Pip
  • Newbie
  • 3 posts

Posted 14 April 2006 - 06:28 PM

Hi im new here so please dont go mad if this is in the wrong place :P

[img src=\"http://www.blisworthfc.com/jamie/shoutsig.gif\" border=\"0\" alt=\"IPB Image\" /]

Thats my sig shoutbox, script provided by [a href=\"http://www.spywire.net\" target=\"_blank\"]http://www.spywire.net[/a]. What I want are some questions answered and if possible, how will I do them :P

1. How can I center all shouts?
2. How can I change the font?

Below is the index of the code.

<?php

// 
// shout sig by tOnk3r od spywire.net
//


header("Content-type: image/png"); 
$file = array_reverse(file('shouts.txt'));

$im = @imagecreate(550, 120) 
   or die("Error! Could not create image stream.s"); 
$background_color = imagecolorallocate($im, 0, 0, 0); 
$text_color = imagecolorallocate($im, 0, 0, 0); 
$trans = imagecolortransparent($im,$background_color);
$i = 1; 
$j = 0; 
foreach ($file as $line_num => $line) { 
    if($i <= count($file)-1) 
        imagestring($im, 2, 5, $j,  substr($line, 0, strlen($line)-1), $text_color);
    else 
        imagestring($im, 2, 5, $j,  $line, $text_color); 
    $j+=15; 
    $i++; 
} 
imagepng($im); 
imagedestroy($im); 
?> 
If anyone can help me it will be highly appreciated :)

-Jamie

#2 11823

11823
  • New Members
  • Pip
  • Newbie
  • 3 posts

Posted 16 April 2006 - 09:43 AM

[!--quoteo(post=364863:date=Apr 14 2006, 01:28 PM:name=Ja(v)ie)--][div class=\'quotetop\']QUOTE(Ja(v)ie @ Apr 14 2006, 01:28 PM) View Post[/div][div class=\'quotemain\'][!--quotec--]
Hi im new here so please dont go mad if this is in the wrong place :P

[img src=\"http://www.blisworthfc.com/jamie/shoutsig.gif\" border=\"0\" alt=\"IPB Image\" /]

Thats my sig shoutbox, script provided by [a href=\"http://www.spywire.net\" target=\"_blank\"]http://www.spywire.net[/a]. What I want are some questions answered and if possible, how will I do them :P

1. How can I center all shouts?
2. How can I change the font?

Below is the index of the code.

<?php

// 
// shout sig by tOnk3r od spywire.net
//
header("Content-type: image/png"); 
$file = array_reverse(file('shouts.txt'));

$im = @imagecreate(550, 120) 
   or die("Error! Could not create image stream.s"); 
$background_color = imagecolorallocate($im, 0, 0, 0); 
$text_color = imagecolorallocate($im, 0, 0, 0); 
$trans = imagecolortransparent($im,$background_color);
$i = 1; 
$j = 0; 
foreach ($file as $line_num => $line) { 
    if($i <= count($file)-1) 
        imagestring($im, 2, 5, $j,  substr($line, 0, strlen($line)-1), $text_color);
    else 
        imagestring($im, 2, 5, $j,  $line, $text_color); 
    $j+=15; 
    $i++; 
} 
imagepng($im); 
imagedestroy($im); 
?> 
If anyone can help me it will be highly appreciated :)

-Jamie
[/quote]

Please Help!!!!!

#3 11823

11823
  • New Members
  • Pip
  • Newbie
  • 3 posts

Posted 19 April 2006 - 01:00 PM

[!--quoteo(post=365262:date=Apr 16 2006, 04:43 AM:name=Ja(v)ie)--][div class=\'quotetop\']QUOTE(Ja(v)ie @ Apr 16 2006, 04:43 AM) View Post[/div][div class=\'quotemain\'][!--quotec--]
Please Help!!!!!
[/quote]

Help!




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users