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)

sabret00the 04-01-2004 09:06 AM

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

paste the 10 lines above and below it :)

sabret00the 04-01-2004 09:07 AM

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 ?

datainternet 04-05-2004 10:51 AM

Hi,

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

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

MFG datainternet

akonze 04-06-2004 08:08 AM

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?

successguy 04-07-2004 07:36 AM

Very cool! Thanks AnimeWebby

Dan P. 04-16-2004 02:29 PM

Nice hack. Thanks.

Dan P. 04-16-2004 04:56 PM

Posted in error..please delete.

ph03nIX 04-19-2004 01:21 AM

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 :)

Liquid1ce 04-22-2004 05:52 AM

@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

brianstevz 04-29-2004 04:01 PM

Would it be possible to show reputation on this? Best and worst?


All times are GMT. The time now is 03:55 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.01190 seconds
  • Memory Usage 1,739KB
  • 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_code_printable
  • (1)bbcode_php_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