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)
-   -   Top Statistics - Multiple Types (https://vborg.vbsupport.ru/showthread.php?t=59630)

Chroder 01-03-2004 10:00 PM

Top Statistics - Multiple Types
 
This hack is basically 5 hacks in one: Top Posters, Newest Members, Latest Threads, Latest Posts and Online Today. I've tried to make each as featureful as the singular hacks, though I'm open to suggestions. Each stat type can be turned on and off, and everything save Online Today has a limit variable where you can limit the amount of records to retrieve from the database. A "feature" overview:

  • [Enable/Disable] Top Posters
  • [Enable/Disable] Latest Threads
  • [Enable/Disable] Latest Posts
  • [Enable/Disable] Online Today
  • [Enable/Disable] Newest Members
  • [Limit] Number of Top Posters to display
  • [Limit] Number of Latest Threads to display
  • [Limit] Number of Latest Posts to display
  • [Limit] Number of Newest Members to display
  • Use user permissions when gathering Latest Threads and Latest Posts
  • Specify forums to skip when gathering Latest Threads and Latest Posts (overrides the user permission setting)
  • Specify the specific forums that Latest Threads and Latest Posts should come from (overrides both the above setting, and user permission setting)
  • Online Today also retrieves "openhtml" and "closehtml" (ie. admins are bold and italic)
  • Online Today includes buddy/invisible marks (Buddy: + and Invisible: *)
  • Invisible users remain hidden except to those who can see them
Screen Shot Here
Live Demo
Download Here

Mijae 01-04-2004 05:05 AM

Excellent hack. One question tho, do I just type False instead of true if I want to disable something? The only queries I want my forumhome to run with this hack is the for last threads/posts/top posters.

Link14716 01-04-2004 05:31 AM

I installed this when you posted it at vB.nl, so...

*licks install*

Chroder 01-04-2004 05:45 AM

Quote:

Originally Posted by v0id
Excellent hack. One question tho, do I just type False instead of true if I want to disable something? The only queries I want my forumhome to run with this hack is the for last threads/posts/top posters.

Yep :) false or 0. Here's what yours would look like:

PHP Code:

$suoptions['top_posters']    = true;  // Turn on top posters?
  
$suoptions['latest_threads'] = true;  // Turn on latest threads?
  
$suoptions['latest_posts']   = true;  // Turn on latest posts?
  
$suoptions['newest_members'] = false;  // Turn on newest members?
  
$suoptions['online_today']   = false;  // Turn on online today? 


Chroder 01-04-2004 05:50 AM

Quote:

Originally Posted by Link14716
I installed this when you posted it at vB.nl, so...

*licks install*

I updated it on the 2nd. Minor tweaks to the code and templates -- if you havent already, you may want to look over it again. My post at vb.nl has the HTML file with "updated" titles throughout what was updated.

Boofo 01-04-2004 07:21 AM

Any way to make this a separate stats page? ;)

MindTrix 01-04-2004 11:36 AM

Just installed and works like a Dream, thank god for vB3's collapsing though otherwise it would take up soo much space, i agree with Boofo, a seperate page would be nice :) Or a pop up maybe for each part?

TheAnt 01-04-2004 03:12 PM

Wow, this'll work like a charm with my sidebar mod.

*install

Itworx4me 01-04-2004 03:44 PM

I like your hack except for somethings. It doesn't use the vbphrase system and there are no conditional in your code. Plus you are using standard html and not xml for your templates. Fix your hack and I will think about using it. Good job on the hack though.

TouchingVirus 01-04-2004 04:30 PM

Quote:

Originally Posted by Itworx4me
...Fix your hack and I will think about using it. ....


Fix the hack, there is nothing wrong with it! Just it doesnt have what you want :)

Thanks for the hack Chroder :)

<jay> 01-04-2004 04:32 PM

Uh, nice hack. I will try this right away.
Thanks a lot for your time.

Chroder 01-04-2004 05:10 PM

Quote:

Originally Posted by Itworx4me
I like your hack except for somethings. It doesn't use the vbphrase system and there are no conditional in your code. Plus you are using standard html and not xml for your templates. Fix your hack and I will think about using it. Good job on the hack though.

It does use conditions... :confused:

And I was thinking of the vbphrase too, but there are so little things that are hard-coded in, I thought that the hackee would find it easier to just change them instead of create vbphrases. I'll put it on my list for things to do.

XHTML, small edit. Also on my list.

And the separate page. I'll have a go at it later :)

Mamochka 01-04-2004 09:01 PM

Nice hack. Good job.

wolfe 01-04-2004 11:26 PM

<a href="https://vborg.vbsupport.ru/member.php?u=42122" target="_blank">Chroder</a> vbmenu_register("postmenu_455751", true);

this is a very very good mod i hope you get a lot of people seeing this because its very very useful

Chroder 01-05-2004 12:55 PM

Heh, thanks :)

x3n0 01-05-2004 08:22 PM

I integrated this hack into TheAnt's sidebar. Also removed the "What's Going On?" box and login form and combined the code from those into the sidebar as well. Added avatar to the top. Looks good! Had to modify the hack a little to make it fit into the sidebar cleanly. Check it out: http://MyGanjaGrow.com.

Now If I could just get the sidebar to the left side of the page all would be good.

WoodiE 01-06-2004 03:14 AM

I'm using the sidebar TheANT released, and when I paste the code into the sidebar it screws up the width of the sidebar and the forum listings. How would one make these two work together?

I really only need:
- Latest Threads
- Newest Members

Thanks,

-WoodiE

TeH Z0mB1E 01-09-2004 04:41 AM

sorry about this post i realised what i did wrong, working perfectly now :) cool hack

jluerken 01-09-2004 05:28 AM

Quote:

