FUDforum
Fast Uncompromising Discussions. FUDforum will get your users talking.

Home » FUDforum Development » Bug Reports » Bug in Subcategories
Show: Today's Messages :: Polls :: Message Navigator
Switch to threaded view of this topic Create a new topic Submit Reply
Bug in Subcategories [message #23269] Thu, 10 March 2005 16:57 Go to next message
Egon is currently offline  Egon   United States
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 Go to previous messageGo to next message
Ilia is currently offline  Ilia   Canada
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: Bug in Subcategories [message #23271 is a reply to message #23270] Thu, 10 March 2005 17:10 Go to previous messageGo to next message
Egon is currently offline  Egon   United States
Messages: 27
Registered: October 2004
Location: Cambridge, Minnesota
Karma: 0
Junior Member
Thanks!

I should've read the announcements before posting this issue. I saw it there right before I read your response.

Loving this forum-- thanks for all your hard work!


"Quantum materiae materietur marmota monax si marmota monax materiam possit materiari?"
Re: Bug in Subcategories [message #23321 is a reply to message #23270] Sat, 12 March 2005 04:55 Go to previous messageGo to next message
Egon is currently offline  Egon   United States
Messages: 27
Registered: October 2004
Location: Cambridge, Minnesota
Karma: 0
Junior Member
Ilia wrote on Thu, 10 March 2005 11:02

This is fixed in later releases, upgrade to 2.6.12RC1, or 2.6.11 and it'll go away.


Must be 2.6.12RC. Upgraded to .11, and the problem still remains.


"Quantum materiae materietur marmota monax si marmota monax materiam possit materiari?"
Same bug-- Slightly Different [message #23698 is a reply to message #23269] Sat, 26 March 2005 17:22 Go to previous messageGo to next message
Egon is currently offline  Egon   United States
Messages: 27
Registered: October 2004
Location: Cambridge, Minnesota
Karma: 0
Junior Member
Installed .12 hoping it would fix my subcategory issue. It didn't.

Here's what we're seeing.

Original:

- Cat 1
. . . Forum 1a
. . . Forum 1b
. . . Forum 1c
+ Cat 2
+ Cat 3

After adding a subcategory:

- Cat 1
. . . - SubCat A
. . . . . . Forum 1A1
. . . . . . Forum 1A2
+ Cat 2
+ Cat 3
. . . Forum 1a
. . . Forum 1b
. . . Forum 1c

Although Cat 1's forums still sort of belong to Cat 1, they're displayed below the rest of the categories. If we expand Cat 3, we see this:

- Cat 1
. . . - SubCat A
. . . . . . Forum 1A1
. . . . . . Forum 1A2
+ Cat 2
- Cat 3
. . . Forum 1a
. . . Forum 1b
. . . Forum 1c
. . . Forum 3a
. . . Forum 3b



"Quantum materiae materietur marmota monax si marmota monax materiam possit materiari?"
Re: Same bug-- Slightly Different [message #23699 is a reply to message #23698] Sat, 26 March 2005 17:29 Go to previous messageGo to next message
Egon is currently offline  Egon   United States
Messages: 27
Registered: October 2004
Location: Cambridge, Minnesota
Karma: 0
Junior Member
Minor modification:

- Cat 1
. . . Forum 1a
. . . - SubCat A
. . . . . . Forum 1A1
. . . . . . Forum 1A2
+ Cat 2
- Cat 3
. . . Forum 1b
. . . Forum 1c
. . . Forum 3a
. . . Forum 3b

This is what it looks like. The first displayed form under Cat 1 is displayed correctly. It's the remaining ones that get moved down.


"Quantum materiae materietur marmota monax si marmota monax materiam possit materiari?"
Re: Same bug-- Slightly Different [message #23700 is a reply to message #23699] Sat, 26 March 2005 17:29 Go to previous messageGo to next message
Egon is currently offline  Egon   United States
Messages: 27
Registered: October 2004
Location: Cambridge, Minnesota
Karma: 0
Junior Member
Ran Consistency Checker on the forum. No change.

"Quantum materiae materietur marmota monax si marmota monax materiam possit materiari?"
Re: Same bug-- Slightly Different [message #23738 is a reply to message #23700] Sun, 27 March 2005 20:05 Go to previous messageGo to next message
Ilia is currently offline  Ilia   Canada
Messages: 13241
Registered: January 2002
Karma: 0
Senior Member
Administrator
Core Developer
Fixed in CVS.

FUDforum Core Developer
Re: Same bug-- Slightly Different [message #23812 is a reply to message #23738] Wed, 30 March 2005 14:51 Go to previous messageGo to next message
Tangaloor is currently offline  Tangaloor   United States
Messages: 20
Registered: October 2004
Location: Minneapolis, MN
Karma: 0
Junior Member
What's the file that needs to be installed? I'm not configured for CVS diffing the entire tree (I have to pull individual files from SourceForge).

Thanks.
Re: Same bug-- Slightly Different [message #23814 is a reply to message #23812] Wed, 30 March 2005 14:57 Go to previous messageGo to next message
Ilia is currently offline  Ilia   Canada
Messages: 13241
Registered: January 2002
Karma: 0
Senior Member
Administrator
Core Developer
index.php.t is the file you need from CVS.

FUDforum Core Developer
Re: Same bug-- Slightly Different [message #23815 is a reply to message #23814] Wed, 30 March 2005 16:00 Go to previous messageGo to next message
Egon is currently offline  Egon   United States
Messages: 27
Registered: October 2004
Location: Cambridge, Minnesota
Karma: 0
Junior Member
Patch installed. Absolutely no change in the symptoms.

Is there anything we need to do in addition to moving the file in place?


"Quantum materiae materietur marmota monax si marmota monax materiam possit materiari?"
Re: Same bug-- Slightly Different [message #23817 is a reply to message #23815] Wed, 30 March 2005 16:25 Go to previous messageGo to next message
Ilia is currently offline  Ilia   Canada
Messages: 13241
Registered: January 2002
Karma: 0
Senior Member
Administrator
Core Developer
Did you rebuild the theme after installing the patch?

FUDforum Core Developer
Re: Same bug-- Slightly Different [message #23820 is a reply to message #23817] Wed, 30 March 2005 16:39 Go to previous messageGo to next message
Egon is currently offline  Egon   United States
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 Go to previous messageGo to next message
kenjb is currently offline  kenjb   United States
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 Go to previous messageGo to next message
Ilia is currently offline  Ilia   Canada
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 #23827 is a reply to message #23824] Wed, 30 March 2005 22:59 Go to previous messageGo to next message
Ilia is currently offline  Ilia   Canada
Messages: 13241
Registered: January 2002
Karma: 0
Senior Member
Administrator
Core Developer
Kenjb, I don't understand your structure @ all.

FUDforum Core Developer
Re: Bug in Subcategories [message #23829 is a reply to message #23269] Wed, 30 March 2005 23:05 Go to previous messageGo to next message
kenjb is currently offline  kenjb   United States
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: Same bug-- Slightly Different [message #23833 is a reply to message #23826] Thu, 31 March 2005 01:21 Go to previous messageGo to next message
Egon is currently offline  Egon   United States
Messages: 27
Registered: October 2004
Location: Cambridge, Minnesota
Karma: 0
Junior Member
Ilia wrote on Wed, 30 March 2005 16:58

Do Cat 2 & 3 have forums? They don't show up on my install here because they don't have any forums in them.


They have forums under them, they're just collapsed. If Cat 2 is expanded, its forums appear correctly. If Cat 3 is expanded, its forums appear correctly too-- but Cat 1's Subcat A's forums are appended to the end of Cat 3's listing.

Everything is appearing correctly-- just that the subcat's forums are displayed after everything else has been listed.


"Quantum materiae materietur marmota monax si marmota monax materiam possit materiari?"
Re: Same bug-- Slightly Different [message #23834 is a reply to message #23833] Thu, 31 March 2005 01:25 Go to previous messageGo to next message
Egon is currently offline  Egon   United States
Messages: 27
Registered: October 2004
Location: Cambridge, Minnesota
Karma: 0
Junior Member
I should've shown +'s in front of Cat 2 and Cat 3 in my explanation before. Sorry!

All categories in our Forum have forums under them.

Prior to your patch, all Cat 1's forums (except the first one, for some reason) were moved to the bottom of the display. Cat 1's SubCat's forums were displayed correctly.

After the patch, all Cat 1's forums are displayed correctly under Cat 1. Cat 1's SubCat's forums, though, are moved to the bottom of the display, under any other categories that happen to be present.

Hope that clarifies.


"Quantum materiae materietur marmota monax si marmota monax materiam possit materiari?"
Re: Same bug-- Slightly Different [message #23846 is a reply to message #23834] Thu, 31 March 2005 22:01 Go to previous messageGo to next message
Ilia is currently offline  Ilia   Canada
Messages: 13241
Registered: January 2002
Karma: 0
Senior Member
Administrator
Core Developer
Here is the patch.
http://cvs.prohost.org/c/index.cgi/FUDforum/chngview?cn=3486

After applying it be sure to run the consistency checker and rebuild the theme.


FUDforum Core Developer
Re: Same bug-- Slightly Different [message #23854 is a reply to message #23846] Fri, 01 April 2005 16:59 Go to previous messageGo to next message
Egon is currently offline  Egon   United States
Messages: 27
Registered: October 2004
Location: Cambridge, Minnesota
Karma: 0
Junior Member
Ilia wrote on Thu, 31 March 2005 16:01

Here is the patch.
http://cvs.prohost.org/c/index.cgi/FUDforum/chngview?cn=3486



Can't get to the link. It keeps timing out. Temporary condition?


"Quantum materiae materietur marmota monax si marmota monax materiam possit materiari?"
Re: Same bug-- Slightly Different [message #23855 is a reply to message #23854] Fri, 01 April 2005 18:34 Go to previous messageGo to next message
Ilia is currently offline  Ilia   Canada
Messages: 13241
Registered: January 2002
Karma: 0
Senior Member
Administrator
Core Developer
It works fine for me...

Try again...


FUDforum Core Developer
Re: Same bug-- Slightly Different [message #23856 is a reply to message #23855] Fri, 01 April 2005 20:02 Go to previous messageGo to next message
Egon is currently offline  Egon   United States
Messages: 27
Registered: October 2004
Location: Cambridge, Minnesota
Karma: 0
Junior Member
Was able to finally get in.

That seems to have resolved the issue!

Thanks!


"Quantum materiae materietur marmota monax si marmota monax materiam possit materiari?"
New Subcategory Weirdness [message #23858 is a reply to message #23269] Fri, 01 April 2005 21:46 Go to previous messageGo to next message
Egon is currently offline  Egon   United States
Messages: 27
Registered: October 2004
Location: Cambridge, Minnesota
Karma: 0
Junior Member
OK. Now that stuff appeared to be showing up where it was supposed to, I decided to add another subcategory.

I received an error (which I sent you via private message due to path information). The new subcategory still seemed to show up under the correct spot in the admin screen.

In the private message, I told you that the new subcategory didn't show up in the normal view of the forum. I was wrong. It's showing up, just in a really unexpected place.

This is what we're seeing:

- 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 3a
. . . Forum 3b

Instead of being under Cat 3, the new Subcategory has been moved up under Cat 1's SubCat. Didn't really see THAT coming.


"Quantum materiae materietur marmota monax si marmota monax materiam possit materiari?"
Re: New Subcategory Weirdness [message #23870 is a reply to message #23858] Sun, 03 April 2005 16:44 Go to previous messageGo to next message
Ilia is currently offline  Ilia   Canada
Messages: 13241
Registered: January 2002
Karma: 0
Senior Member
Administrator
Core Developer
Here is the fix:
http://cvs.prohost.org/c/index.cgi/FUDforum/chngview?cn=3489


FUDforum Core Developer
Re: New Subcategory Weirdness [message #23916 is a reply to message #23870] Tue, 05 April 2005 15:05 Go to previous messageGo to next message
Egon is currently offline  Egon   United States
Messages: 27
Registered: October 2004
Location: Cambridge, Minnesota
Karma: 0
Junior Member
That got rid of the error message I was seeing, but the symptom is still the same.

"Quantum materiae materietur marmota monax si marmota monax materiam possit materiari?"
Re: New Subcategory Weirdness [message #23917 is a reply to message #23916] Tue, 05 April 2005 15:08 Go to previous messageGo to next message
Egon is currently offline  Egon   United States
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 #23918 is a reply to message #23917] Tue, 05 April 2005 15:18 Go to previous messageGo to next message
Ilia is currently offline  Ilia   Canada
Messages: 13241
Registered: January 2002
Karma: 0
Senior Member
Administrator
Core Developer
After applying the patch did you rebuild the theme & run the consistency checker?

FUDforum Core Developer
Re: New Subcategory Weirdness [message #23920 is a reply to message #23918] Tue, 05 April 2005 15:32 Go to previous messageGo to next message
Egon is currently offline  Egon   United States
Messages: 27
Registered: October 2004
Location: Cambridge, Minnesota
Karma: 0
Junior Member
Yes to all.

"Quantum materiae materietur marmota monax si marmota monax materiam possit materiari?"
Re: New Subcategory Weirdness [message #23947 is a reply to message #23920] Tue, 05 April 2005 23:33 Go to previous messageGo to next message
Ilia is currently offline  Ilia   Canada
Messages: 13241
Registered: January 2002
Karma: 0
Senior Member
Administrator
Core Developer
Fixed, hopefully this addresses the problem permanently.
http://cvs.prohost.org/c/index.cgi/FUDforum/chngview?cn=3498


FUDforum Core Developer
Re: New Subcategory Weirdness [message #24001 is a reply to message #23947] Thu, 07 April 2005 16:06 Go to previous messageGo to next message
Egon is currently offline  Egon   United States
Messages: 27
Registered: October 2004
Location: Cambridge, Minnesota
Karma: 0
Junior Member
Added a subcategory, and everything looked good.

Added a couple of additional subcategories, and moved one category under a different one, and more weirdness was displayed...

- Cat 1
. . . Forum 1a
. . . Forum 1b
. . . Forum 1c
+ Cat 2
- Cat 3
. . . Forum 3a
. . . Forum 3b
. . . - SubCat 1A
. . . . . . Forum 1A1
. . . . . . Forum 1A2
. . . - SubCat 2A
. . . . . . Forum 2A1
. . . . . . Forum 2A2
. . . - SubCat 3A
. . . . . . Forum 3A1
. . . . . . Forum 3A2

Now, ALL subcategories are displayed at the bottom of the list.


"Quantum materiae materietur marmota monax si marmota monax materiam possit materiari?"
Re: New Subcategory Weirdness [message #24007 is a reply to message #24001] Thu, 07 April 2005 21:43 Go to previous messageGo to next message
Ilia is currently offline  Ilia   Canada
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 #24014 is a reply to message #24007] Fri, 08 April 2005 12:47 Go to previous messageGo to next message
Egon is currently offline  Egon   United States
Messages: 27
Registered: October 2004
Location: Cambridge, Minnesota
Karma: 0
Junior Member
Ilia wrote on Thu, 07 April 2005 16:43

Please give complete instructions to replicate the problem. So far I was unable to replicate the problem you've reported on my test forum.


I started out with the following structure (more or less):

- Cat 1
. . . Forum 1a
. . . Forum 1b
. . . Forum 1c
. . . SubCat 1A
. . . . . . Forum 1A1
. . . . . . Forum 1A2
. . . . . . Forum 1A3
- Cat 2
. . . Forum 2a
. . . Forum 2b
. . . Forum 2c
- Cat 3
. . . Forum 3a
. . . Forum 3b
. . . Forum 3c

I added a sub category for Cat 2, and moved a couple of its forums underneath. This left me with:

- Cat 1
. . . Forum 1a
. . . Forum 1b
. . . Forum 1c
. . . - SubCat 1A
. . . . . . Forum 1A1
. . . . . . Forum 1A2
. . . . . . Forum 1A3
- Cat 2
. . . Forum 2a
. . . - SubCat 2A
. . . . . . Forum 2b
. . . . . . Forum 2c
- Cat 3
. . . Forum 3a
. . . Forum 3b
. . . Forum 3c

Everything looked great. Then I decided to do something similar with Cat 3. No sooner did I add a subcategory for Cat 3, and I saw this:

- Cat 1
. . . Forum 1a
. . . Forum 1b
. . . Forum 1c
- Cat 2
. . . Forum 2a
- Cat 3
. . . Forum 3a
. . . Forum 3b
. . . Forum 3c
. . . - SubCat 1A
. . . . . . Forum 1A1
. . . . . . Forum 1A2
. . . . . . Forum 1A3
. . . - SubCat 2A
. . . . . . Forum 2b
. . . . . . Forum 2c

No SubCat 3A was visible (probably because I hadn't assigned any forums to it yet), and all other subcategories were moved to the bottom of the list.

Actually adding forums from Cat 3 to the SubCat 3A made it appear at the end of the list:

- Cat 1
. . . Forum 1a
. . . Forum 1b
. . . Forum 1c
- Cat 2
. . . Forum 2a
- Cat 3
. . . Forum 3a
. . . - SubCat 1A
. . . . . . Forum 1A1
. . . . . . Forum 1A2
. . . . . . Forum 1A3
. . . - SubCat 2A
. . . . . . Forum 2b
. . . . . . Forum 2c
. . . - SubCat 3A
. . . . . . Forum 3b
. . . . . . Forum 3c


"Quantum materiae materietur marmota monax si marmota monax materiam possit materiari?"
Re: New Subcategory Weirdness [message #24015 is a reply to message #24014] Fri, 08 April 2005 13:17 Go to previous messageGo to next message
Egon is currently offline  Egon   United States
Messages: 27
Registered: October 2004
Location: Cambridge, Minnesota
Karma: 0
Junior Member
Upon further investigation, it appears that weirdness occurs only if I attempt to stick subcategories under the last two categories.

I've actually got 5 categories total. It's looking like I can add subcategories all day under the first 3. As soon as I do anything with the last 2, though, all hell breaks loose.


"Quantum materiae materietur marmota monax si marmota monax materiam possit materiari?"
Re: New Subcategory Weirdness [message #24018 is a reply to message #24015] Fri, 08 April 2005 14:05 Go to previous messageGo to next message
Ilia is currently offline  Ilia   Canada
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 #24019 is a reply to message #24018] Fri, 08 April 2005 15:01 Go to previous messageGo to next message
Tangaloor is currently offline  Tangaloor   United States
Messages: 20
Registered: October 2004
Location: Minneapolis, MN
Karma: 0
Junior Member
Here is the SQL output for your request. In case you hadn't guessed, Egon and I are co-admins of our forum, but I'm the only one with full access to the server.
Re: New Subcategory Weirdness [message #24020 is a reply to message #24019] Fri, 08 April 2005 15:10 Go to previous messageGo to next message
Ilia is currently offline  Ilia   Canada
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
Re: New Subcategory Weirdness [message #24021 is a reply to message #24020] Fri, 08 April 2005 17:50 Go to previous messageGo to next message
Tangaloor is currently offline  Tangaloor   United States
Messages: 20
Registered: October 2004
Location: Minneapolis, MN
Karma: 0
Junior Member
Okay. This is are two dumps from postgres using pg_dump -aDt. You might have to remove a couple commands from the dump as they have to do with pg_catalog or something like that.
Re: New Subcategory Weirdness [message #24025 is a reply to message #24021] Sat, 09 April 2005 17:51 Go to previous messageGo to next message
Ilia is currently offline  Ilia   Canada
Messages: 13241
Registered: January 2002
Karma: 0
Senior Member
Administrator
Core Developer
Here is the fix, the code didn't account for integer overflows on 32bit systems in PHP.
http://cvs.prohost.org/c/index.cgi/FUDforum/chngview?cn=3503


FUDforum Core Developer
Re: New Subcategory Weirdness [message #24050 is a reply to message #24025] Mon, 11 April 2005 15:25 Go to previous messageGo to previous message
Egon is currently offline  Egon   United States
Messages: 27
Registered: October 2004
Location: Cambridge, Minnesota
Karma: 0
Junior Member
I think that's got it! Added multiple sub-categories, and moved a couple of existing categories under others, and everything appears where it's supposed to!

Thanks!

One nitpicky suggestion-- not critical. The category names are indented in a tree fashion, but any forums underneath are left-justified to the outer margin. It would be nice to indent those under their subcategories. Not sure how easy that would be, though.


"Quantum materiae materietur marmota monax si marmota monax materiam possit materiari?"
Pages (2): [1  2    »]  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: Mail notification LANGUAGE bug
Next Topic: More quoting problems
Goto Forum:
  

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ]

Current Time: Sun Nov 10 14:45:09 GMT 2024

Total time taken to generate the page: 0.03239 seconds