Simple Machines Community Forum

Customizing SMF => Tips and Tricks => Topic started by: Thantos on December 10, 2005, 01:59:42 PM

Title: Hiding a board without modification
Post by: Thantos on December 10, 2005, 01:59:42 PM
So you want to hide a board from the Board Index but you don't want to do any modifications.  Well you are in luck

Step 1)
  Create a fake board and give no one access to it
Step 2)
  Create your hidden board and make it a child of the fake board in step 1

And there you now have a hidden board.

A couple of notes:
  - Admins can still see the fake board because they can see everything
  - Put the fake board in a category with other visible boards.  Otherwise you'll just have the category header appearing for no reason.
Title: Re: Hiding a board without modification
Post by: codenaught on December 10, 2005, 02:18:59 PM
Nice idea MikeMill  :)
Title: Re: Hiding a board without modification
Post by: Oldiesmann on December 13, 2005, 06:27:54 PM
If you're a member of my test board, you can see this in action. There's a "members only" board on there that's hidden from view (it's a child board of the guests-only board). Note that this will still show up in the Jump To box.
Title: Re: Hiding a board without modification
Post by: wakewatcher on February 03, 2009, 03:06:13 AM
This looks like an oldy but goody.  It gets me part of the way to what I'm trying to do.  I tried this on 2b4 and I think it works as advertised. Once you get to the topic via the url then just by clicking on the navigation links (above the board) you can see the whole topic list of the hidden board.  Ideally I would like to have a way to access a topic in an walled garden fashion.  So for instance http://www.mysmf.com/index.php?topic=80.0 would get me to the topic which would allow me to read it and reply etc but not navigate out to see other topics in the hidden board. -thx-
Title: Re: Hiding a board without modification
Post by: GR_MrBreez on February 03, 2009, 03:51:14 PM
How do I put a password on a board so only members that know pw can access that board?
Title: Re: Hiding a board without modification
Post by: Rumbaar on March 10, 2009, 11:02:22 PM
@wakewatcher you should be able to access it directly via a URL

@GR_MrBreez try this mod:
http://custom.simplemachines.org/mods/index.php?mod=922
Title: Re: Hiding a board without modification
Post by: Le Monde on June 03, 2009, 08:22:57 AM
Quote from: Thantos on December 10, 2005, 01:59:42 PM
So you want to hide a board from the Board Index but you don't want to do any modifications.  Well you are in luck

Step 1)
  Create a fake board and give no one access to it
Step 2)
  Create your hidden board and make it a child of the fake board in step 1

And there you now have a hidden board.

A couple of notes:
  - Admins can still see the fake board because they can see everything
  - Put the fake board in a category with other visible boards.  Otherwise you'll just have the category header appearing for no reason.

I tried this for SMF 1.1.9 but it doesn´t work....
Title: Re: Hiding a board without modification
Post by: Le Monde on June 03, 2009, 08:54:56 AM
I created a new board (access only for admins). Then I created a childforum to the new board. 

I don´t want to HIDE the childforums actually, I just want to remove the visible links to the childboards in order to have a cleaner look. I still want the childboards to appear visible if the members click on the board name.
Title: Re: Hiding a board without modification
Post by: Le Monde on June 03, 2009, 09:25:08 AM
Quote from: Arantor on June 03, 2009, 09:17:36 AM
So you have a child forum, and want it to be visible if a member clicks on the board name but as it's an admin only board it won't be visible to users...?

You want them to click on what board name in order to be able to see it? The idea of this tip was to hide a board from regular view but still be there for people to post to.

This was the original suggestion...

"So you want to hide a board from the Board Index but you don't want to do any modifications.  Well you are in luck"

That´s what I want. I also want my members to view the childboards only when they click on the board name. Of course the members will have permission to post and reply inside the childboards.

I hope you understand my point...

Title: Re: Hiding a board without modification
Post by: Le Monde on June 03, 2009, 11:16:04 AM
Quote from: Arantor on June 03, 2009, 09:52:42 AM
Oh, you mean hide it from the main index but still be a child of a regular forum board?

That will require a mod, I think.

Yes, that´s my thought.
Title: Re: Hiding a board without modification
Post by: Rumbaar on June 03, 2009, 06:15:02 PM
If you only want to remove the display of it from the BoardIndex.template.php you can remove the part that generates the child indexes, but it would be an all or nothing thing.  But you could also try and include an ignore function for only one or more boards to not display, but have child boards display for others.