Dragonfly CMS v9 ⇒ CPG-BB (forum) ⇒ How to create "Subforums" ⇒ Community Forums ⇒ CPG Dragonfly™ CMS
Forum Index Modules & Blocks CPG-BB (forum)

How to create "Subforums" Reply to topic


Where or how do I create a subforum, like this site.

I am using 9.0 and the cpgnuke theme.

Did I over look it? Can someone point me in the right direction?

Thanks in advance for your help. Very Happy

Please enter your server specs in your user profile! 😢


www.dragonflycms.net/F...html#23886
Smile

Server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS):
Cent OS :: 1.3.34 :: 4.1.13 :: 4.4.2 :: CVS


That thread does not answer my question.

Its an old thread. And I see subforums on this site.

I am also using 9.0 not 8.XX

EDIT-- *** nevermind, Dj answered my question, the previous post still applies, even though its old.

Thanks Stephen

DF TIPS | Upgrade| Find Your Signature Specs|
"A bug in the code is worth two in the documentation. "

Please enter your server specs in your user profile! 😢


did you figure it out or are you going to wait? i read the posts but I don't understand

Server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS):
Linux/1.3.33 (Unix)/4.0.22-standard/4.3.9/DF 9.x


DJMaze wrote
The sub-forums work if you know how to "tweak" your database of our next release.

It won't work in 8.2 and it won't work properly on themes using the old template system.

There's only a few settings in the database to tweak (in the 8.3 CVS that is):

- cms_bbforums: parent_id field must contain the forum_id of the owner
- cms_bbforums: forum_type of the forum that has sub-forums must be set to 1

- cms_bbforums: if you wanna "link" to somewhere the forum_type must be set to:
2) using getlink() for creating the link
3) a global url like myotherdomain.com
and you insert the "link" in the forum_link field

Very Happy


Meaning, its not available to us novices. If you do some "tweaking" as mentioned above.
Not a simple click of a button in the 9.0.
So its not available yet.

DF TIPS | Upgrade| Find Your Signature Specs|
"A bug in the code is worth two in the documentation. "

Please enter your server specs in your user profile! 😢


right, thought maybe he explained it to you. thanks

Server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS):
Linux/1.3.33 (Unix)/4.0.22-standard/4.3.9/DF 9.x


this is why i'm waiting for the stable build. all the tweaking you are doing now is going to cause you a headache when 1.0 is released.

Server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS):
Linux/1.3.33/4.4/4.3.11


well it not headache since you can do it by phpmyadmin. certain field can be change a number.

Firefox is my Favorite Browser

Server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS):
Apache/1.3.34 (Unix)/4.0.25-standard/4.4.1/CVS


did anyone work out how to make subforums in the end?

will there be an addon released for it?

Norbie

www.norbiesworld.co.uk

Server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS):
Linux / Apache Custom Version / 4.0.26-standard (client: 5.0.15) / 4.4.4 / 9.1.1


you can use subforums in dragonfly (my site uses them extensively if you wish to see how they look).

1. you'll have to 'enable' them via phpmyadmin (or the link)

2. there are some known issues, as subforums has not yet been completed this is expected. One issue is a pageination type issue.

Ex: Forum index => subforum should be Forum index => Parent Forum => Subforum.

3. Another issue is that the parent forum description does not automatically show that there is a subforum (again if you wish you can view my site and see my work around for this).

4. Will subforums be finished at some point? DJ would be the most likely to know, since it was he who started work on them.

NEMINI.org, NEMINI.us, NEMINI.info, NYMINI.org

Server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS):
1.3.34 (Unix)/4.1.18-standard/4.4.2 /9.1.0.8 CVS


1 -> id need more info on how to do this (and setup the whole thing really)

2 -> wouldnt really matter

3 -> wouldnt really matter again

thanks for your help with this - great work on your site Smile

how could i set up my first subforum then?
i have a CVS system running on my local computer to test it on

Norbie

www.norbiesworld.co.uk

Server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS):
Linux / Apache Custom Version / 4.0.26-standard (client: 5.0.15) / 4.4.4 / 9.1.1


There's only a few settings in the database to tweak (in the 8.3 CVS that is):

- cms_bbforums: parent_id field must contain the forum_id of the owner
- cms_bbforums: forum_type of the forum that has sub-forums must be set to 1


That part still aplies and is basically all there is to it.

Lets see if I can do an example:

lets say you have forum A and you want to add subforum 1

go into phpmyadmin (or whatever you use) _bbforums table and find the forum_id of Forum A, then you take that # and put it into the parent_id field of subforum 1
Step two again in _bbforums table find the forum_type feild for Forum A and enter 1 (this makes it a parent forum, without a value of one, the forum cannot have subforums).

You're done.

NEMINI.org, NEMINI.us, NEMINI.info, NYMINI.org

Server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS):
1.3.34 (Unix)/4.1.18-standard/4.4.2 /9.1.0.8 CVS


that works well on my local system thanks Very Happy

is it easy to set up the listing of subforums like you have done?

Norbie

www.norbiesworld.co.uk

Server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS):
Linux / Apache Custom Version / 4.0.26-standard (client: 5.0.15) / 4.4.4 / 9.1.1


i've setup a subforum on my live site.

only problem is, it shows 'no new posts' as text rather than as an image.

see next to the PC Gaming Forum here www.norbiesworld.co.uk/Forums.html

Norbie

www.norbiesworld.co.uk

Server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS):
Linux / Apache Custom Version / 4.0.26-standard (client: 5.0.15) / 4.4.4 / 9.1.1


pitcher's themes are missing the XXXX_sub.gif images.

To do descriptions like I do, I used html:

Use this forum to discuss general topics. Topics in this forum must be in some way related to MINIs. <br /><font color="red">Subforums:</font><br/> <a href="http://nemini.org/Forums/viewforum/f=46.html">Getting to Know You</a> ¦ <a href="http://nemini.org/Forums/viewforum/f=45.html">MINIs in the Media </a> ¦ <a href="http://nemini.org/Forums/viewforum/f=44.html">MoBlog</a>

NEMINI.org, NEMINI.us, NEMINI.info, NYMINI.org

Server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS):
1.3.34 (Unix)/4.1.18-standard/4.4.2 /9.1.0.8 CVS

All times are UTC


Jump to: