PDA

View Full Version : Hide forum from Who's Online?


Smirks
11-04-2003, 06:16 PM
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
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
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:

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:

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