Cotonti / Open Source PHP Content Management FrameworkContent Management Framework

Forums / Cotonti / Core Labs / Archive / [REQ] Subforums

NovoKain
#1 2008-08-08 19:48
Subforums core hack already created by h3. Link
Maybe integrate this into core?
Trustmaster
#2 2008-08-08 20:11
What about hacks by riptide and Spartan? Maybe someone will test and compare all 3 first?
May the Source be with you!
oc
#3 2008-10-02 07:49
Subforums:

After Trustmaster said subforums are a burden to the forums (not much but still a burden) i thought of doing:

-On the forums.php (main part) add one more sql query, like html cache feature, we can cache all the subforums under like sed_forum_sections>column fs_subsections.

-We can change the subforum title function like

function....(..., SUBFORUM_ID, SUBFORUM_NAME);

btw will this be better (look at stupid coder :)), i mean faster, you know, now we only give id, and call title, whatever.

PLEASE NOTE: I did these, just asking if will these be better, if they are, I can commit a revision immediately.
Trustmaster
#4 2008-10-02 12:39
I thought of making the first one like it is done with $sed_cat, look at sed_load_structure() in functions.php. Though, the more cache we add, the more demand on new cache system is, which is likely to come in 0.1.0.

What does second function do?
May the Source be with you!
oc
#5 2008-10-02 16:46
Sed structure. You mean subforums can have subforums ?

I don't know man, It is already slow, what you ask for is good but very detailed. And in some aspects, unnecessary.