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 'X' Stats (https://vborg.vbsupport.ru/showthread.php?t=59609)

1nf3rn0 07-02-2005 08:37 PM

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.

mike3k 07-03-2005 06:36 AM

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

1nf3rn0 07-03-2005 08:13 AM

sure do bro!
https://vborg.vbsupport.ru/showthread.php?t=61222

1nf3rn0 07-03-2005 08:15 AM

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!

mike3k 07-03-2005 04:33 PM

thanks m8 :)

King Kovifor 07-05-2005 04:00 PM

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?

Damien2005 07-06-2005 03:21 PM

Quote:

Originally Posted by King Kovifor
Where would this code be located at?

If you search in your index.php you will find it :rolleyes:

Damien2005 07-06-2005 03:24 PM

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?

King Kovifor 07-10-2005 01:43 PM

Quote:

Originally Posted by Damien2005
If you search in your index.php you will find it :rolleyes:

Thanks... I'll do that soon.

King Kovifor 07-14-2005 10:50 PM

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.


All times are GMT. The time now is 08:57 AM.

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.02150 seconds
  • Memory Usage 1,744KB
  • 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
  • (1)bbcode_code_printable
  • (3)bbcode_php_printable
  • (4)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (1)pagenav_pagelinkrel
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)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