vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 2.x Full Releases (https://vborg.vbsupport.ru/forumdisplay.php?f=4)
-   -   Admin Quick Stats (https://vborg.vbsupport.ru/showthread.php?t=37193)

ceo_tfw 04-26-2002 09:11 AM

I have installed this and it did not take that long to put in, however I would like to add the visits from non.members, how can I did that,
can anyone help

Harvey 04-26-2002 09:59 AM

@ceo_tfw: this would require to develop an extra hack. You would have to store the sessions in the DB for 1 day.

-----------

I made an extension to show modified threads (without # of new threads)
after freddie's
PHP Code:

$newthreads $DB_site->query_first("SELECT count(*) AS count FROM thread WHERE dateline >= $starttime"); 

add
PHP Code:

$changedthreads $DB_site->query_first("SELECT count(*) AS count FROM thread WHERE lastpost >= $starttime"); 

after freddie's
PHP Code:

makelabelcode('New Threads Today:'$newthreads['count']); 

add
PHP Code:

makelabelcode('Modified Threads Today:'$changedthreads['count']-$newthreads['count']); 

Replace 'Modified Threads Today:' by better english if nessesary.

ceo_tfw 04-26-2002 03:33 PM

thanks for that, I have added it great stuff,
I still would like to know how to do the above
thanks

inetd 04-30-2002 06:18 PM

freddir, why "Post Awaiting Moderation:" in Admin Quick Stats don't show? I enable premoderation in some forums.

LouChipher 05-01-2002 11:48 AM

New Threads Today: 8605
Modified Threads Today: -8553

funny effect... and i can't see any reason..

The Realist 05-01-2002 02:08 PM

Working fine, well done :)

Here is my stats:

The Realist 05-01-2002 02:16 PM

Working fine, well done :)

Here is my stats:

Harvey 05-01-2002 05:44 PM

Quote:

Originally posted by LouChipher
New Threads Today: 8605
Modified Threads Today: -8553

funny effect... and i can't see any reason..

Hi,

this can't be my modification. I didn't touch "New Threads".

uff, my english :( I can't explain, but I guess you have 52 modified threads and an unknown number of new threads.

You have to add my lines below freddies lines, not to change anything. But i think you do so.

Our site is OK.

If you don't understand my english, sorry, don't worry. I copuld not help.

cihangir 05-03-2002 12:30 PM

i thicnk i have a little problem with this hack :)

Code:

Server Type
 Linux / PHP v4.1.2
 
MySQL
 v3.23.41
 
Database Data Usage:
 56.02 MB
 
Database Index Usage:
 32.15 MB
 
Attachment Usage:
 0.0 MB
 
Custom Avatar Usage:
 0.03 MB
 
Users Awaiting Moderation:
 0
 
Attachments Awaiting Moderation:
 0
 
New Users Today:
 2
 
Registered Visitors Today:
 58
 
New Threads Today:
 1097
 
New Posts Today:
 17

17 new posts, but 1097 new threads

Mntsnow 05-03-2002 03:50 PM

Very cool! Thanks :)


All times are GMT. The time now is 11:52 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.01152 seconds
  • Memory Usage 1,743KB
  • 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
  • (1)bbcode_code_printable
  • (4)bbcode_php_printable
  • (1)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