![]() |
Display Clicks and level in Sig image
Is there a way to Display Clicks and level in Sig image where it says "Click to feed me" etc...?
|
RE: Display Clicks and level in Sig image
It is possible but as I don't use the text (it is hard on the server load) I can't advise you on it. I have removed it from Mystic Grove code. I am sure Brandon or Bloodrun could explain it to you.
|
RE: Display Clicks and level in Sig image
This can be done by editing siggy.php. Look for these lines and edit:
PHP Code:
|
RE: Display Clicks and level in Sig image
Thanks :) Done
|
RE: Display Clicks and level in Sig image
is it possible to change the font of the text?
|
RE: Display Clicks and level in Sig image
No, the actual font will just use whatever GD has as the default font. I haven't been able to get other fonts to work.
|
RE: Display Clicks and level in Sig image
You can use TTF fonts, im just trying to work out how you change the size :(#
For Example: PHP Code:
|
RE: Display Clicks and level in Sig image
The 12's listed in each of the lines control the font size and the other numbers, such as 13, 26, etc control spacing between the lines. :)
|
RE: Display Clicks and level in Sig image
Yes but that only works for system fonts :P not ttf's. This is my problem. It wont change :(
|
RE: Display Clicks and level in Sig image
ok, there's an error at the code, the '12' at "imagestring ($image, 12, 0, $textheight, $str1, $color)" is being referred to a built-in font.. but there are only 5 built-in fonts in php, so 12 is being used as font 5
the 12 is not the size of the font, if you change 12 to 5, you'll see the result is the same. the size (width and height) of the font (each char), is placed at the font file, in this case, in the 5th built-in font if you want to use anotehr font, you can use $font = imageloadfont("font place here"); imagestring ($image, $font, 0, $textheight, $str1, $color); but the font must be .gdf here's a windows converter from ttf to gdf http://www.wedwick.com/wftopf.exe but.. the fonts get pretty ugly anyway -_- so I'm using that in my site: PHP Code:
PHP Code:
thats it :D - Edit - oh, i found another thing the $textheight determines where to place the first string of the text, it cames below the image, so this PHP Code:
PHP Code:
|
All times are GMT -5. The time now is 07:13 AM. |
Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2025, vBulletin Solutions Inc.