Bug in Subcategories [message #23269] |
Thu, 10 March 2005 16:57 |
|
Egon
Messages: 27 Registered: October 2004 Location: Cambridge, Minnesota
Karma: 0
|
Junior Member |
|
|
Hope this isn't a duplicate. I searched for sub-category, sub-categories, subcategory, subcategories, sub category, sub categories...
I recently discovered, to my infinite joy, that you had implemented the subcategory feature. This will greatly enhance my forum and make it easier to remove unnecessary forums from the Home display (or make them collapsable).
I created one, and discovered a problem, though. The problem is apparent to normal users, but not Admins. For Admins, all looks like it should:
- Cat 1
. . . forum 1a
. . . forum 1b
. . . forum 1c
. . . - Empty Subcat 1
- Cat 2
. . . forum 2a
. . . forum 2b
When a normal user looks at it, though, he sees:
-Cat 1
. . . forum 1a
. . . forum 1b
. . . forum 1c
. . . + Empty Subcat 1
- Cat 2
. . . forum 2a
. . . forum 2b
When they open Empty Subcat 1, they see:
-Cat 1
. . . forum 1a
. . . forum 1b
. . . forum 1c
. . . + Empty Subcat 1
. . . . . . forum 2a
. . . . . . forum 2b
- Cat 2
. . . forum 2a
. . . forum 2b
If they actually go into Empty Subcat 1, they see:
forum 2a
forum 2b
These forums actually reside under Cat 2.
Thinking maybe it was just a bug on empty subcats, I added a forum to Empty Subcat. No dice. It did show the new forum, but still showed Cat 2's forums as well.
Thoughts?
I'm using version 2.6.9 currently.
"Quantum materiae materietur marmota monax si marmota monax materiam possit materiari?"
|
|
|
Re: Bug in Subcategories [message #23270 is a reply to message #23269] |
Thu, 10 March 2005 17:02 |
Ilia
Messages: 13241 Registered: January 2002
Karma: 0
|
Senior Member Administrator Core Developer |
|
|
This is fixed in later releases, upgrade to 2.6.12RC1, or 2.6.11 and it'll go away.
FUDforum Core Developer
|
|
|
|
|
|
|
|
|
|
|
|
|
Re: Same bug-- Slightly Different [message #23820 is a reply to message #23817] |
Wed, 30 March 2005 16:39 |
|
Egon
Messages: 27 Registered: October 2004 Location: Cambridge, Minnesota
Karma: 0
|
Junior Member |
|
|
OK. We're getting closer...
Here's what it looks like now...
- Cat 1
. . . forum 1a
. . . forum 1b
. . . forum 1c
. . . + SubCat A
- Cat 2
- Cat 3
If I expand SubCat A, I see...
- Cat 1
. . . forum 1a
. . . forum 1b
. . . forum 1c
. . . - SubCat A
- Cat 2
- Cat 3
. . . forum 1A1
. . . forum 1A2
The subcategory's forums are moved to the bottom of the list.
"Quantum materiae materietur marmota monax si marmota monax materiam possit materiari?"
[Updated on: Wed, 30 March 2005 16:43] Report message to a moderator
|
|
|
Re: Bug in Subcategories [message #23824 is a reply to message #23269] |
Wed, 30 March 2005 21:35 |
kenjb
Messages: 67 Registered: September 2004
Karma: 0
|
Member |
|
|
I have a small question now that I see a possible bug might creep up on me in this catagory usage.
I currently have:
-cat1
.forum1
.-subcat0
.forum0_0
.forum0_1
.forum0_2
.forum0_3
.forum0_4
.forum0_5
.-subcat1
.forum1_0
.forum1_1
and after making all of that I now see that I should have listed that entire cat1 and all of it's contents under yet one more catagory.
To look like this:
-cat01
.-cat1
.forum1
..-subcat0
..forum0_0
..forum0_1
..forum0_2
..forum0_3
..forum0_4
..forum0_5
..-subcat1
..forum1_0
..forum1_1
I'm afraid to make a new catagory and move that first listed tree under the new catagory. What do you think will happen in this case? I suppose I could back everything up and just go for it to see what happens. hmm..
After typing all of this, it would have taken me just as much time and effort to just try it and let you know, but now that I have gone this far.
Maybe I should add that in the end, sometime in the future it might end up looking like this:
-cat01
.-cat1 -cat2
.forum1 forum2
..-subcat0 -subcat2
..forum0_0 forum2_0
..forum0_1 forum2_1
..forum0_2 forum2_2
..forum0_3 forum2_3
..forum0_4 forum2_4
..forum0_5 forum2_5
..-subcat1 -subcat3
..forum1_0 forum3_0
..forum1_1 forum3_1
well, now I've just gone on too much.
kenjb
[Updated on: Wed, 30 March 2005 21:42] Report message to a moderator
|
|
|
Re: Same bug-- Slightly Different [message #23826 is a reply to message #23820] |
Wed, 30 March 2005 22:58 |
Ilia
Messages: 13241 Registered: January 2002
Karma: 0
|
Senior Member Administrator Core Developer |
|
|
Do Cat 2 & 3 have forums? They don't show up on my install here because they don't have any forums in them.
FUDforum Core Developer
|
|
|
|
Re: Bug in Subcategories [message #23829 is a reply to message #23269] |
Wed, 30 March 2005 23:05 |
kenjb
Messages: 67 Registered: September 2004
Karma: 0
|
Member |
|
|
Doesn't matter, I'll let you know if it has any bugs when I get around to making my change.
Thanks and I'll just keep an eye on this thread.
kenjb
|
|
|
|
|
|
|
|
|
|
|
|
Re: New Subcategory Weirdness [message #23917 is a reply to message #23916] |
Tue, 05 April 2005 15:08 |
|
Egon
Messages: 27 Registered: October 2004 Location: Cambridge, Minnesota
Karma: 0
|
Junior Member |
|
|
I take it back. The symptoms have gotten worse.
Now, along with the subcategory showing under the previous subcategory, all forums under Cat 2 and Cat 3 are listed at the end of the display, regardless of whether their categories are expanded or not...
- Cat 1
. . . Forum 1a
. . . Forum 1b
. . . Forum 1c
. . . - SubCat 1A
. . . . . . Forum 1A1
. . . . . . Forum 1A2
. . . . . . - SubCat 3A
. . . . . . . . . Forum 3A1
. . . . . . . . . Forum 3A2
+ Cat 2
- Cat 3
. . . Forum 2a
. . . Forum 2b
. . . Forum 3a
. . . Forum 3b
"Quantum materiae materietur marmota monax si marmota monax materiam possit materiari?"
[Updated on: Tue, 05 April 2005 15:11] Report message to a moderator
|
|
|
|
|
|
|
Re: New Subcategory Weirdness [message #24007 is a reply to message #24001] |
Thu, 07 April 2005 21:43 |
Ilia
Messages: 13241 Registered: January 2002
Karma: 0
|
Senior Member Administrator Core Developer |
|
|
Please give complete instructions to replicate the problem. So far I was unable to replicate the problem you've reported on my test forum.
FUDforum Core Developer
|
|
|
|
|
Re: New Subcategory Weirdness [message #24018 is a reply to message #24015] |
Fri, 08 April 2005 14:05 |
Ilia
Messages: 13241 Registered: January 2002
Karma: 0
|
Senior Member Administrator Core Developer |
|
|
I followed your steps on my dev forum, but no matter what I do I cannot replicate the bug.
Send me the SQL data inside the category & forum tables and I'll try using that to replicate the bug.
FUDforum Core Developer
|
|
|
|
Re: New Subcategory Weirdness [message #24020 is a reply to message #24019] |
Fri, 08 April 2005 15:10 |
Ilia
Messages: 13241 Registered: January 2002
Karma: 0
|
Senior Member Administrator Core Developer |
|
|
Erhmm... could you send me a mysql dump (actual queries needed to re-create the data), I don't want to manually re-input the values.
FUDforum Core Developer
|
|
|
|
|
|