![]() |
same prob here, if i use Line1 the picture apper without forum info, and if i use Line2 picture not apper....
any clue?! |
I cant tell if imagestring is allowed.
|
OK, because that is required if you cant use imagettftext. I will be back here 2moro. If you urgently need help, e-mail me (dan@collegepranks.co.uk).
|
about line1 it apper when i changed //text-margin from top &&& $top = from 70 to 10 it apper :D
but i want to use line2 for the truetype font!! thanks |
Yer sorry, the margins are set up as they are on my signature!!
You need to be able to use imagettftext function, which has the ability to use a font on your server, however I havnt heard of it too muc, saw it on php.net. Try uploading the verdana font I attached on the last page in the same dir as the signature.php file and see if it works, if not you will need to consult your host. |
I will check here again tommorow as well...its not a big deal, nothing to really worry about, just looked like a kewl thing to have :-D Good work :-D
|
OK, well keep looking and try out the new versions to see how it goes, cheers for your custom tho!
|
DWard,
i have the same here PHP Version 4.3.4 but nothing apper if i use line2 ??! |
yep thats it folks, everyone had the same prob he must check on his site if GD loaded or not by this code:
PHP Code:
l8er :ninja: |
I could understand that web hosts may disallow the imagettftext function as it may take up quite a bit of server resources if used alot.
I will look a bit later into what could be done. I'm sure there's a way round it. |
This might have been posted before but i did not look through all the posts....
If you do not care about the extra load on your server you can make a .htaccess file with this code: IndexIgnore * <Limit GET POST > order allow,deny allow from all </Limit> RewriteEngine on RewriteRule signature.jpg /forum/signature.php [T=application/x-httpd-cgi] Then you would link to signature.jpg from your root folder of your domain ane apache would run the PHP file to get the updated signature. Cheers :) |
Thats quite cool actually.
|
New version out (fixed online users code [was resetting 'most users ever online'])
|
Warning: imagecreatefromjpeg(/public_html/images/sig.jpg): failed to open stream: No such file or directory in /home/rkqxhnvj/public_html/forums/signature.php on line 208
Warning: imagecopy(): supplied argument is not a valid Image resource in /home/rkqxhnvj/public_html/forums/signature.php on line 225 Warning: imagettftext(): Could not find/open font in /home/rkqxhnvj/public_html/forums/signature.php on line 238 Warning: Cannot modify header information - headers already sent by (output started at /home/rkqxhnvj/public_html/forums/signature.php:208) in /home/rkqxhnvj/public_html/forums/signature.php on line 242 PNG IHDRÔw#ÛPLTEÿÿÿ$¡¼tRNS@æØfIDATxí Á  ÷Om7 'äSP£QIEND®B` Warning: imagejpeg(): Unable to open '/public_html/images/signature.jpg' for writing in /home/rkqxhnvj/public_html/forums/signature.php on line 244 I get those errors....Can someone help???? |
Quote:
Also, do you have GD installed? I think you may need GD2. |
Just FYI :) You can solve your vertical issues by investigating the following code, then looking @ this sig :)
PHP Code:
PHP Code:
aka: put your $output in an array - then each line by default is placed on the next line down (the second edit just causes the current line to be output, rather than the whole array) ... then just fiddle with your images size and alignment values ($left and $top) to get it how you want it! :D great work again on the TTF font integrating! |
Quote:
Just concerned about wether or not there had been a mistake in the code on my behalf or if it's just what people have installed on their server. |
No mate - it's just that the code you have has a
PHP Code:
Anyd it should be relatively trivial to have a switch to go from left to right aligned - I did something similar for a automatic label-making website... {look at the PHP Code:
|
I dont understan why the quality of the image created in my server is so poor :(
Check the attachments please. I use compress output with a value of 95, and i'm using GD 2+ Can you give some tip? |
Yeah - there is a line that says imagecreate() - this should be imagecreatetruecolor() :)
|
Quote:
Thanx Natch :) |
Quote:
|
Works perfectly on 3.0.1.
[high]* Intex clicks INSTALL.[/high] |
When the hack is run by vB cron (scheduled tasks), Number of Threads and Number of Posts are always blank, but total members and total online users always show correctly. If I run the cron job manually in scheduled tasks, I get correct stats.
I am really confused! Is it something to do with the query that counts the number of threads/posts?? |
use a regular cron job not vbcron
|
Quote:
Maybe the query needs to be changed a bit. Any suggestion Dward? |
No, I'm not sure how vB does crons, it never worked for me either. My host control panel is Plesk, which does a fine job with crontabs.
|
My host doesn't have GET or HTTPGET installed - is there any system in basic *nix that can allow this to run as CRON ?
|
Quote:
might be able to be done if u have shh control of the machine if not you could always get a third party cron system remote hosted one i mean |
What I'm saying is that I have cron (all nix have it) but the command GET nor HTTPGET are installed on this server ...
|
This might be a little scrappy, and it outputs a load of crap - but it seems to work..
I set a vBCron to run ./signature.php every 25 minutes, and sure enough it works. I don't know if it would log it correctly, since I turned it off - and when you click "Run Now" it outputs a load of nonsense, but it does seem to update signature.jpg :) |
Quote:
/home/username/public_html/forums/file.php |
Well I was wrong.. :(
My method doesn't work correctly - the Thread and Post numbers aren't displayed. https://vborg.vbsupport.ru/ |
Okay I get this error. GD2+ installed, and have the 2 images CHMOD'ed to 777.
Fatal error: Call to undefined function: imagecreatefromjpeg() in /home/wmeadmin/public_html/vb/signature.php on line 208 Can someone please help me? |
probably it was somewhere around here in thread already, but... how make it work with ONLINE.PHP?! now i see only:
Guest Unknown Location /forum/signature.php xxx.xxx.xxx.155 lwp-request/2.06 |
I got it to work with some help from msimplay. Thanks for the help.
|
Quote:
|
Quote:
|
Not sure if it's the same on all servers, but this is how I do my cron:
Minute: 45,0,15,30 Hour: * Day of the Month: * Month: * Day of the week: * Command: GET http://www.collegepranks.co.uk/forums/signature.php >/dev/null 2>&1 Obviously the 'GET http://www.collegepranks.co.uk/forums/signature.php' part is to run it, but the '>/dev/null 2>&1' part stops me from getting a report every time the cron is executed. |
Quote:
|
All times are GMT. The time now is 02:29 AM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|