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)
-   -   Selective Forum Filter (https://vborg.vbsupport.ru/showthread.php?t=79883)

kall 04-13-2005 11:24 PM

It would appear that this hack wants a field that doesn't exist in my database.

Might be an idea to include this information in the readme. :)

kall 04-13-2005 11:30 PM

And even when having a field in the user table called excludeforumids .. it doesn't do anything.

I was wondering how it could, when forumdisplay.php nor forumhome.php are changed.

akanevsky 04-13-2005 11:33 PM

Uh, damn, yea I forgot about that. Hold on, I shall fix the readme.

akanevsky 04-13-2005 11:46 PM

Manual has been updated :)

kall 04-14-2005 02:20 AM

Quote:

Originally Posted by Dark Visor
Manual has been updated :)

Ah yes, it works for forumdisplay now...not for sub-forums on ForumHome though.

kall 04-14-2005 02:27 AM

Ahh.
Also in functions_forumlist.php find:
PHP Code:

else
            { 
// get on/off status
                
$lastpostinfo $forumcache["$lastpostarray[$forumid]"]; 

above, add the code you added in the other bit. :)

And it works 100% PERFECTION! I don't need to delete any Forums now. :)

GamerzWorld 04-14-2005 11:39 AM

Quote:

Originally Posted by kall
Ahh.
Also in functions_forumlist.php find:
PHP Code:

else
            { 
// get on/off status
                
$lastpostinfo $forumcache["$lastpostarray[$forumid]"]; 

above, add the code you added in the other bit. :)

And it works 100% PERFECTION! I don't need to delete any Forums now. :)

Can you explain that change abit more

kall 04-14-2005 11:48 AM

The first change only hides the forums on Forumdisplay...the one I mention hides them on ForumHome (if they are subforums, they would show if you don't apply my bit).

The code to insert is the same as you inserted as per the hack instructions, you just have to insert it again where I said to.

akanevsky 04-14-2005 06:18 PM

For some strange reason, on my board it does hide the forum from forumhome, only with my chunk of code. And I don't really understand why wouldn't it work on yours... What version of vB do you have?

kall 04-14-2005 11:05 PM

Quote:

Originally Posted by Dark Visor
For some strange reason, on my board it does hide the forum from forumhome, only with my chunk of code. And I don't really understand why wouldn't it work on yours... What version of vB do you have?

3.0.7..

It doesn't hide subforums without the bit I added.

What depth of subforums are you displaying?


All times are GMT. The time now is 10:53 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.01048 seconds
  • Memory Usage 1,738KB
  • 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
  • (2)bbcode_php_printable
  • (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