Home > Feature Discussion > sub-forums
login Login
  
  
Forum Software Features
Forum Software Download
Support
Top 10 List
Developers
License
Privacy






We are a small company specializing in Java applications. This forum software is the fruit of labor of many developers from Yasna Inc. and including those outside of Yasna Inc.
Although this software is maintained by developers from Yasna Inc., new feature development and enhancement requests are only done based on external requests. We maintain this project on volunteer basis and take no responsibility for its fitness of use. Please read our license agreement.
This forum software is 100% pure Java.



Links To Visit
Pick Your Own
Free Wedding Website
Farm
Classified Software
free home listing
CISSP
Wedding Flowers



 

 

Click to view all topics in this forum View Topics    Click to post a new message in this forum Post New Message    Click to reply to this message Reply    Click to search for messages in this forum Search This Forum     

There are 9 replies to this message. This thread was viewed 6006.

Author Topic: sub-forums
posted by: leptogenesis (  cdo ersch )
192.249.47.11
Verified by SexStanding.com
Last logged in:Tue, Sep 15 at 10:30:37 EDT
Click to reply to this message
posted Tuesday, Jun 19 at 1:41 PM
Tue, Jun 19 at 01:41:45 EDT
sub-forums
Any chance that yazd will implement recursive sub-forums (i.e. a possibly unlimited hierarchy of forums contained in one another) in the near future?

Thanks
posted by: aaflatooni(Aflatoon)
Toronto,Canada
Male
70.48.64.211
http://www.yasna.com
Last logged in:Thu, Mar 9 at 04:09:51 EST
Click to reply to this message
posted Tuesday, Jun 19 at 6:21 PM
Tue, Jun 19 at 06:21:31 EDT
sub-forums
Can you describe it in more details?
Aflatoon
posted by: leptogenesiscdo ersch)
192.249.47.11
Verified by SexStanding.com
Last logged in:Tue, Sep 15 at 10:30:37 EDT
Click to reply to this message
posted Tuesday, Jun 19 at 7:03 PM
Tue, Jun 19 at 07:03:48 EDT
Re: sub-forums
Take a look at this site:

http://www.htmlforums.com/

Go down to the server-side programming discussion:

http://www.htmlforums.com/f-server-side-programming-19.html/

You can see that there's two "sub-forums" on the page, for PHP and ASP. Theoretically the PHP and ASP forums could have sub-forums inside them as well...like the ASP forum could look similar to the Server-Side programming forum, except that its sub-forums would be called ".net" and "C#" and so forth. That's what I mean by recursive...you could have as many layers of sub-forums contained in sub-forums as you wanted.
posted by: DhanunjayEDhanunjayE)
Male
203.200.210.100
Verified by SexStanding.com
Last logged in:Fri, Jun 29 at 08:39:25 EDT
Click to reply to this message
posted Wednesday, Jun 20 at 5:04 AM
Wed, Jun 20 at 05:04:23 EDT
Re: sub-forums
You can have as many number of forums. But recursive as you said, may not take place here in Yazd. This is my opinion as far as my exploration goes.
posted by: aaflatooni(Aflatoon)
Toronto,Canada
Male
70.48.64.211
http://www.yasna.com
Last logged in:Thu, Mar 9 at 04:09:51 EST
Click to reply to this message
posted Monday, Jun 25 at 4:06 PM
Mon, Jun 25 at 04:06:38 EDT
sub-forums
Would the subforums be created by the admins or would it be created by the users?

Also what permissions would it carry? Would it simply have the permission of the forum?

Would it also be more like grouping messages together?

Aflatoon
posted by: leptogenesiscdo ersch)
192.249.47.11
Verified by SexStanding.com
Last logged in:Tue, Sep 15 at 10:30:37 EDT
Click to reply to this message
posted Wednesday, Jun 27 at 5:20 PM
Wed, Jun 27 at 05:20:15 EDT
Re: sub-forums
>Would the subforums be created by the admins or
>would it be created by the users?

If I were using it, I would want only admins to be able to create them. As far as I know, the ones on htmlforums are created by admins (or moderators, at the very least). It would be interesting to see what happens if users are allowed to create their own...although I suspect that there would be many superfluous sub-forums created. Maybe it would be best to let users set it for themselves.

>Also what
>permissions would it carry? Would it simply have
>the permission of the forum?

For me, it would be fine if they were open to everyone. I think that htmlforums has some sub-forums that are open to everyone, and some that aren't. I'm pretty sure that those settings are determined by admins.

>Would it also be
>more like grouping messages together?

That's the general idea...I guess sub-forums are designed to let you have an entire hierarchy of groups for messages, rather than just a list of them.

HTH
posted by: aaflatooni(Aflatoon)
Toronto,Canada
Male
70.48.64.211
http://www.yasna.com
Last logged in:Thu, Mar 9 at 04:09:51 EST
Click to reply to this message
posted Sunday, Jul 1 at 2:33 PM
Sun, Jul 1 at 02:33:26 EDT
sub-forums
Currently we have Message Type implemented in 3.0. The idea is that the user would select the type of message that they are posting and you can group them together.
The types can be changed and added during the setup.

