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
  #242  
Old 07-02-2005, 08:37 PM
1nf3rn0 1nf3rn0 is offline
 
Join Date: Jan 2005
Posts: 44
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

replace:

PHP Code:
SELECT useridusernameposts FROM " . TABLE_PREFIX . "user ORDER BY posts DESC LIMIT 0$displayrecords 
with:

PHP Code:
SELECT useridusernameposts FROM " . TABLE_PREFIX . "user WHERE userid NOT IN (1,2,3ORDER BY posts DESC LIMIT 0$displayrecords 
change 1,2,3 to the userid(s) of the users you wish to exclude.
Reply With Quote
  #243  
Old 07-03-2005, 06:36 AM
mike3k mike3k is offline
 
Join Date: Jun 2005
Posts: 17
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

ok fixed it

Didnt help that in the readme of the mod it shows you the templates with ' on them remove them and your set lmao....Thanks for your help 1nf3rn0 its working fine now

cheers again

Dont know a mod that tells who you has viewed a thread do you>?

Thanks
Reply With Quote
  #244  
Old 07-03-2005, 08:13 AM
1nf3rn0 1nf3rn0 is offline
 
Join Date: Jan 2005
Posts: 44
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

sure do bro!
https://vborg.vbsupport.ru/showthread.php?t=61222
Reply With Quote
  #245  
Old 07-03-2005, 08:15 AM
1nf3rn0 1nf3rn0 is offline
 
Join Date: Jan 2005
Posts: 44
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by mike3k
ok fixed it

Didnt help that in the readme of the mod it shows you the templates with ' on them remove them and your set lmao....Thanks for your help 1nf3rn0 its working fine now

cheers again

Dont know a mod that tells who you has viewed a thread do you>?

Thanks
oh sh1t..hahaha..yeah i guess that would help....glad you got it going bro!
Reply With Quote
  #246  
Old 07-03-2005, 04:33 PM
mike3k mike3k is offline
 
Join Date: Jun 2005
Posts: 17
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

thanks m8
Reply With Quote
  #247  
Old 07-05-2005, 04:00 PM
King Kovifor's Avatar
King Kovifor King Kovifor is offline
 
Join Date: Nov 2004
Location: PA
Posts: 3,872
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by 1nf3rn0
yes sir..ask and ye shall receive bud!

look for:

PHP Code:
$excludedforums "13"// forums to be excluded from latest threads. Format "0,5,7" 
and just add the forum id's you want excluded!
Where would this code be located at?
Reply With Quote
  #248  
Old 07-06-2005, 03:21 PM
Damien2005 Damien2005 is offline
 
Join Date: Jun 2005
Posts: 51
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by King Kovifor
Where would this code be located at?
If you search in your index.php you will find it
Reply With Quote
  #249  
Old 07-06-2005, 03:24 PM
Damien2005 Damien2005 is offline
 
Join Date: Jun 2005
Posts: 51
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I like the Top X stats very much
But is there a way to color the usernames like in the useronline section?
I have see it on a other forum but cant find how to do it.. some how can help?
Reply With Quote
  #250  
Old 07-10-2005, 01:43 PM
King Kovifor's Avatar
King Kovifor King Kovifor is offline
 
Join Date: Nov 2004
Location: PA
Posts: 3,872
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Damien2005
If you search in your index.php you will find it
Thanks... I'll do that soon.
Reply With Quote
  #251  
Old 07-14-2005, 10:50 PM
King Kovifor's Avatar
King Kovifor King Kovifor is offline
 
Join Date: Nov 2004
Location: PA
Posts: 3,872
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Small mistake in template: forumhome_stats_poster. You forgot a Td Class in there. So the template SHould be:

Code:
			<tr>
				<td class="smallfont" width="100%"><b><a href="member.php?u=$getstats_poster[userid]">$getstats_poster[username]</a></b></td>
				<td class="smallfont" align="right"><b>$getstats_poster[posts]</b></td>
			</tr>
It's in red.
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 03:55 AM.


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.05763 seconds
  • Memory Usage 2,315KB
  • 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
  • (1)bbcode_code
  • (3)bbcode_php
  • (4)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