Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > vBulletin 3.0 > vBulletin 3.0 Full Releases
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools
Top 'X' Stats Details »»
Top 'X' Stats
Version: 1.00, by InfiniteWebby InfiniteWebby is offline
Developer Last Online: Aug 2007 Show Printable Version Email this Page

Version: 3.0.0 Rating:
Released: 01-02-2004 Last Update: Never Installs: 213
 
No support by the author.

This hack adds the top 'x' stats (top posters, newest members, newest replies) to your forumhome.

The original idea was nanoentities but he will not be releasing his hack for vB3. Basically this is the same idea, all new coding, all new templates.

This hack also shows a 'New' or 'Old' text if the thread was posted after your lastvisit or marking all forums as read. Also it posts the deleted message for those who can see it and can be set to exclude forums.

I am currently working on a seperate page where the user can set the number of stats he wishes to show.

Live demo at: *removed* (dow the bottom)

vB 3.5 version available at https://vborg.vbsupport.ru/showthrea...846#post743846 !!!

Show Your Support

  • This modification may not be copied, reproduced or published elsewhere without author's permission.

Comments
  #72  
Old 05-03-2004, 12:54 AM
Sirius Black's Avatar
Sirius Black Sirius Black is offline
 
Join Date: Feb 2004
Location: Pittsburgh, PA
Posts: 28
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Great hack man !! Installed with no problems !!
Reply With Quote
  #73  
Old 05-04-2004, 07:31 PM
Pitman's Avatar
Pitman Pitman is offline
 
Join Date: Dec 2001
Posts: 99
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I need this to work with user's permissions, is that possible?

I mean I know that you can exclude certain forums, but I want all of the forums to show if the user that is viewing the page has permission to access that forum.
Reply With Quote
  #74  
Old 05-04-2004, 07:53 PM
msimplay's Avatar
msimplay msimplay is offline
 
Join Date: Aug 2002
Location: UK
Posts: 1,059
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Pitman
I need this to work with user's permissions, is that possible?

I mean I know that you can exclude certain forums, but I want all of the forums to show if the user that is viewing the page has permission to access that forum.
yeh good idea and threads / posts awaiting moderation should be excluded
Reply With Quote
  #75  
Old 05-04-2004, 07:53 PM
sabret00the's Avatar
sabret00the sabret00the is offline
 
Join Date: Jan 2003
Location: London
Posts: 5,268
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

i'll take a look at the code asi want it to work with permissions too, basically it's just a matter of extracting the usergroups and then their permissions and converting that data into something that the script can read, shouldn't be too hard, although it'll probably add a few queries, we'll see though, if anyone more skilled does it before me then yay
Reply With Quote
  #76  
Old 05-04-2004, 09:21 PM
Pitman's Avatar
Pitman Pitman is offline
 
Join Date: Dec 2001
Posts: 99
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Yeah, this is an awesome hack, it just needs to be tweaked a little
Reply With Quote
  #77  
Old 05-06-2004, 07:38 AM
InfiniteWebby InfiniteWebby is offline
 
Join Date: Nov 2001
Location: Downunda.
Posts: 149
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

This hack in its current form works using forum permission. It also show deleted thread only to those members who can see them as well as being able to exclude forum id's so there should not be problems with members seeing what they shouldnt be able to.

I have finished my next version found here it includes an extra page so users can specify the number of stats to show added admincp settings for post title trunctaing, username truncating, excluded forum ids, most stats to show on forumhome and extra page, default to show on forum home and extra page as well as a prefix setting for new and old posts. It is all ready to go with htl but with the new admin settings i need to create an installer to add those into the dbase.
Reply With Quote
  #78  
Old 05-06-2004, 07:50 AM
msimplay's Avatar
msimplay msimplay is offline
 
Join Date: Aug 2002
Location: UK
Posts: 1,059
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by AnimeWebby
This hack in its current form works using forum permission. It also show deleted thread only to those members who can see them as well as being able to exclude forum id's so there should not be problems with members seeing what they shouldnt be able to.

I have finished my next version found here it includes an extra page so users can specify the number of stats to show added admincp settings for post title trunctaing, username truncating, excluded forum ids, most stats to show on forumhome and extra page, default to show on forum home and extra page as well as a prefix setting for new and old posts. It is all ready to go with htl but with the new admin settings i need to create an installer to add those into the dbase.
but what about moderated posts ?
Reply With Quote
  #79  
Old 05-06-2004, 08:13 AM
sabret00the's Avatar
sabret00the sabret00the is offline
 
Join Date: Jan 2003
Location: London
Posts: 5,268
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by AnimeWebby
This hack in its current form works using forum permission. It also show deleted thread only to those members who can see them as well as being able to exclude forum id's so there should not be problems with members seeing what they shouldnt be able to.

I have finished my next version found here it includes an extra page so users can specify the number of stats to show added admincp settings for post title trunctaing, username truncating, excluded forum ids, most stats to show on forumhome and extra page, default to show on forum home and extra page as well as a prefix setting for new and old posts. It is all ready to go with htl but with the new admin settings i need to create an installer to add those into the dbase.
based on my current installation, guests can see threads in the top 5 even in hidden forums?
Reply With Quote
  #80  
Old 05-06-2004, 01:09 PM
brianstevz brianstevz is offline
 
Join Date: Apr 2003
Posts: 35
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by sabret00the
based on my current installation, guests can see threads in the top 5 even in hidden forums?
Where is the code for the change? Also could you change this to display reputation instead of new users?
Reply With Quote
  #81  
Old 05-06-2004, 02:32 PM
msimplay's Avatar
msimplay msimplay is offline
 
Join Date: Aug 2002
Location: UK
Posts: 1,059
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by sabret00the
based on my current installation, guests can see threads in the top 5 even in hidden forums?
yep thats what i mean about permissions
if the permissions were there
we wouldn't have to exclude forums or worry about posts in moderation displaying
Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 04:55 PM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2024, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.04644 seconds
  • Memory Usage 2,306KB
  • Queries Executed 25 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (5)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (6)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (1)pagenav_pagelinkrel
  • (11)post_thanks_box
  • (11)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (11)post_thanks_postbit_info
  • (10)postbit
  • (11)postbit_onlinestatus
  • (11)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.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/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.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
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete