Advertisement:

Author Topic: To hide category from board index  (Read 6051 times)

Offline Joker™

  • SMF Friend
  • SMF Hero
  • *
  • Posts: 5,914
  • Gender: Male
    • siddhartha-gupta on GitHub
To hide category from board index
« on: June 26, 2010, 08:23:39 AM »
I want to hide category from main board index , but still users can access it using View single category mod .


I've asked twice in mod support thread , but author seems to be bit busy.

I got solution here also , but it's not working after the mod is installed

http://www.simplemachines.org/community/index.php?topic=384711.msg2665355#msg2665355

please someone help me out in this  :-X .
Github Profile
Android apps
Medium

How to enable Post Moderation

"For the wise man looks into space and he knows there is no limited dimensions." - Laozi

All support seeking PM's get microwaved

Offline PurpleCrow

  • Full Member
  • ***
  • Posts: 528
  • Gender: Female
    • Forums Galore
Re: To hide category from board index
« Reply #1 on: June 26, 2010, 08:37:35 AM »
If you hide the boards, using the instructions within this thread http://www.simplemachines.org/community/index.php?topic=387883.0 it will hide the category if all of the boards are hidden.

If you want to see an example, I've got boards hidden on my forum which can be accessed via the "Study Groups" tab on the menu bar (I think guests can see it), I'll have to install that Single Category mod, will make it much neater :D
SMF 2.0 RC3

Looking for staff!

Forums Galore, a brand new Admin Forum is looking for staff to help with the launch. Send me a PM or sign up to Forums Galore if you're interested!

Add your forum to the Forums Galore Community Showcase

Offline Joker™

  • SMF Friend
  • SMF Hero
  • *
  • Posts: 5,914
  • Gender: Male
    • siddhartha-gupta on GitHub
Re: To hide category from board index
« Reply #2 on: June 26, 2010, 09:59:47 AM »
im asking to hide categories , not boards :)
Github Profile
Android apps
Medium

How to enable Post Moderation

"For the wise man looks into space and he knows there is no limited dimensions." - Laozi

All support seeking PM's get microwaved

Offline PurpleCrow

  • Full Member
  • ***
  • Posts: 528
  • Gender: Female
    • Forums Galore
Re: To hide category from board index
« Reply #3 on: June 26, 2010, 10:16:23 AM »
OK, I may have misunderstood.

Do you want the category to display on the board index? Or just the boards within that category to display on the board index? Or do you want to have a collapsed category bar displaying on the board index and for people to be able to view that category by clicking on the category name?
SMF 2.0 RC3

Looking for staff!

Forums Galore, a brand new Admin Forum is looking for staff to help with the launch. Send me a PM or sign up to Forums Galore if you're interested!

Add your forum to the Forums Galore Community Showcase

Offline Joker™

  • SMF Friend
  • SMF Hero
  • *
  • Posts: 5,914
  • Gender: Male
    • siddhartha-gupta on GitHub
Re: To hide category from board index
« Reply #4 on: June 26, 2010, 10:29:54 AM »
lol u just even confused me :D hahahaha .....

i just want category not to show on main page.not even its boards.

but category can accessed via the link produced by the "View Single Category Mod".

Github Profile
Android apps
Medium

How to enable Post Moderation

"For the wise man looks into space and he knows there is no limited dimensions." - Laozi

All support seeking PM's get microwaved

Offline PurpleCrow

  • Full Member
  • ***
  • Posts: 528
  • Gender: Female
    • Forums Galore
Re: To hide category from board index
« Reply #5 on: June 26, 2010, 10:33:08 AM »
LOL!

Right - if you hide the boards within that category using the instructions posted within the thread I posted a link to it will hide the category as well (as long as you hide all the boards within that category) which you can then access through the category link thats created via the View Single Category Mod.
SMF 2.0 RC3

Looking for staff!

Forums Galore, a brand new Admin Forum is looking for staff to help with the launch. Send me a PM or sign up to Forums Galore if you're interested!

Add your forum to the Forums Galore Community Showcase

Offline Joker™

  • SMF Friend
  • SMF Hero
  • *
  • Posts: 5,914
  • Gender: Male
    • siddhartha-gupta on GitHub
