vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB3 General Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=111)
-   -   Forum Statistics, like on vBulletin.org (https://vborg.vbsupport.ru/showthread.php?t=34265)

rawnet 01-19-2002 02:35 PM

Hello,

I would like to include all the forum statistics like those on the Forums homepage of vbulletin.org

I believe this is a template modification rather than a hack - has anyone got any pointers where I might find more information on this?

All the best,

Kind Regards,

Ross Williams

Scott MacVicar 01-19-2002 02:52 PM

Firefly has queries at the top of index.php which pull the statistics from the database, tell me what statistics you want and i'll give you the queries you will need for them.

It also involves a template modification.

rawnet 01-19-2002 03:17 PM

Cheers for that PM.

My idea is very similar to the stats on vbulletin.org, but without hacks, obviously. I'm particularly keen to give more membership info.

I would like to give :

Total Registered Members : xxxx
Latest Members : xxxx (list latest 10 members, linked to profile) more... (linked to new page listing all members in reverse join order)
Top 10 Posters : xxxx (link to profile)
Total Threads: xx | Total Posts: xx | Total Page Views: xx | Total Photos: xxx (taken from photopost database)

rawnet 01-19-2002 06:31 PM

Just wondering if anyone had any ideas as to the above?

Ross

Scott MacVicar 01-19-2002 07:38 PM

i've coded it just about to test it now.

rawnet 01-19-2002 07:50 PM

PPN, you are a true scholar and a gentleman.

That's fantastic news. Looking forward to it!!

Cheers for now,

Ross

Scott MacVicar 01-19-2002 08:05 PM

1 Attachment(s)
As i don't have a copy of photopost I am unfamilar of how the data is stored in the mysql table.

anyway here is the file it gets the things you want and you can modify the template how ever you please.

rawnet 01-19-2002 08:48 PM

HI PPN,

That worked perfectly.

I've set it up at http://www.servicepals.com/forums/index.php and it integrates perfectly. Very pleased!! :D

Thanks so much for your hard work - hope it benefits others as well,

All the best,

Ross

69-FLy-gUy 01-20-2002 09:10 PM

PPN, i downloaded the file you attached, but am not sure how to set it up as it looks here. (it is inside it's own category...) could you help me with that? i made the necessary changed to index.php

Ciao

Scott MacVicar 01-21-2002 08:02 PM

This hack was just for rawnet, well it wasn't really a hack, I was just helping him.

69-FLy-gUy 01-22-2002 04:34 AM

Do you think you could help me?

Ciao

-Trip

apfeifer 04-20-2002 05:27 PM

I just searched, and I didn't see that anyone has actually released this yet, so I'll go document it. I had it on my forums that were up, but never thought about documenting it. However, PPN, if you have any objections to this I'll discontinue working on it.

Chris M 04-20-2002 05:41 PM

Sounds like a good idea to me...

Satan

apfeifer 04-21-2002 07:22 PM

<a href="https://vborg.vbsupport.ru/showthread.php?s=&threadid=37718" target="_blank">https://vborg.vbsupport.ru/showt...threadid=37718</a>

Documented and ready to go, not to hard to install. Actually, extremely easy. Barely qualifies as a hack, seeing most of the work is done with templates. But you have to add a bit of php to get the total views.


All times are GMT. The time now is 01:45 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.01138 seconds
  • Memory Usage 1,736KB
  • 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)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (14)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
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete