![]() |
Live Statistics Image 1.0.0 Light
Live Statistics Image Light 1.0.0 A great way to display your website's live stats! A 468x60 image is automatically generated with your site's name, url, and a few statistics. Live Demo: http://www.giologist.com/vb/stats_image.php Instructions
|
Can the image be posted anywhere, like signatures on other sites, for example?
I like the sound of this :) |
Quote:
|
Fantastic. I'll be using this, would be good "word of mouth" advertising if I can get my users to use it :D
|
Is the image cached or its generated every time?
If its generated every time, it could be bad for the server load. |
Looks good (Im assuming its a cache)
Also, Im still waiting on that PM Gio~ =) ) |
this is the same as that stats in signature thing a LONG time ago that came out right? but it doesnt make a png image where you can share the image, you need to share the link to the php file?
|
I must admit, it's so simple it hurts my PhP programmer feelings, eheheh
Thank's and bravo. KK |
Wow...
|
Quote:
|
Quote:
|
Quote:
Heh, not so difficult at all. It's just sometimes we over-analyze things and overlook the simpler solutions :p I'm definitely going to look into adding things though, to further allow the image outputted, etc. :) Quote:
|
2 questions : 1. How can i change background colour? i mean defult colour written as $background = imagecolorallocate( $my_img, 255, 255, 255 ); how can i replace white colour with a image?
2. i think it is a different mod but rather than showing forum statistic how can we do it for each user's statistic i usually see that in signatures in different forums by the way great hack (; |
nice hack - but how to change background color?
regards macc |
To change the background color edit the following line in the file:
PHP Code:
If you do not know how to find the red,green,blue components for your desire color, there are an assortment of websites you can resort to such as http://www.pagetutor.com/colorpicker/index.html |
thanks for help!
macc |
Excellent share = Thanx ;)
It would be nice to have a background IMAGE though. Also - is there anyway - to center the text? Thanx. Jacquii. https://vborg.vbsupport.ru/ |
Works great. Thanks.
We use another script, which I wrote to add personal info on ( in our case visas ) Will post cpl of screenies. Reason I am asking, this mod, could pull lots of global info, which would be great for at a glance stuff. Great work mate. The attached image, triggers on hover. Is a writeable png, and is integrated within our forum. I havent released it, as the coding is complex, and beyond most users acceptable mod and template changes. ( Only added this info, as it deploys a dynamic png ) similar to question asked within this thread to view in action: try this link ;) http://www.yobromofo.com/forum/barbi...html#post55601 |
^ Interesting - what script is that?
Jacquii. |
Quote:
|
oops
an error!!! i cant see that php page i cant translate the error writing which shown in ff the error writing in ie Code:
<br /> <b>Fatal error</b>: Call to undefined function: imagecreate() in <b>c:\program files\easyphp1-8\www\forum\stats_image.php</b> on line <b>46</b><br /> |
Why are you calling the stats_image.php locally ?
|
Quote:
i use local vB with easyphp for testing add-ons, styles etc... and,for translating add-ons. is it (using localhost) a problem for this add-on? |
what an excellent work
merci ! |
will u ans. my question?
|
Love this thing. Although how do you edit it so that it links to your website? instead of just the image http://soqpro.com/stats_image.php |
Quote:
imagestring( $my_img, 5, 78, 0, $vbulletin->options[bbtitle], $text_colour ); imagestring( $my_img, 2,95, 15, $vbulletin->options[bburl], $text_colour ); imagesetthickness ( $my_img, 2 ); imageline( $my_img, 0, 30, 300, 30, $line_colour ); imagestring( $my_img, 2,36, 40, "Threads: $total_threads Posts: $total_posts Members: $total_members", $text_colour ); |
installed *
another great feature from u running on my site btw have it installed in my footer also ;) http://www.bullterrierforum.nl/bullf...tats_image.php |
Brilliant little hack :)
Any way to change the font? http://www.theparentingsanctuary.com...tats_image.php |
This script is dangerous. It contains several db queries. By posting it on a busy forum you are effectively creating your own distributed denial of service.
A far more safe way to do this, though not updated in real time, is to run a cron job which creates the signature image every hour or so. In regards to changing font, its pretty straight forward: PHP Code:
|
nobody cares.. the mod rules
|
Quote:
The implementation of a statistics signature for vbulletin is a great idea, though it has been done before, and done better: http://www.vbseo.com/blogs/danny-bem...-generator-63/ Gio deserves rep for it but at the same time, those considering it should be aware of the risk of this code. Read around; lots of admins shy away from installing mods that perform even a single database query on a busy board. Now this does 3 queries for every view of the signature. Say you post this signature on a busy forum with around 100 concurrent users. You are looking at 300 mysql queries to generate a single image. Big problem! |
Quote:
liked this mod but as to the comment you made,your right this is not so good so until i can work out how to cron job it then ive uninstalled. would be nice on some instructions on how to make a cron job which creates the signature image every hour or so. please:) |
Check the link above Carlos. That one has a cron built in.
Maybe Gio will include one in an update too. |
:) ahh fantastic cheers fella
|
Updated stats_image.php to use vbulletin's datastore and forumcache to pull stats, as oppose to running queries for each.
|
Interesting, I like this, Marked Installed.
however, i really do not like the background/font colors, anyway to change this? |
Quote:
Take a look at this image http://www.pchangout.com/forum/sig5.php I just used my own background with it: PHP Code:
|
Awesome idea and very customizable!
Installed :D and because I'm in a good mood, Nominated for MOTM :) https://vborg.vbsupport.ru/ |
Is there a way where you can also include how many members are currently online? Is that possible?
|
All times are GMT. The time now is 05:49 PM. |
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:
|