Re: To hide category from board index
« Reply #6 on: June 26, 2010, 10:35:10 AM »
kk leme give a shot ;)
Github Profile
Android apps
Medium

How to enable Post Moderation

"For the wise man looks into space and he knows there is no limited dimensions." - Laozi

All support seeking PM's get microwaved

Offline Joker™

  • SMF Friend
  • SMF Hero
  • *
  • Posts: 5,914
  • Gender: Male
    • siddhartha-gupta on GitHub
Re: To hide category from board index
« Reply #7 on: June 26, 2010, 10:42:31 AM »
It created the same problem,

I tried ur trick , it made category disappeared from main page,

but when i tried to access it using the mod category was not showing at that page also.(boards of the category also didn't showed up).

any other solution :) ?
Github Profile
Android apps
Medium

How to enable Post Moderation

"For the wise man looks into space and he knows there is no limited dimensions." - Laozi

All support seeking PM's get microwaved

Offline PurpleCrow

  • Full Member
  • ***
  • Posts: 528
  • Gender: Female
    • Forums Galore
Re: To hide category from board index
« Reply #8 on: June 26, 2010, 10:46:24 AM »
No idea sorry! Unless theres a similar way to hide a category itself - I'll have a play around with the code on my test board.

You could do it as I have done (I got loads of errors with that mod so didnt bother with it) - hidden a board, added childboards to that board and accessing the main board via its URL. Erm, that may not make sense... See here http://thewitchespath.com/index.php?board=77.0 Thats a hidden board accessed via a tab in the navbar.
SMF 2.0 RC3

Looking for staff!

Forums Galore, a brand new Admin Forum is looking for staff to help with the launch. Send me a PM or sign up to Forums Galore if you're interested!

Add your forum to the Forums Galore Community Showcase

Offline Joker™

  • SMF Friend
  • SMF Hero
  • *
  • Posts: 5,914
  • Gender: Male
    • siddhartha-gupta on GitHub
Re: To hide category from board index
« Reply #9 on: June 26, 2010, 10:59:45 AM »
First of all ur site is very pretty.

I'll wait for the solution first as i already have 14 categories on my site , so it'll be a long process for me.

So i'll stick to my original Question.


i just want category not to show on main page.not even its boards.

but category can accessed via the link produced by the "View Single Category Mod".
Github Profile
Android apps
Medium

How to enable Post Moderation

"For the wise man looks into space and he knows there is no limited dimensions." - Laozi

All support seeking PM's get microwaved

Offline PurpleCrow

  • Full Member
  • ***
  • Posts: 528
  • Gender: Female
    • Forums Galore
Re: To hide category from board index
« Reply #10 on: June 26, 2010, 11:06:47 AM »
First of all ur site is very pretty.

Aw, thank you :D

I've had a look to see if I could work out a code to do it but its a bit beyond me I'm afraid! Hopefully someone else will be able to help you :)
SMF 2.0 RC3

Looking for staff!

Forums Galore, a brand new Admin Forum is looking for staff to help with the launch. Send me a PM or sign up to Forums Galore if you're interested!

Add your forum to the Forums Galore Community Showcase

Offline Joker™

  • SMF Friend
  • SMF Hero
  • *
  • Posts: 5,914
  • Gender: Male
    • siddhartha-gupta on GitHub
Re: To hide category from board index
« Reply #11 on: June 26, 2010, 11:49:46 AM »
First of all ur site is very pretty.

Aw, thank you :D

I've had a look to see if I could work out a code to do it but its a bit beyond me I'm afraid! Hopefully someone else will be able to help you :)

your welcome :) , im also seeking for solution nearly past 2 weeks
Github Profile
Android apps
Medium

How to enable Post Moderation

"For the wise man looks into space and he knows there is no limited dimensions." - Laozi

All support seeking PM's get microwaved

Offline Joker™

  • SMF Friend
  • SMF Hero
  • *
  • Posts: 5,914
  • Gender: Male
    • siddhartha-gupta on GitHub
Re: To hide category from board index
« Reply #12 on: July 01, 2010, 05:56:57 AM »
bump**********
Github Profile
Android apps
Medium

How to enable Post Moderation

"For the wise man looks into space and he knows there is no limited dimensions." - Laozi

