vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   Member Archives (https://vborg.vbsupport.ru/forumdisplay.php?f=202)
-   -   top 5 on index.php like Synx has (https://vborg.vbsupport.ru/showthread.php?t=29189)

TheComputerGuy 10-02-2001 03:05 PM

I love that hack...Thanks for it...

see it in action at www.webmafiaforums.com ....I think I am going to add a place for flags...its kinda hard to explain but I will show ya when I am through

maverick1236 10-04-2001 09:39 PM

anyway to make it top 10-and exclude admin usergroup?
otherwise-its awesome

tweak 10-05-2001 02:57 AM

What i cant figure out is HOW TO BLOCK the posts from showing in Private sections.

Sarge 10-14-2001 04:11 AM

YES!
HOw do we not show private sections?

FWC 10-14-2001 04:35 AM

Quote:

Originally posted by Sarge
YES!
HOw do we not show private sections?

I got this modification to the threads query from Firefly:

And last but not least, to exclude forums from the thread list, use this:

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

Just replace x, y and z with the forums you want to exclude

halo1 10-14-2001 11:49 PM

valid here, theres a better version of it comeing out, but not for index.php, maybe later

its going to be stand alone .php script that lists all kinds of info from the forum.

hololith.com

Neo 10-15-2001 07:17 PM

[QUOTE]Originally posted by FWC
I got this modification to the threads query from Firefly:

And last but not least, to exclude forums from the thread list, use this:

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

Just replace x, y and z with the forums you want to exclude

almighty one 10-16-2001 02:55 AM

Quote:

Originally posted by neogeniseva

where do i put this?

i belive query means it needs to be executed via phpmyadmin or telnet

FWC 10-16-2001 04:56 AM

Quote:

Originally posted by neogeniseva

where do i put this?

That query is already in the Last 5 hack without the WHERE forumid part. Just add the WHERE fourmid <>='X' stuff into the query and make the beginning and ending ' in the query "

I hacked a bunch of stuff out of the Last 5 hack, made it a last 10 hack and added another hack (from Firefly) for top posters of the week into it. You can see it on my board.

almightyone 11-06-2001 02:22 AM

i need the fix for this for version 220 i got it working just if i add the mentioned fix to hide hidden forums it get a parse error can anyone tell me how to hide them in 220 with no parse error thanx


All times are GMT. The time now is 05:48 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.01081 seconds
  • Memory Usage 1,729KB
  • 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
  • (3)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (3)pagenav_pagelink
  • (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