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)
-   -   vb3 Statistic Version 1.01 (https://vborg.vbsupport.ru/showthread.php?t=65924)

Natch 06-18-2004 06:02 AM

Quote:

Originally Posted by SaN-DeeP
weird but i am getting this error:

Code:

Database error in vBulletin 3.0.0:
Invalid SQL:
SELECT threadid, title, lastpost, postusername,lastposter,dateline
FROM vb3_thread
WHERE forumid IN(3, 4, 44, 5, 45, 6, 14, 52, 11, 10, 46, 13, 30, 33, 43, 34, 32, 31, 37, 38, 40, 42, 39, 41, 15, 16, 17, 18, 19, 7, 36, 21, 24, 35, 20, 22, 47, 48, 53, 49, 50, 51, 25, 26, 27)
AND thread.open <> 10
AND thread.visible = '1'               
ORDER BY lastpost
DESC LIMIT 10
 
mysql error: Unknown table 'thread' in where clause
mysql error number: 1109


changing few lines make it work:

Code:

$getbeitraege= $DB_site->query("
  SELECT threadid, title, lastpost, postusername,lastposter,dateline 
  FROM " . TABLE_PREFIX . "thread
  WHERE forumid IN(" . implode(', ', $forumids) . ")
  AND vb3_thread.open <> 10
  AND vb3_thread.visible = '1'               
  ORDER BY lastpost
  DESC  LIMIT $limit
 ");


You would be better off doing
Code:

FROM " . TABLE_PREFIX . "thread as thread
which would make the
Code:

... thread.open ... thread.visible ...
work regardless of the PREFIX value

Eagle Creek 06-19-2004 02:50 PM

Supercool!
*hitting download link*

Eagle Creek 06-19-2004 02:59 PM

HELP!

Quote:

Systeem Bericht
An error occurred while attempting to execute your query. The following information was returned.
error number: 1064
error desc: You have an error in your SQL syntax. Check the manual that corresponds to your MySQL server version for the right syntax to use near ';


INSERT INTO _statistik_browser_os VALUES ('total','hits


Vivi Ornitier 06-19-2004 11:32 PM

I installed the hack but it looks nothing like the one you have on your demo. I don't see the sidebar to go to all those side things either. Besides htat it's great but i like the x days part and the other small parts. help!!

http://forums.squareultima.com/statistik.php

Vivi Ornitier 06-19-2004 11:35 PM

oh wait nm, lol. didn't even read the entire first post, hope you can release all those goodies soon!

Romeos Tune 06-21-2004 10:26 PM

I seem to be having a problem with all the stats displaying. The countries, browsers, and bots aren't showing up. Have a look at: http://stormchat.com/statistik.php

Anyone know what the reason might be? Thanks! :)

marcel-ea 06-26-2004 02:17 AM

if have the same problem no links no countries

Intex 06-26-2004 09:21 AM

PCFreak - any ideas on the 1.5 release?

Romeos Tune 06-26-2004 02:43 PM

Anyone?

Sam FT 06-28-2004 05:36 AM

I found a problem with how you count your threads in this hack. The thread counter is counting all the threads included "soft deleted" thread and redirects thread as well. The vBulletin Statisics at the bottom of the forum home page is only counting real threads. So you may want to update your thread count code because your thread counter isn't counting right.


All times are GMT. The time now is 03:38 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.01207 seconds
  • Memory Usage 1,739KB
  • 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
  • (2)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (1)pagenav_pagelinkrel
  • (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