Do you think that this would be an extension of the type?

Aflatoon
posted by: leptogenesiscdo ersch)
192.249.47.11
Verified by SexStanding.com
Last logged in:Tue, Sep 15 at 10:30:37 EDT
Click to reply to this message
posted Sunday, Jul 1 at 4:39 PM
Sun, Jul 1 at 04:39:01 EDT
Re: sub-forums
>Currently we have Message Type implemented in
>3.0. The idea is that the user would select the
>type of message that they are posting and you can
>group them together.
The types can be changed
>and added during the setup.

>Do you think that
>this would be an extension of the
>type?

I suppose Message Type is a similar idea, but I think that extending the code which makes Message Type work
wouldn't be a very elegant way to make sub-forums work (though I haven't dug too deeply into the code so I don't really know). Every message that was posted under a particular sub-forum would only show up on the page for that sub-forum.

To put it differently, in Yazd, a "forum" is a container for threads. What I'm suggesting is that a "forum" be a container for both threads *and other forums*. If a forum is "contained" in another forum, then it is said to be a sub-forum of that forum.

In your code, you have this table:

CREATE TABLE yazdThread (

threadID INT NOT NULL,

forumID INT NOT NULL,

rootMessageID INT NOT NULL,

approved INT NOT NULL,

readcnt INT NOT NULL,

typeID int not null,

sticky int not null,

closedflag int not null,

creationDate VARCHAR(15) NOT NULL,

modifiedDate VARCHAR(15) NOT NULL,

PRIMARY KEY (threadID),

KEY (forumID),

KEY (rootMessageID),

KEY (creationDate),

KEY (modifiedDate)

);

What I suggest is another, similar table, like this:

CREATE TABLE yazdThread (
subForumID INT NOT NULL,
forumID INT NOT NULL,
);

which is simply a map from forums to forums. But in terms of information, it will contain all the forum-subforum relationships across the application.

HTH
posted by: aaflatooni(Aflatoon)
Toronto,Canada
Male
70.48.64.211
http://www.yasna.com
Last logged in:Thu, Mar 9 at 04:09:51 EST
Click to reply to this message
posted Tuesday, Jul 3 at 12:02 AM
Tue, Jul 3 at 12:02:40 EDT
sub-forums
I am simply trying to get the requirements figured out. What is it used for and what functionality it could serve?
I would like to have the implementation and structure out of the requirements, because once the requirements are documented you can always code around it.
I am trying to see what sub-forums would be used for. At what point in time would the admin decide that they need to create a sub-forum? Why wouldn't a new forum serve the purpose?

Thanks for this interesting discussion
Aflatoon
posted by: leptogenesiscdo ersch)
192.249.47.11
Verified by SexStanding.com
Last logged in:Tue, Sep 15 at 10:30:37 EDT
Click to reply to this message
posted Tuesday, Jul 3 at 9:09 PM
Tue, Jul 3 at 09:09:41 EDT
Re: sub-forums
>I am simply trying to get the requirements
>figured out.

I understand. I'm actually quite impressed with how seriously you're taking this.

>What is it used for and what
>functionality it could serve?
>I would like to
>have the implementation and structure out of the
>requirements, because once the requirements are
>documented you can always code around it.

I was just trying to explain using code...it seems english isn't perfectly suited for explaining the topic. That's just how I would code it...it's not necessarily the only way.

>I am
>trying to see what sub-forums would be used for.
>At what point in time would the admin decide that
>they need to create a sub-forum? Why wouldn't a
>new forum serve the purpose?

From a perfectly logical standpoint, there isn't much difference between a new forum and a sub-forum, except for the location where you see links to the forums.

First of all, say you have 100 different forums for your website. You don't want them all on one page...that would make for a very cluttered page.

I don't know if Yazd lets you split the forum list onto multiple pages. That would be a third of the solution...but that still wouldn't allow you to have a thread list on the same page as the forum list.

Consider this problem: a forum admin realizes that one of his forums is getting 1000 posts per day. He decides that he'd like to split that forum into categories, but he doesn't want the original forum to disappear, nor does he want the threads moved do another place. Yes, he could ad another forum on the main page, but it would look silly to have a 'Server-side programming' forum immediately followed by a 'php' forum.

It also wouldn't necessarily let you query the database based on the sub-forums. I doubt that there are many people like me, but I would also like to be able to query the database in a different application. I would like to be able to search for all posts that are in sub-forums of a particular forum, no matter how many forums are there:

Consider for example, an engineering company, whose IT department uses Yazd internally to let the engineers give feedback on the various tools that the IT department supplies. They would set up a forum for each division within the company, and in each of these forums there would be a sub-forum for each of the tools that IT supplies to that particular department. IT might then want to query this database to find out which departments are giving the most feedback, and which are receiving responses the fastest.

Hope this helps



Post New Message

Name
Email
subject
Your Reply
Enter the code
   

Brought to you by:
Farm Visit For Sale By Owner