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

Home » FUDforum » How To » Is the new flat "category" listing an option?
Show: Today's Messages :: Polls :: Message Navigator
Switch to threaded view of this topic Create a new topic Submit Reply
Is the new flat "category" listing an option? [message #21267] Wed, 24 November 2004 09:27 Go to next message
lstep is currently offline  lstep   France
Messages: 50
Registered: June 2003
Karma: 0
Member

About the new feature added in FUDforum 2.6.8, which is named flat category listing, is this something optional, or is this something I have to live with? I don't like it too much, and I couldn't find any option in the admin that would change it Sad Maybe this has another name in the options?

If it is the "Default View" option in "Category & Forum Management", it doesn't work at all. I put it as Collapsed, Open or Compact, it doesn't change anything at all at the display. It tried it on an upgraded FUDforum and on a completely new 2.6.8. Same results.

[Updated on: Wed, 24 November 2004 09:30]

Report message to a moderator

Re: Is the new flat "category" listing an option? [message #21272 is a reply to message #21267] Wed, 24 November 2004 14:16 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
lstep wrote on Wed, 24 November 2004 04:27


If it is the "Default View" option in "Category & Forum Management", it doesn't work at all. I put it as Collapsed, Open or Compact, it doesn't change anything at all at the display. It tried it on an upgraded FUDforum and on a completely new 2.6.8. Same results.


That is the correct option for changing this value. Tests on my dev forums show no such problem, changing the value takes affect instantly. The default value of the option is always "Open" btw.


FUDforum Core Developer
Re: Is the new flat "category" listing an option? [message #21285 is a reply to message #21272] Wed, 24 November 2004 17:26 Go to previous messageGo to next message
lstep is currently offline  lstep   France
Messages: 50
Registered: June 2003
Karma: 0
Member

Ilia wrote on Wed, 24 November 2004 15:16

That is the correct option for changing this value. Tests on my dev forums show no such problem, changing the value takes affect instantly. The default value of the option is always "Open" btw.


I tried again, deactivating/switch from open to compact to collapsed, still the same. The only thing I changed from a "standard" usage, is to use the path_info stuff (I activated it in "Global Settings Manager" and regenerated the theme with path_info). Do you think it may be the culprit? (update: no, I tried without path_info, doesn't work either)
Because except from this (and except the fact that I use a PostgreSQL database, v7.4.6), I don't have anything special, really.

I looked into the database, in the fud_cat table, the value seems to be correctly changed :

Before a change (all Open):

Quote:

fuddads=# select * from fud26_cat;
id | name | description | cat_opt | view_order | parent
----+----------------+-------------------------+---------+------------+---- ----
1 | Test Category | - Just a test category | 3 | 3 | 0
2 | Administration | - Administration | 3 | 2 | 0
3 | About the File | - About the File | 3 | 1 | 0
(3 rows)


And after:

Quote:

fuddads=# select * from fud26_cat;
id | name | description | cat_opt | view_order | parent
----+----------------+-------------------------+---------+------------+---- ----
1 | Test Category | - Just a test category | 3 | 3 | 0
2 | Administration | - Administration | 3 | 2 | 0
3 | About the File | - About the File | 5 | 1 | 0
(3 rows)



Does anybody else have this problem, or am I the only one?

[Updated on: Wed, 24 November 2004 17:33]

Report message to a moderator

Re: Is the new flat "category" listing an option? [message #21286 is a reply to message #21285] Wed, 24 November 2004 17:39 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 use PATH_INFO style theme on my development forum as well, so that's definately not the issue.

It is not PostgreSQL either because the data inside the database is completely correct.

Would it be possible for me to get admin access to this forum, or if that is not possible give me an SQL dump of the data of the forum and I'll try to re-create the problem using it.


FUDforum Core Developer
Re: Is the new flat "category" listing an option? [message #21291 is a reply to message #21286] Wed, 24 November 2004 18:36 Go to previous message
Ilia is currently offline  Ilia   Canada
Messages: 13241
Registered: January 2002
Karma: 0
Senior Member
Administrator
Core Developer
It looks like there indeed was a bug with the forum code, that affected PostgreSQL in particular.

I've fixed the bug and applied the fix to your forum.

The problem was that in PostgreSQL (foo & 4) > 0 return boolean false 'f' as a string and that can breaking the code logic Sad.

The patch for this problem can be found here:
http://cvs.prohost.org/c/index.cgi/FUDforum/chngview?cn=6067


FUDforum Core Developer
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: Smilies...
Next Topic: New members with old posts linked in profile
Goto Forum:
  

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

Current Time: Mon Nov 25 23:15:45 GMT 2024

Total time taken to generate the page: 0.02383 seconds