Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > vBulletin 3.7 > vBulletin 3.7 Add-ons

Reply
 
Thread Tools
Live Statistics Image 1.0.0 Light Details »»
Live Statistics Image 1.0.0 Light
Version: 1.00, by Gio~Logist Gio~Logist is offline
Developer Last Online: Oct 2022 Show Printable Version Email this Page

Category: Mini Mods - Version: 3.7.3 Rating:
Released: 10-01-2008 Last Update: 11-23-2008 Installs: 37
 
No support by the author.

Brought To You By
ModernvB - Vbulletin Solutions & Services
http://www.modernvb.com

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:



Instructions
  • Upload stats_image.php
  • Get ready to link it away
    (it can be used in pretty much any image tag where dynamic images are accepted)

Show Your Support

  • This modification may not be copied, reproduced or published elsewhere without author's permission.

Comments
  #22  
Old 10-04-2008, 02:01 PM
TilkiBey's Avatar
TilkiBey TilkiBey is offline
 
Join Date: Jul 2008
Location: Konya, TR
Posts: 79
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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 />
Reply With Quote
  #23  
Old 10-04-2008, 10:47 PM
TimberFloorAu's Avatar
TimberFloorAu TimberFloorAu is offline
 
Join Date: May 2008
Location: Brisbane
Posts: 2,264
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Why are you calling the stats_image.php locally ?
Reply With Quote
  #24  
Old 10-05-2008, 08:37 AM
TilkiBey's Avatar
TilkiBey TilkiBey is offline
 
Join Date: Jul 2008
Location: Konya, TR
Posts: 79
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by TimberFloorAu View Post
Why are you calling the stats_image.php locally ?
coz i dont ve an online vB site for now

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?
Reply With Quote
  #25  
Old 10-05-2008, 07:20 PM
star88 star88 is offline
 
Join Date: May 2008
Location: France
Posts: 36
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

what an excellent work
merci !
Reply With Quote
  #26  
Old 10-11-2008, 04:09 PM
TilkiBey's Avatar
TilkiBey TilkiBey is offline
 
Join Date: Jul 2008
Location: Konya, TR
Posts: 79
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

will u ans. my question?
Reply With Quote
  #27  
Old 10-12-2008, 05:25 AM
soqzippo soqzippo is offline
 
Join Date: Sep 2008
Posts: 19
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Love this thing. Although how do you edit it so that it links to your website? instead of just the image


Reply With Quote
  #28  
Old 10-12-2008, 05:28 AM
soqzippo soqzippo is offline
 
Join Date: Sep 2008
Posts: 19
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by PoetJA-1975 View Post
Excellent share = Thanx
It would be nice to have a background IMAGE though.
Also - is there anyway - to center the text?

Thanx.

Jacquii.

Change the numbers in red higher or lower


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 );
Reply With Quote
  #29  
Old 10-12-2008, 06:11 AM
denman75 denman75 is offline
 
Join Date: Aug 2006
Location: Netherlands
Posts: 228
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

installed *
another great feature from u running on my site
btw have it installed in my footer also

Reply With Quote
  #30  
Old 10-18-2008, 10:07 AM
RedTrinity's Avatar
RedTrinity RedTrinity is offline
 
Join Date: Mar 2008
Location: QLD, Australia
Posts: 265
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Brilliant little hack

Any way to change the font?

Reply With Quote
  #31  
Old 10-20-2008, 01:42 PM
dodjer42's Avatar
dodjer42 dodjer42 is offline
 
Join Date: Jul 2006
Posts: 93
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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:
$font_size "10";
$font_file "bombard.ttf"
imagettftext($my_img$font_size305$text_colour$font_file$vbulletin->options[bbtitle]); 
Font must be a true type.
Reply With Quote
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 06:03 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
  • Page Generation 0.08058 seconds
  • Memory Usage 2,304KB
  • Queries Executed 25 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (1)bbcode_code
  • (1)bbcode_php
  • (2)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (6)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (11)post_thanks_box
  • (11)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (11)post_thanks_postbit_info
  • (10)postbit
  • (11)postbit_onlinestatus
  • (11)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete