vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.0 Full Releases (https://vborg.vbsupport.ru/forumdisplay.php?f=33)
-   -   Forum Statistics in FORUMDISPLAY (https://vborg.vbsupport.ru/showthread.php?t=60075)

VBDev 01-12-2004 08:58 AM

are you sure that you haven't made a mistakes during the modifications of forumdisplay.php file ?

eXtremeTim 01-14-2004 07:09 PM

Quote:

Originally Posted by g-force2k2
If you updated the sql query you will get this error. Just change the code from his recent fix:

PHP Code:

WHERE forumid =

to:

PHP Code:

WHERE forumid $forumid 

Regards,
g-force2k2

I know this. I was just letting him know so he could fix it. :)

Dark Shogun 01-31-2004 12:38 PM

I get this:
Code:

Parse error: parse error, unexpected T_STRING in /home/virtual/site23/fst/var/www/html/project/forumdisplay.php on line 809
This is line 809:

Code:

$sujets=$DB_site->query_first("$sujets=$DB_site->query_first("SELECT postusername, SUM( views )  AS vues
Please help

Dark Shogun

VBDev 01-31-2004 12:58 PM

Quote:

Originally Posted by Dark Shogun
I get this:
Code:

Parse error: parse error, unexpected T_STRING in /home/virtual/site23/fst/var/www/html/project/forumdisplay.php on line 809
This is line 809:

Code:

$sujets=$DB_site->query_first("$sujets=$DB_site->query_first("SELECT postusername, SUM( views )  AS vues
Please help

Dark Shogun

:|

An obscur error in my install script ;)

Remove
PHP Code:

$sujets=$DB_site->query_first(

At the begining of this line

Boofo 01-31-2004 01:00 PM

That line should read:

PHP Code:

$sujets=$DB_site->query_first("SELECT postusername, SUM( views )  AS vues 


gamevn 02-01-2004 06:14 AM

wow,this hack is very cool,thz for sharing :D

Boofo 02-15-2004 01:08 PM

You can do total threads, total replies and total views all in 1 query. ;)

sabret00the 02-15-2004 01:51 PM

which is the best version this of the boofo one?

Boofo 02-15-2004 01:55 PM

Quote:

Originally Posted by sabret00the
which is the best version this of the boofo one?

You decide. ;) Cache or queries?

VBDev 02-16-2004 01:02 PM

Quote:

Originally Posted by Boofo
You decide. ;) Cache or queries?

It's sure you can win queries by using cache, but informations aren't always right ... I didn't look at your code boofo but if you did the same that you did for the first version, yours use less query ;)


All times are GMT. The time now is 04:57 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.01218 seconds
  • Memory Usage 1,738KB
  • 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
  • (4)bbcode_code_printable
  • (4)bbcode_php_printable
  • (4)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)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