First empty categories are visible [message #37504] |
Wed, 30 May 2007 19:16 |
syl20
Messages: 7 Registered: January 2007
Karma: 0
|
Junior Member |
|
|
Hi,
I've got a bunch of forums that are put in 2-level subcategories.
When these forums are not visible for the connected user, the empty categories and subcategoies are visible, despite they are empty, because no forums are visible in them.
In fact these empty subcategories are only visible if the category that contains them is at the top position :
Here cat1, subcat1, subcat2 are visible, even with no visible forum in them :
- cat1
|
+- subcat1
+- subcat2
+ cat2
Here cat1, subcat1, subcat2 are not visible :
+ cat2
- cat1
|
+- subcat1
+- subcat2
I'm using the last stable version. I tried to rebuild themes and check consistency without any suscess.
Anyone have seen this bug ?
Thanks,
Sylvain
|
|
|
|
|
|
|
Re: First empty categories are visible [message #38280 is a reply to message #37870] |
Mon, 30 July 2007 14:32 |
Ilia
Messages: 13241 Registered: January 2002
Karma: 0
|
Senior Member Administrator Core Developer |
|
|
The admin panel generates a helper PHP file that is then used in conjunction with the database to render the category listing. The helper filter contains the rendering tree and this is used to determine the layout of the categories on the page.
FUDforum Core Developer
|
|
|
Aw: First empty categories are visible [message #168690 is a reply to message #37504] |
Fri, 28 June 2013 08:54 |
|
captain picard
Messages: 15 Registered: March 2013
Karma: 0
|
Junior Member |
|
|
Hello,
same problem here, I am using version 3.0.4!
I think it looks like a bug:
emtpy sub-categories should not look up when no privileges on any contained forum are given! this tells people only "there is something more what YOU just can't see" no good ^^
some questions..
Has someone a hint where the code is located for building the helper php?
Maybe you can please describe it a bit, how is it done, to determine which catergory will be visible in case it SHOULD BE..? i'll try to fix it - as i have
.no clue about SQL
.seen you're using quite an intelligent bunch of it...!
thanks in advance!
David
[Updated on: Fri, 28 June 2013 11:57] Report message to a moderator
|
|
|