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
  #62  
Old 04-01-2004, 09:06 AM
sabret00the's Avatar
sabret00the sabret00the is offline
 
Join Date: Jan 2003
Location: London
Posts: 5,268
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

what's on line 54 of your index.php?

paste the 10 lines above and below it
Reply With Quote
  #63  
Old 04-01-2004, 09:07 AM
sabret00the's Avatar
sabret00the sabret00the is offline
 
Join Date: Jan 2003
Location: London
Posts: 5,268
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

PHP Code:
if ($bbuserinfo[usergroupid] == 6) { // admin so display all threads
    
$excludedforums =    "forumid<>'46' AND forumid<>'47'";
} elseif (
$bbuserinfo[usergroupid] == 12 OR 5) { //super mods and site-wide moderators
    
$excludedforums "forumid<>'18' AND forumid<>'46' AND forumid<>'47' AND forumid<>'69'";
} elseif (
$bbuserinfo[usergroupid] == 7) { //moderators
    
$excludedforums "forumid<>'18' AND forumid<>'46' AND forumid<>'47' AND forumid<>'74' AND forumid<>'69'";
} else {
//everyone else
    
$excludedforums "forumid<>'17' AND forumid<>'18' AND forumid<>'20' AND forumid<>'46' AND forumid<>'47' AND forumid<>'74' AND forumid<>'69' AND forumid<>'95'";

i added this code but it don't seem to be working, is there anyway to make it use the access masks set in the mcp/acp ?
Reply With Quote
  #64  
Old 04-05-2004, 10:51 AM
datainternet datainternet is offline
 
Join Date: Oct 2003
Posts: 17
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Hi,

Is it possible to combine this hack with this thread-category hack?:

https://vborg.vbsupport.ru/showthread.php?t=61494

MFG datainternet
Reply With Quote
  #65  
Old 04-06-2004, 08:08 AM
akonze akonze is offline
 
Join Date: Mar 2004
Posts: 47
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

First, I found one small cosmetic bug:

Code:
  'forumhome_subforumseparator_post',
  'forumhome_stats_poster',
  'forumhome_stats_member',
  'forumhome_stats_thread',
Above will add another empty field to the array. It's better to remove the last comma:

Code:
  'forumhome_subforumseparator_post',
  'forumhome_stats_poster',
  'forumhome_stats_member',
  'forumhome_stats_thread'
Second, although the top posters template should run fine with 'smallfont' css, it does not. Both other boxes do. Any suggestions?
Reply With Quote
  #66  
Old 04-07-2004, 07:36 AM
successguy successguy is offline
 
Join Date: Apr 2004
Posts: 12
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Very cool! Thanks AnimeWebby
Reply With Quote
  #67  
Old 04-16-2004, 02:29 PM
Dan P. Dan P. is offline
 
Join Date: Sep 2003
Posts: 14
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Nice hack. Thanks.
Reply With Quote
  #68  
Old 04-16-2004, 04:56 PM
Dan P. Dan P. is offline
 
Join Date: Sep 2003
Posts: 14
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Posted in error..please delete.
Reply With Quote
  #69  
Old 04-19-2004, 01:21 AM
ph03nIX ph03nIX is offline
 
Join Date: Jun 2003
Posts: 32
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Sorry if this has been asked or answered before but if a forum is a privet forum or password protected or something will the posts in that forum show up on this mod? If so, is there a way to stop this from happening?

Thank you
Reply With Quote
  #70  
Old 04-22-2004, 05:52 AM
Liquid1ce's Avatar
Liquid1ce Liquid1ce is offline
 
Join Date: Feb 2004
Location: /root
Posts: 196
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

@ph03nIX - Yes you excluse the forum with forum Id in
Code:
$excludedforums = "13"; // forums to be excluded from latest threads.
Could someone tell me how to display the latest 5 for forum id XXX ?
as i want to add a box to the bottom of this one

Regards
Reply With Quote
  #71  
Old 04-29-2004, 04:01 PM
brianstevz brianstevz is offline
 
Join Date: Apr 2003
Posts: 35
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Would it be possible to show reputation on this? Best and worst?
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 05:03 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.04908 seconds
  • Memory Usage 2,309KB
  • 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
  • (3)bbcode_code
  • (1)bbcode_php
  • (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