All support seeking PM's get microwaved

Offline Joker™

  • SMF Friend
  • SMF Hero
  • *
  • Posts: 5,914
  • Gender: Male
    • siddhartha-gupta on GitHub
Re: To hide category from board index
« Reply #13 on: July 03, 2010, 03:44:50 PM »
bump
Github Profile
Android apps
Medium

How to enable Post Moderation

"For the wise man looks into space and he knows there is no limited dimensions." - Laozi

All support seeking PM's get microwaved

Offline PurpleCrow

  • Full Member
  • ***
  • Posts: 528
  • Gender: Female
    • Forums Galore
Re: To hide category from board index
« Reply #14 on: July 03, 2010, 04:40:54 PM »
I had a thought, if you install the View Single Category Mod, that must change the code in some way to seperate the categories much like the actual boards are which should enable you to hide them in a similar way you hide the boards. Hmm I'll have a look at the coding the mod uses.

Or you could do it using the mod and the way I suggested in my 5th post (on this thread).
SMF 2.0 RC3

Looking for staff!

Forums Galore, a brand new Admin Forum is looking for staff to help with the launch. Send me a PM or sign up to Forums Galore if you're interested!

Add your forum to the Forums Galore Community Showcase

Offline lomaalta

  • Semi-Newbie
  • *
  • Posts: 31
Re: To hide category from board index
« Reply #15 on: December 12, 2014, 05:49:05 PM »
I need to do this too - I have many boards I would like to hide on the board index...  all within one category.

Maybe a mod like this:   In the Admin area, in the Modify Category page, a way to set all boards permissions - within that category - en masse...

insert 0,2,4,5,6,7,8 into member_groups if id_cat = x    to hide the entire category and all it's boards from guests for example.

 8)
« Last Edit: December 12, 2014, 06:07:48 PM by lomaalta »

Offline Kindred

  • The Mean One
  • Support Specialist
  • SMF Legend
  • *
  • Posts: 58,328
  • Gender: Male
    • Kindred-999 on GitHub
Re: To hide category from board index
« Reply #16 on: December 12, 2014, 08:06:11 PM »
???


if you don't ant guests to see boards, then don't give them access to see the board.
SMF does not display actions which a user can not complete...   so, if they can't read the board, they can't see even see the board listed... and - if all boards in a category are not visible, then the category itself is not displayed....


So, why do you need a mod that overcomplicates something which is simply handled through the existing permissions?
Please do not PM, IM or Email me with support questions.  You will get better and faster responses in the support boards.  Thank you.

Offline lomaalta

  • Semi-Newbie
  • *
  • Posts: 31
Re: To hide category from board index
« Reply #17 on: December 12, 2014, 09:49:03 PM »
Because i have about 100 boards that I would instantly like to turn the visibility on or off of ....

Just a quirky want of mine....   admittedly.  8)

Offline Arantor

  • Resident Overthinker
  • SMF Friend
  • SMF Legend
  • *
  • Posts: 71,224
    • StoryBB/StoryBB on GitHub
Re: To hide category from board index
« Reply #18 on: December 12, 2014, 09:55:51 PM »
Maybe restructuring your boards to have less of them might help?

This forum has 200 boards, mostly because each language has its own little area, cut that out and the number drops to below 50... and this forum has 3.6 million posts... just a thought?
Don’t try to tell me that some power can corrupt a person. You haven’t had enough to know what it’s like.

No good deed goes unpunished / No act of charity goes unresented.

Offline lomaalta

  • Semi-Newbie
  • *
  • Posts: 31
Re: To hide category from board index
« Reply #19 on: December 12, 2014, 10:36:11 PM »
Well, I ran a similar sized forum for years with 50,000 (15000 or so very active) members... today it has over 4 million posts -    So I have some experience :)  In fact - maybe sold it for the highest price ever for an smf forum :)

I'm just trying to doing something "a little different", and need that functionality.  I may try to whip something up - and post it for others - so this isn't as much a mod request - as it is a mod idea.  8)

...  and regardless of how many boards I have I think it would useful be able to set permission on groups (categories) of boards... instead of having to go into each board and set them....  no?
« Last Edit: December 12, 2014, 10:59:54 PM by lomaalta »