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)
-   -   Statistics Panel (https://vborg.vbsupport.ru/showthread.php?t=36352)

jly2klee 03-19-2002 10:00 PM

Statistics Panel
 
Well, I wiped this up for another set of forums at There is 2 other hacks used in this, and I take NO credit for them.

So I would just like to say thanks to FireFly and Lesane. Now Get To That Thread To Download!


Installation Time: 3 minutes aprox.
Experience Level: Between Beginner and Intermediate


Features:

Shows the Member Of The Day, Total Members, posts and threads and Top poster and thread starter, and lastly but not least, Total Posts Today!



Whats To Come?

Well, soon there will be a new version, with more useful info, like the top referer.

- Jly2klee

Floris 03-20-2002 01:31 PM

You have a demo? The www button in your post isn't working.

jly2klee 03-20-2002 01:37 PM

the forums are closed.. but i attached a image.

E 03-20-2002 03:59 PM

nice, looks great-thanks

nafae 03-20-2002 06:34 PM

sexy! I like it and shall install in a bit :)

MrLister 03-20-2002 06:52 PM

Quote:

Originally posted by nafae
sexy! I like it and shall install in a bit :)
by any chance do you work in a hair salon? :)

BigJohnson 03-20-2002 06:53 PM

thanx i will install this soon

Mohamed 03-20-2002 08:50 PM

nice work
installed
:)

thanks

Moegames 03-21-2002 01:45 AM

Nice work

LamBras 03-21-2002 10:48 AM

Nice idea, allthough the "posts today" query seems to put heavy load on the database. I put it on my forumshome and it inceases loading time of the page by several seconds (!). Is there a way to lower that load?

nafae 03-21-2002 11:17 PM

Quote:

Originally posted by LamBras
Nice idea, allthough the "posts today" query seems to put heavy load on the database. I put it on my forumshome and it inceases loading time of the page by several seconds (!). Is there a way to lower that load?
Yes I would like to know this also :laugh:

vertex 03-21-2002 11:31 PM

how does member of the week work? do you chose or is it random?

jly2klee 03-21-2002 11:44 PM

it is a random thing. It chooses a new user every 24-hours using the server clock.

|GMK|PlaTooN 03-24-2002 06:22 PM

First, we need to run this query:

INSERT INTO template (templateid,templatesetid,title,template) VALUES (NULL,-2,'memberoftheday','0||vb||0||vb||0');

What is that??????????

LamBras 03-24-2002 07:12 PM

An SQL query. You can insert it right on the command shell with the "mysql" command, or use phpMyAdmin (www.phpwizard.net/phpmyadmin ) and enter it via a webpage (which I recommend).

69-FLy-gUy 03-28-2002 08:10 AM

Hm i have a little problem..

I also use the autoposter hack.. and the top thread starter is the autoposter. lol..

how do i code it so that it doesn't include the usergroup=0?

69-FLy-gUy 04-02-2002 06:54 AM

*bump*

pHAZE_1 04-03-2002 01:22 AM

this line right here

Quote:

INSERT INTO template (templateid,templatesetid,title,template) VALUES (NULL,-2,'memberoftheday','0||vb||0||vb||0');
what template does it go into and exactly where does it go? :)

Xanthine 04-03-2002 01:32 AM

You dont enter that in any template, its a SQL query. This question was already answered in this thread, please read it before you ask next time. :ermm:

Wolf42 04-03-2002 10:29 AM

Quote:

Originally posted by 69-FLy-gUy
Hm i have a little problem..

I also use the autoposter hack.. and the top thread starter is the autoposter. lol..

how do i code it so that it doesn't include the usergroup=0?

Find
PHP Code:

$toptstarter=$DB_site->query_first("SELECT COUNT(*) AS count,postuserid,postusername FROM thread GROUP BY postuserid ORDER BY count DESC LIMIT 1"); 

replace with
PHP Code:

$toptstarter=$DB_site->query_first("SELECT COUNT(*) AS count,thread.postuserid,thread.postusername,user.userid,user.usergroupid FROM thread,user WHERE thread.postuserid=user.userid AND user.usergroupid<>0 GROUP BY postuserid ORDER BY count DESC LIMIT 1"); 

Think that should word. ;)

pHAZE_1 04-07-2002 06:14 PM

