vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   Modification Requests/Questions (Unpaid) (https://vborg.vbsupport.ru/forumdisplay.php?f=112)
-   -   Hide forum from Who's Online? (https://vborg.vbsupport.ru/showthread.php?t=58383)

Smirks 11-04-2003 06:16 PM

Hide forum from Who's Online?
 
have a forum that isn't really private, but is marked as being inactive so it doesn't show up on the list. Users are able to go to this forum if they know the URL and are able to supply the correct password.

Anyhow, I'd like this forum to be excluded from the Who's Online page. Is it possible for me to do that? I don't want to mess with Access Masks because I simply want to the forum to not be shown in the list, and also not be shown on who's online.

Thanks,
C

Smirks 11-06-2003 12:49 PM

Quote:

Originally Posted by Smirks
have a forum that isn't really private, but is marked as being inactive so it doesn't show up on the list. Users are able to go to this forum if they know the URL and are able to supply the correct password.

Anyhow, I'd like this forum to be excluded from the Who's Online page. Is it possible for me to do that? I don't want to mess with Access Masks because I simply want to the forum to not be shown in the list, and also not be shown on who's online.

Thanks,
C

bump.... anyone... please!

assassingod 11-06-2003 01:47 PM

IIRC you can disable WOL but still see it if you are an admin

Smirks 11-07-2003 12:47 PM

Quote:

Originally Posted by assassingod
IIRC you can disable WOL but still see it if you are an admin

I don't want to disable WOL, I just want to not show one particular forum w/out having to use access masks.

Brad 11-07-2003 01:25 PM

for vB 2:

In online.php find:

PHP Code:

      if (!$forum[forumid][$userinfo[forumid]] || (!$forum[canview][$userinfo[forumid]] && $hideprivateforums)) {
        
$userinfo[where] = "Viewing Forum";
      } else {
        
$userinfo[where] = "Viewing Forum <a href='forumdisplay.php?s=$session[sessionhash]&forumid=$userinfo[forumid]'>".$forum[forumid][$userinfo[forumid]]."</a>";
      }
      break; 

Replace with:

PHP Code:

      if (!$forum[forumid][$userinfo[forumid]] || (!$forum[canview][$userinfo[forumid]] && $hideprivateforums && $forum[forumid][$userinfo[forumid]]  == '1')) {
        
$userinfo[where] = "Viewing Forum";
      } else {
        
$userinfo[where] = "Viewing Forum <a href='forumdisplay.php?s=$session[sessionhash]&forumid=$userinfo[forumid]'>".$forum[forumid][$userinfo[forumid]]."</a>";
      }
      break; 

Replace the added 1 with whatever your forumid is.

assassingod 11-07-2003 01:37 PM

Quote:

Originally Posted by Smirks
I don't want to disable WOL, I just want to not show one particular forum w/out having to use access masks.

Sorry I misread your first post:)

T3MEDIA 12-10-2004 07:01 PM

Quote:

Originally Posted by Brad.loo
for vB 2:

In online.php find:
Replace the added 1 with whatever your forumid is.

Is there a way to do this in vb 3.0.3

I have my site in frames. I dont want the top frame or bottom frame to be listed in the who's online viewing page.

Looks odd. so and so is viewing footer.

Any ideas? I would like it so if they were on a page and click in the header it still just thinks they are on that page untill the next main page loads.



I really think this would be cool to have.
Thank you!!!!

T3MEDIA 12-17-2004 08:12 PM

:bump: kindly bumping


All times are GMT. The time now is 08:24 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.01013 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
  • (2)bbcode_php_printable
  • (4)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (8)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
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete