vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   Member Archives (https://vborg.vbsupport.ru/forumdisplay.php?f=202)
-   -   [RELEASE] VBStats version 1.0 (https://vborg.vbsupport.ru/showthread.php?t=18652)

12-27-2000 12:00 PM

Great hack. Can I see one done in english?

12-30-2000 06:09 AM

ImageTtfBBox: No TTF support in this PHP build in /home/httpd/html/forum/stats/ykcee.php on line 436

I got this error for the images. What's wrong.

12-30-2000 06:55 AM

Quote:

Originally posted by theprof
ImageTtfBBox: No TTF support in this PHP build in /home/httpd/html/forum/stats/ykcee.php on line 436

What Version of PHP are you running on your server?

12-30-2000 08:29 AM

<a href="http://www.adolescentadulthood.com/phpinfo.php" target="_blank">http://www.adolescentadulthood.com/phpinfo.php</a>

You can get the info from there.

It's 4.0.3pl1 I think that perhaps my webhost hasnt installed ttf support, and i've asked them to do it for me.

12-30-2000 08:39 AM

thats the most likely reason :)

12-31-2000 11:47 PM

This is what my webhost said:

I have recompiled your php with version 4.0.4. According to http://www.adolescentadulthood.com/info.php ttf support is included in this build of php. However, ttf support is shown to be not included by http://www.adolescentadulthood.com/f...t=users&max=15

Can anybody help?

01-01-2001 12:06 AM

You need to compile TTF support into the GD library...

It should be:
gd
GD Support enabled
GD Version 1.6.2 or higher
FreeType Support enabled
FreeType Linkage with TTF library
GIF Support enabled

01-01-2001 04:47 AM

Thank you. I will notify them immediately. I dont dare mess with the settings myself.

01-27-2001 05:00 PM

i had to change my $graph->SetFileFormat("gif"); to png ($graph->SetFileFormat("png");) because i am running gd 1.8.3. but somehow all the images turn out to be fully black (nothing else)

another question i saw someone running a gd version highter than 1.6.2 with GIF support ? i thought they removed GIF support since version 1.6 due to legal problems ... ?

any help here is appreciated

thanks in advance

[edit]:
my gd specs.

GD Support enabled
GD Version 1.6.2 or higher
FreeType Support enabled
FreeType Linkage with TTF library
PNG Support enabled

02-06-2001 04:15 PM

Hi there i was just wondering if one of you ever find why we get broken image...i have read all the tread make the change but still get this broken image if someone ever figure out plz let me know

btw cool hack

02-13-2001 11:25 AM

this is the mysql error i get

Database error in vBulletin: Invalid SQL: SELECT username FROM user
WHERE userid =
mysql error: You have an error in your SQL syntax near '' at line 1
mysql error number: 1064
Date: Tuesday 13th of February 2001 01:23:17 PM
Script:
/vb/stats/vbstats.php?orderby=&what=members&userid=&max=15&i ncreased=
Referer:

and this are my gd option

GD Support enabled
GD Version 1.6.2 or higher
FreeType Support enabled
FreeType Linkage with TTF library
JPG Support enabled
WBMP Support enabled

02-14-2001 10:35 AM

ok i have solve the problem its alwais work better when you right jpg insted of jgp ;)

we gone have it

SilverBoy 04-08-2001 11:58 PM

I wanna translate the words that appear in the graphs, help plz.

Jarrod 04-13-2001 01:01 AM

I cant download the hack anymore. There seems to be a problem with your DNS Mas*Mind.
Also, I would love to see an english version of the hack too.

Mas*Mind 04-13-2001 06:37 AM

Link's fixed...I see what I can do about an English version

SilverBoy 04-15-2001 11:21 AM

I wish some one who is have an english demo put the link here coz I want to translate the hack too ;).
or plz MAssMind change the code to english, plz .

SilverBoy 04-17-2001 01:56 PM

ummmmmmmm......

Mas*Mind 04-17-2001 02:04 PM

It's easy to translate...Just open vbstats.php and change

PHP Code:

    $AxisXmonth "Per maand";
    
$AxisXweek "Per week";
    
$AxisXday "Per dag";
    
$AxisY "";
    
$noDataText "Sorry, op dit moment is er geen data beschikbaar";
    
$dayFormat "%a %e %b %Y";
    
$weekFormat "Week %u";
    
$monthFormat "%b %Y";
    
$memberStatsTitle "Geplaatste posts door %s";
    
$memberStatsLegend "Geplaatste Posts";
    
$postStatsTitle "Geplaatste posts";
    
$postStatsLegend "Nieuwe posts";
    
$threadStatsTitle "Geplaatste threads";
    
$threadStatsLegend "Nieuwe threads";
    
$userStatsTitle "Nieuwe leden";
    
$userStatsLegend "Nieuwe leden"

to

PHP Code:

    $AxisXmonth "Per month";
    
$AxisXweek "Per week";
    
$AxisXday "Per day";
    
$AxisY "";
    
$noDataText "Sorry, not data available at this moment";
    
$dayFormat "%a %e %b %Y";
    
$weekFormat "Week %u";
    
$monthFormat "%b %Y";
    
$memberStatsTitle "New posts by %s";
    
$memberStatsLegend "New Posts";
    
$postStatsTitle "New Posts";
    
$postStatsLegend "New Posts";
    
$threadStatsTitle "New Threads";
    
$threadStatsLegend "New Threads";
    
$userStatsTitle "New Members";
    
$userStatsLegend "New Members"


SilverBoy 04-18-2001 05:56 PM

if I want to change the font how I can do it, becaust my language doesn't suport this font, and how I can add vbtitle image and header and footer and fivelinks template to the templates, I tried it but failed. thx again :cool:

Mas*Mind 04-18-2001 06:31 PM

First q:

Upload the new font to the stats dir

then change:

PHP Code:

    $graph->SetTitleFont("./VERDANA.TTF");
    
$graph->SetFont("./VERDANA.TTF"); 

in vbstats.php to reflect the new font

Second q:

Currently you can't....

SilverBoy 04-18-2001 08:42 PM

may I to know? :)

Mas*Mind 04-18-2001 09:37 PM

because I didn't implemented it ;)

SilverBoy 04-18-2001 09:46 PM

so plz implemente it soon, ok ;)

SilverBoy 04-18-2001 11:48 PM

I changed the font to tahoma because I wrote the words with arabic language which this font suport them but all words displaied as garpeg.

Mas*Mind 05-30-2001 12:22 AM

I just found out this hack does work for 2.0:

Board stats

User stats


All times are GMT. The time now is 01:24 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
  • Page Generation 0.01116 seconds
  • Memory Usage 1,773KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (3)bbcode_php_printable
  • (1)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (1)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (25)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.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/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.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
  • printthread_start
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete