1

Topic: In Depth Forums

On PUNBB you can only have:

CATGORY - Forum

But could you make this:

CATGORY - Forum - Sub-Forum - (Maybe More Sub Forums)

???

---------> PLEASE REMEMBER I GOT THE FIRST EVER POST OF PUNBB 1.1! <---------
---------> PLEASE REMEMBER I GOT THE FIRST EVER POST OF PUNBB 1.1! <---------

2

Re: In Depth Forums

Could you give an example of when you may need this?

I think it would be pretty messy TBH - isn't a "sub forum" just a new topic

3 (edited by RNilsson 2003-11-07 12:09)

Re: In Depth Forums

Cat Games
     SubCat PC
          Forum RPG
          Forum Action
     SubCat Mac
          Forum RPG
          Forum Action
     SubCat Console
          Forum RPG
          Forum Action

Something like that?

Re: In Depth Forums

PunBB does not support subforums. You can only have one level of forums.

"Programming is like sex: one mistake and you have to support it for the rest of your life."

Re: In Depth Forums

Kennel wrote:

PunBB does not support subforums. You can only have one level of forums.

Do you hade any future support for that in mind?

Re: In Depth Forums

Honestly, no :)

"Programming is like sex: one mistake and you have to support it for the rest of your life."

7

Re: In Depth Forums

Oh sad

I was hoping you would because i find them very useful.

Oh and RNilsson that example is perfect wink

---------> PLEASE REMEMBER I GOT THE FIRST EVER POST OF PUNBB 1.1! <---------
---------> PLEASE REMEMBER I GOT THE FIRST EVER POST OF PUNBB 1.1! <---------

Re: In Depth Forums

If I can come up with a simple and effective way of implementing subforums, I will consider it, I have yet to see a good implementation though.

"Programming is like sex: one mistake and you have to support it for the rest of your life."

Re: In Depth Forums

in a devforum I made, I had a 'referrer forum' in every forum (that was the 'owner' of the forum), that pointed to another forum, unless it was in the 'root' then it pointed to 0 ... so my index.php was infact using the same code as viewforum, with the only exception it used 0 as forum when it searched for forums, instead of the current forum you were in ... so it's probably not that hard to have it functional ... but perhaps the way punbb uses forums now makes it hard to change ...

Re: In Depth Forums

Yeah, that's the way it's usually implemented, but it's not very effecient. You run into trouble when you want to select more than one level of forums in a single query. E.g. creating the "Jump to" drop down menu.

"Programming is like sex: one mistake and you have to support it for the rest of your life."

Re: In Depth Forums

true, but on the other hand, those is possible to generate when the forums is added/removed ... so one just fetch one textstring from database for this ... instead of generating them every time one enters a page...

Re: In Depth Forums

I don't think i personally have any use for sub-forums, but i know that such a feature can be usefull in other situations like on community-sites, review-sites etc.

Re: In Depth Forums

Frank H wrote:

true, but on the other hand, those is possible to generate when the forums is added/removed ... so one just fetch one textstring from database for this ... instead of generating them every time one enters a page...

A good idea. However, that was just an example. What happens on the front page when/if you want to display more than one level of forums? There you want to display stuff like number of topics and posts, so a caching solution like the one you suggested for the "Jump to" isn't really doable.

I've been thinking about having some form of identifier column for every forum. You could then order by this identifier column. The column would look something like this for the different forums RNisson sugguested:

Cat Games
     SubCat PC           1
          Forum RPG      1.1
          Forum Action   1.1
     SubCat Mac          2
          Forum RPG      2.1
          Forum Action   2.1
     SubCat Console      3
          Forum RPG      3.1
          Forum Action   3.2
"Programming is like sex: one mistake and you have to support it for the rest of your life."

Re: In Depth Forums

true ... indexing is probably good

15

Re: In Depth Forums

hmm... so does this mean there may be some kind of Sub Foruming on PUNBB ???

---------> PLEASE REMEMBER I GOT THE FIRST EVER POST OF PUNBB 1.1! <---------
---------> PLEASE REMEMBER I GOT THE FIRST EVER POST OF PUNBB 1.1! <---------

Re: In Depth Forums

Well, maybe. Not in 1.1 though.

"Programming is like sex: one mistake and you have to support it for the rest of your life."

17

Re: In Depth Forums

1.1 is coming soon i suppose?

---------> PLEASE REMEMBER I GOT THE FIRST EVER POST OF PUNBB 1.1! <---------
---------> PLEASE REMEMBER I GOT THE FIRST EVER POST OF PUNBB 1.1! <---------

Re: In Depth Forums

http://punbb.org/forums/viewtopic.php?id=2467

"Programming is like sex: one mistake and you have to support it for the rest of your life."

19

Re: In Depth Forums

Only 7 more points to do....

---------> PLEASE REMEMBER I GOT THE FIRST EVER POST OF PUNBB 1.1! <---------
---------> PLEASE REMEMBER I GOT THE FIRST EVER POST OF PUNBB 1.1! <---------