View Full Version : Top Statistics - Multiple Types
Chroder
01-03-2004, 10:00 PM
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 (https://vborg.vbsupport.ru/attachment.php?attachmentid=15380&stc=1)
Live Demo (http://forums.devbox.net)
Download Here (https://vborg.vbsupport.ru/attachment.php?attachmentid=15381&stc=1)
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
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:
$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
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 (http://www.vbulletin.nl/community/showpost.php?p=16144&postcount=1) 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
...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
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 :)
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
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 (https://vborg.vbsupport.ru/attachment.php?attachmentid=15380&stc=1)
Live Demo (http://forums.devbox.net)
Download Here (https://vborg.vbsupport.ru/attachment.php?attachmentid=15381&stc=1)
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!
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 ?
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
$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) ?
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.
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.
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
*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
Imperial Fritz
12-02-2004, 06:54 PM
Looks great, I will try it. Would like to see in future:
vbphrases, as my board is not english
New Posts Today stat as in the admin cp
Option for those stats to be visible to mods / admins only.
Mla7a6
03-18-2005, 02:33 PM
Is there any possibility to exclude my moderators from being listed as top posters?
in other words, can you exclude a certain user groups from the TOP POSTERS ??
thanks for the cool hack.. it spiced up my forum :speechless: ..
vBulletin® v3.8.12 by vBS, Copyright ©2000-2025, vBulletin Solutions Inc.