Форуми / Cotonti / Core Labs / Archive / [REQ] Subforums

NovoKain
#1 08.08.2008 19:48
Subforums core hack already created by h3. Link
Maybe integrate this into core?
Trustmaster
#2 08.08.2008 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 02.10.2008 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 02.10.2008 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 02.10.2008 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.