Quote:

Originally posted by Xanthine
You dont enter that in any template, its a SQL query. This question was already answered in this thread, please read it before you ask next time. :ermm:
sorry bout that, but how exactly do i do this? please be specific im not good at this kind of stuff.

69-FLy-gUy 04-08-2002 07:18 AM

thanks it worked

warpedvision 04-13-2002 01:44 PM

I have a problem:

Top Poster, Top Thread Starter and member of the day arnt working.

I followed the hack exsactly right ?

Can anyone help me ?

http://www.warpedvision.net

EchoHype.com 04-22-2002 05:43 PM

Or find the hack called "Ruen a Query from the Admin CP" or whatever.

That's what I use, easiest, and quickest =)

pHAZE_1 04-22-2002 06:05 PM

to change the color to my regular text, what would i change. i believe it is <td bgcolor="{secondaltcolor} do i change the {secondaltcolor} to text or what? =]

pHAZE_1 04-22-2002 07:12 PM

1 more thing [[Top Poster: () | Top Thread Starter: () | Total Posts Today: 0]] doesnt work.. help please

pHAZE_1 04-24-2002 06:20 PM

i see what i did wrong now and fixed it. thanks for the help

fasal 04-24-2002 07:47 PM

Quote:

Originally posted by |GMK|PlaTooN
First, we need to run this query:


INSERT INTO template (templateid,templatesetid,title,template) VALUES (NULL,-2,'memberoftheday','0||vb||0||vb||0');

What is that??????????

Your right how we do that

pHAZE_1 04-30-2002 07:35 PM

Quote:

Your right how we do that
you have to run a query, there is a hack by firefly called run MySQL queries from admin cp...

IS there a way that i can change the text color to the same as my board colors instead of black???

Chris M 04-30-2002 08:42 PM

@warpedvision & fasal...

Goto : [vB v2.2.1] SQL Query from Control Panel - by JamesUS

Satan

Danny 05-19-2002 05:59 PM

hi nice hack it works fine except for the member of the day i get this error.

Invalid SQL: SELECT userid,username FROM user WHERE userid<>$daybits[1] AND (usergroupid=5 OR usergroupid=6 OR usergroupid=7 OR usergroupid=2) ORDER BY RAND() LIMIT 1
mysql error: You have an error in your SQL syntax near 'RAND() LIMIT 1' at line 1

any ideas anyone?

scsa20 05-19-2002 08:01 PM

you need to have this installed ;)

Danny 05-19-2002 08:59 PM

it is installed turned out to be a different version of mysql didnt like the rand() see member of the day thread for fix.

but the problem i have now is that the userid numbers dont match the username.

http://www.golden-springs.com/forums/index.php

you will see the top poster and top thread starter show userid 1 and userid 2 from the database but the names arent userid 1 and userid 2

can this be fixed?

DelusionalMind 05-24-2002 10:59 PM

Quote:

Originally posted by scsa20
you need to have this installed ;)
sweet. found the fix there. thanks :)

scsa20 05-25-2002 12:14 AM

np ;)

pran 06-12-2002 05:45 AM

Wouldn't this tax the server because every hit on the forumhome would generate 5 additional SQL select statements? Why not put this as a link on another page for those who want statistics?

dreamhost 07-04-2002 07:32 AM

love the hack, you said new vs coming out with referrer, due soon? wow it's hacks like this as to why i left dcforum after years of having to hack it myself, what a community

Obi-Wan 08-03-2002 04:14 PM

gonna install this one now m8.

Thx

hmm doesn't seem to work on the 2.2.6 version cause some lines are unable to be found.

Is there gonna be an update...or does somebody know what to edit?

Steve St.Lauren 08-03-2002 08:09 PM

I was able to install this hack on our 2.2.6 vB forum no problem. It's been a while but I don't remember having any problems. Have you installed other hacks that could have changed the code?

-Steve St.Laurent
Webmaster of http://www.turbodieselregister.com

Obi-Wan 08-04-2002 12:25 AM

Could well be yes.

but found the bugger.

Thx anywayz for the help


All times are GMT. The time now is 02:46 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.01298 seconds
  • Memory Usage 1,791KB
  • 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
  • (2)bbcode_php_printable
  • (8)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
  • (40)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