Originally Posted by Chroder
This hack is basically 5 hacks in one: Top Posters, Newest Members, Latest Threads, Latest Posts and Online Today. I've tried to make each as featureful as the singular hacks, though I'm open to suggestions. Each stat type can be turned on and off, and everything save Online Today has a limit variable where you can limit the amount of records to retrieve from the database. A "feature" overview:

  • [Enable/Disable] Top Posters
  • [Enable/Disable] Latest Threads
  • [Enable/Disable] Latest Posts
  • [Enable/Disable] Online Today
  • [Enable/Disable] Newest Members
  • [Limit] Number of Top Posters to display
  • [Limit] Number of Latest Threads to display
  • [Limit] Number of Latest Posts to display
  • [Limit] Number of Newest Members to display
  • Use user permissions when gathering Latest Threads and Latest Posts
  • Specify forums to skip when gathering Latest Threads and Latest Posts (overrides the user permission setting)
  • Specify the specific forums that Latest Threads and Latest Posts should come from (overrides both the above setting, and user permission setting)
  • Online Today also retrieves "openhtml" and "closehtml" (ie. admins are bold and italic)
  • Online Today includes buddy/invisible marks (Buddy: + and Invisible: *)
  • Invisible users remain hidden except to those who can see them
Screen Shot Here
Live Demo
Download Here

Hi Chroder, the hack looks pretty nice.

One question. Have you checked that in the 'latest posts' section no post is displayed which is in an pwd protected board or in a board where the user has no access to?

This is very important!

Kewl 01-10-2004 08:55 PM

Quote:

Originally Posted by jluerken
Hi Chroder, the hack looks pretty nice.

One question. Have you checked that in the 'latest posts' section no post is displayed which is in an pwd protected board or in a board where the user has no access to?

This is very important!

Those settings are in the config portion of the index.php mode code

Great Hack but I do notice if I have latest posts or thread enabled it does seem to put a pretty good server load so I have turned them off and it cranks
also a different font for who was online today and top posters anyway to fix that?

Great Job!

Nice!

Rampag33 01-12-2004 12:54 AM

Croder excellent Job.
Can I get this on a seperate page? If so I will install.

Charlie Argueta 01-15-2004 11:11 AM

Really nice that's what I'm looking for :D

My hack list for my upgrade is almost finished ;)

See Ya

Megatekno 01-15-2004 03:19 PM

Thanks

HiDeo 01-15-2004 04:29 PM

Thanks for share, it's a really good integration !

rinkrat 01-16-2004 01:40 AM

Can you add "Top reputation"?

gmarik 01-17-2004 07:41 AM

I like it!:surprised:

wolfe 01-18-2004 05:05 PM

d00d i have changed the layout of mine and cleaned up the html code a little what you think ?

WAR 01-20-2004 03:38 AM

I have installed this Hack, and in the config portion of the index.php code

i have it set to use the user permissions when gathering latest threads/posts

PHP Code:

$exclusions['userperms']    = true;   // Use user permissions when gathering threads/posts? 

But all of my users can still see the latest threads/posts from all of the private forums. Is there anywhere else that I need to change something to prevent the hidden posts from showing up in the latest thread box?

Thanks

zenmasteril 01-20-2004 10:43 PM

Hey ! Useful hack.. Thanks :)
Can you please add a "Top Threaders" (or any other name) which will show, in the same format of the "top posters", the users who started the most threads ?

EDIT - And another Q: What should i do if I want only the Top Poster and just as a little custom box in the vBindex (not the format u gave) ?

KISS 01-22-2004 01:51 AM

Quote:

Originally Posted by x3n0
I integrated this hack into TheAnt's sidebar. Also removed the "What's Going On?" box and login form and combined the code from those into the sidebar as well. Added avatar to the top. Looks good! Had to modify the hack a little to make it fit into the sidebar cleanly. Check it out: http://MyGanjaGrow.com.

Now If I could just get the sidebar to the left side of the page all would be good.

Can you or someone tell me how to integrate this hack into TheAnt's sidebar, please? Also would love to add the Avatar to it as well. I would appriciate it.

ToB 01-28-2004 02:20 PM

I added this hack onto the index page of my RC3 site and it crashed the server! Just thought to let you know that this is happening.

kneesparx 02-05-2004 09:27 AM

is there anyway to get the latest forum topics to show up in an order of last posted first?

thakikka 02-09-2004 07:14 PM

is there any possibility to sort the today online users alphabetically? its kinda unsorted (how is it sorted at the moment?), have a look at the bottom: http://removed

thanks in advance!

Sooner95 05-25-2004 12:37 AM

good hack, ez to install... dont forget have to edit each of your FORUMHOME templates for each style you have...

Nice job

richtej1 06-07-2004 07:15 PM

is there a way to post the top 5 threads in last 30 days only..?

lange 11-08-2004 04:36 PM

Thanks. I'll try it.

Viks 11-08-2004 11:24 PM

This is a cool hack. however i have a question..
i need to install only "who was online today" hack from the above... since im not too programming literate.. cud u point me what code i need to edit for that.

thanks

DutchyNL 11-10-2004 10:49 AM

Nice job m8 hope i can build this in my forum

elastomaniac 11-12-2004 04:05 AM

Quote:

*licks install*
rofl, did it taste good :P ?

snake-boy 11-19-2004 01:18 AM

Hi all,

This looks like just what I am looking for, but after seeing the post above about it crashing his server (RC3), I was wondering if anyone can confirm that this is working correctly in V3.0.3 ?

If so, I'll certainly be clicking INSTALL - this looks great!

Please let me know if I can go ahead and add it to my V3.0.3?

Many thanks in advance:

-snake


All times are GMT. The time now is 04:44 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.01503 seconds
  • Memory Usage 1,828KB
  • 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