vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 2.x Full Releases (https://vborg.vbsupport.ru/forumdisplay.php?f=4)
-   -   top5.thread.stats (https://vborg.vbsupport.ru/showthread.php?t=32179)

LOD-squa 09-22-2002 02:16 AM

[QUOTE]Originally posted by Dark Shogun
I can't find something in the admin/index.php :( Thats the problem for the
most part.


Dark Shogun

LOD-squa 09-24-2002 12:18 AM

could anyone tell me?

Kinox 09-28-2002 02:07 AM

Sorry this hack is unsupported by me anymore, there is an updated version of it, but its private.

Demo at http://forums.gfxart.net

wolfe 10-11-2002 12:18 PM

with this code do u have to add all the forums you want to show or all the ones you don't :D

$pop = $DB_site->query('SELECT title,threadid,lastpost,lastposter,views FROM thread WHERE forumid='XX' AND forumid='X' AND forumid='XX'ORDER BY lastpost DESC LIMIT 10');

a43079 10-11-2002 09:18 PM

nice hack

LOD-squa 11-23-2002 06:20 PM

okay I got the topics hidded from hidded forums but is there a way I can make it to show it to the people that have access to the forum?

Kinox 01-06-2003 01:04 AM

Exclude users + forums

so it looks something like this

$pop = $DB_site->query('SELECT title,threadid,lastpost,lastposter,views,user.user name FROM thread WHERE forumid NOT IN(1,56,83,13), usergroupid NOT IN(8,4,3,1)
LEFT JOIN user
ON (user.username=thread.lastposter)
ORDER BY lastpost DESC LIMIT 10');

8 = Banned by Moderators
4 = (COPPA) Users Awaiting Moderation
3 = Users Awaiting Email Confirmation
1 = Unregistered / Not Logged In

Enjoy.


All times are GMT. The time now is 08:26 PM.

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.00951 seconds
  • Memory Usage 1,727KB
  • 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)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (2)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (7)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