Advertisement:

Author Topic: Hiding a board without modification  (Read 32472 times)

Offline Thantos

  • SMF Friend
  • SMF Super Hero
  • *
  • Posts: 16,163
  • Gender: Male
Hiding a board without modification
« 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.

Offline codenaught

  • SMF Friend
  • SMF Super Hero
  • *
  • Posts: 14,653
  • Gender: Male
  • Formerly Known As akabugeyes
Re: Hiding a board without modification
« Reply #1 on: December 10, 2005, 02:18:59 PM »
Nice idea MikeMill  :)
Dev Consultant
Former SMF Doc Coordinator

Offline Oldiesmann

  • Developer
  • SMF Super Hero
  • *
  • Posts: 24,814
  • Gender: Male
  • Ask me about the function DB :)
    • oldiesmann on Facebook
    • Oldiesmann on GitHub
    • http://www.linkedin.com/in/michaeleshom on LinkedIn
    • @oldiesmann on Twitter
    • Archie Comics Fan Forum
Re: Hiding a board without modification
« Reply #2 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.
Michael Eshom
Webmaster / SMF Lead Developer
oldiesmann@simplemachines.org

Offline wakewatcher

  • Jr. Member
  • **
  • Posts: 232
Re: Hiding a board without modification
« Reply #3 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-
smf 2.0.7

Offline GR_MrBreez

  • Newbie
  • *
  • Posts: 1
Re: Hiding a board without modification
« Reply #4 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?

Offline Rumbaar

  • SMF Friend
  • SMF Super Hero
  • *
  • Posts: 15,805
  • Gender: Male
  • Inherent Omniscience
    • Rumbaar.net
Re: Hiding a board without modification
« Reply #5 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
"An important reward for a job well done is a personal sense of worthwhile achievement."

[ Themes ]

Offline Le Monde

  • Semi-Newbie
  • *
  • Posts: 93
Re: Hiding a board without modification
« Reply #6 on: June 03, 2009, 08:22:57 AM »
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....

Offline Le Monde

  • Semi-Newbie
  • *
  • Posts: 93
Re: Hiding a board without modification
« Reply #7 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.

Offline Le Monde

  • Semi-Newbie
  • *
  • Posts: 93
Re: Hiding a board without modification
« Reply #8 on: June 03, 2009, 09:25:08 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...


Offline Le Monde

  • Semi-Newbie
  • *
  • Posts: 93
Re: Hiding a board without modification
« Reply #9 on: June 03, 2009, 11:16:04 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.

Offline Rumbaar

  • SMF Friend
  • SMF Super Hero
  • *
  • Posts: 15,805
  • Gender: Male
  • Inherent Omniscience
    • Rumbaar.net
Re: Hiding a board without modification
« Reply #10 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.
"An important reward for a job well done is a personal sense of worthwhile achievement."

[ Themes ]