![]() |
$width = 258;//Width of banner image
$height = 65;//Height of banner image $left = 5; //Left text-margin $top = 40; //text-margin from top $zeilenabstand = 15; //Line-spacing of text Is mine, notice the top, ya need change it till is right . Myself I used psp to find the pixel location I wanted. |
PHP Code:
|
n/p man , ack i forgot the \n at end :( sorry about that.
|
Brand new version installed... All I get is a white page. The JPEGs aren't updating either.
|
Oh, whoops. :o
Don't save PHPs as Unicode. :) |
i keep getting this error:
Quote:
|
Quote:
|
Now.. i ve followed the discussion all along now.
But there is my problem right now. Right now my Sig. looks like this: http://www.e34m5.de/board/signature.php and the code looks like this: PHP Code:
When i want to have the total post etc in my sig. i would change it to the following code: PHP Code:
Code:
Fatal error: Call to a member function on a non-object in /is/htdocs/42170/www.e34m5.de/board/signature2.php on line 77 PHP Code:
What am i doing wrong?!!? |
How do I add an option to show how many users are online?
|
thx m8 :)
|
|
Is it possible to run Multiple Banners with this stats hack in each different one? I would like to have about 5 different banners for one of my communities, each focusing on a specific area I want to reach out to..
Thanks, David |
Great hack! I've been looking at this one for awhile, but didn't have GD 2.0+ on my server. I finally spent an hour last night upgrading PHP and GD. I then installed this hack without any issues. Thanks again for this hack!
|
[high]* Intex clicks Install. Great hack :).
[/high] Anybody have the adjusted code that displays Online users? |
My image doesn't seem to be updating itself via the cronjob. Any tips on how to make sure it will update without having to run signature.php to update it manually?
-y2k- |
Quote:
|
Works on vB3 without any change in code! :D Great hack!
|
Quote:
|
will this work with gif images?
|
My cronjob doesn't seem to want to work with this...
What do I need to make sure I'm doing right so that it works? Thanks. -y2k- |
anyone know an update for this for VB3?
|
Hope not everybody is sick and tired of answering the question. But I've thoroughly searched the thread and I couldn't find the answer.
Q: I have GD2 installed (i.e. phpinfo says: GD Version bundled (2.0 compatible)) and I've chmodded my targetdir to 777. But the picture file doesn't show up. I can run the signature.php file and then I see what I would like to see. But I want the image-file. Can anybody help me? I know there were people in this thread with similar problems and I can see by their signature they've solved that :laugh: Tnx in advance Idea: You can easiliy put the picture file on your Windows desktop and have it refreshed as much as you like. |
Ok,
I've commented all kinds of lines out to try to focus on the wrong line. I cannot find it. Problem: I can't generate a picturefile, not a jpg not a png. But: I can run de php.file, and I can see the png-file, exactly the way I like it. There are no error messages. System: I have GD2 and php 4.3.0 installed. And chmodded the picturedir to 777. I have Photopost working with GD as well. These are my last 4 lines: header("Content-Type: image/png"); imagepng($img); imagejpeg($img, $ausgabedatei, $komprimierung); //Write jpg to folder and set compression imagedestroy($img); // get the image out of memory Firstly: I want to know how to fix this, but secondly: why is the png file swapped into a jpeg? Can I skip that?) |
Solved it! Don't ask me how, but it works. In order to improve the interaction on this thread ;-) : I also added the total number of pictures of my photopost-section. Here it is (note that my photopost prefix is pp, if yours is different change that in the query below, eg. you have xx as photopost prefix, change ppphotos into xxphotos):
find: mysql_free_result($threada); after that add: //get total photos $queryd="SELECT COUNT(*) AS ppphotos FROM ppphotos"; $ppphotosa = mysql_query_eval($queryd,$link); $ppphotosb = mysql_fetch_array($ppphotosa); $totalphotos=number_format($ppphotosb['ppphotos']); mysql_free_result($ppphotosa); And replace: $text = "Members: $numbermembers\nThreads: $totalthreads\nPosts: $totalposts\n"; Into: $text = "Members: $numbermembers\nThreads: $totalthreads\nPosts: $totalposts\nPhoto's: $totalphotos\n"; I like this, because I now have immediately information on my frontpage about the status of all content, including photos. |
this works without any dramas for VB3.
Christian |
Quote:
Meh, whatever, it works. :) |
I quite liked this hack over on Invision boards, and was all excited to see it here...unfortunately, when I call signature.php, all I get are lots of
Warning: mysql_free_result(): supplied argument is not a valid MySQL result resource in errors. Any ideas? |
not working for v3 for me...
can ne1 help me with it... |
ne1 got this working on vb3??????
|
Yer I developed the script for vb3, search for Signature Stats and you should find it :)
|
I've been unable to get this to create the jpg when run as a cron job but it will if I call the php script directly... some others here have run into that problem, how did you solve it?
Thanks, Scuzzy |
All times are GMT. The time now is 04:21 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:
|