HTML Logo by World Wide Web Consortium (www.w3.org). Click to learn more about our commitment to accessibility and standards.

Moving forward with Composr

ocPortal has been relaunched as Composr CMS, which is now in beta. ocPortal 9 will be superseded by Composr 10.

Head over to compo.sr for our new site, and to our migration roadmap. Existing ocPortal member accounts have been mirrored.


Suggestion; Forum Grouping as Virtual Root...

Login / Search

 [ Join | More ]
 Add topic 
Posted
Rating:
#62527 (In Topic #13592)
SAC
Avatar

Well-settled

I'd like to suggest an option to make an entire forum group as a virtual root. This would make it possible to add, for instance, links on the main site pointing to an entire forum group, rather than what's currently possible - either to a single category, or the entire forum. This is benefitial for those only interested in parts of a forum, and wants a quick access!
Back to the top
 
Posted
Rating:
#62791
Avatar

Community saint

Hmm I'm not sure if I understand you correctly or not, but in a way, if I do understand you, this is already do-able.

ie… I am building a site that is going to have several sub-sites via zones. Well for each I am wanting to have it's own forum.

So here's what I did, I created a forum, and I made it a virtual root. I created forums within that forum for that forum. I made a link to it in the menu.

When I get another zone up I will repeat the process. For the members they will see each forum as an independent forum, using only a single master ocForum with forums as virtual roots.

No you can sort of do that and make the entire forum itself as a link as well. But… and here's the part where I am a little confused as this may be more what you are talking about, You'd see them as forums with sub forums instead of categories/groupings.

BTWW- when you set forums as sub forums for your virtual root, you can set them up in their own different groupings/catagories. So when someone access your virtual forum link they'd see the forums within like in a regular message board, in their own categories. If you access the forum from the main forum for the subv forums, once in the forum you'd see the same thing.

Legends of Nor'Ova: A site powered by ocPortal; home of the Legends of Nor'Ova tabletop RPG wiki and community.

Like ocPortal? Want to thank Chris and gang somehow? Then help out in the chat room! It really needs your help! Just open it in a tab everytime you open your web browser, and when you hear a "ding", check it out!

"Those who want help should first be willing to give help."
Back to the top
 
Posted
Rating:
#62813
SAC
Avatar

Well-settled

Hmm, not sure if we're talking about the same thing here… But I could be wrong! :P

What I'm after - which in a sense is pretty much what you're doing at the moment - is separate forums, i.e. more than one 'master" forum.

For instance, my site is about different games and for each game I'd like to have separate forums. A member logs on to my site, interested in TTDLX only, thus clicks that particular link in the side menu on the main site, and arrives at the TTDLX forum. The forum consists of two groups only, except for the invisible 'staff group', a 'General' with its categories and 'TTDLX' with its categories. It has its own color scheme which also reflects how the game is visualized on the main site. For a member wanting to access other forums, let's say SimCity, a link will be available in a side menu within the TTDLX forum. Nothing else will be present. Going to, for instance SimCity forums, works the exact same way. The member will find two groups only, a 'General' and a 'SimCity', both with their categories, all in its own color scheme.

No 'sub-forums' - (and with that I assume you're referring to sub-categories), which would be an alternative, but I've found that some users doesn't like it as it adds to many 'clicks', (even though a direct link to those sub-categories can be added in a side menu), and make the overall visual appearance a bit complicated and confusing.


Anyways, wanting to separate forums with their own specific color scheme isn't - to my knowledge - possible - or am I missing something? The advantage with more than one 'master forum' is that - apart from using different color schemes - one can build forums with an easy overview, rather than having loads of different 'groups' with their categories, making the entire forum looking to overwhelming - again neglecting the possibility to add sub-categories which isn't an alternative! :thumbs:
Back to the top
 
Posted
Rating:
#62816
Avatar

Community saint

See, that is exactly what I am talking about.

When you set up a forum as a virtual root, and have sub-forums in that virtual root forum, they are not sub forums when said user clicks on the link to your virtual root forum.



Here is what the forrum actually looks like. However no one see's this. I had to purposely remove the virtual root part of the address to get here. When I have my other zones ready I will have two more forums on this page, but for right now I only have the one with the room and such to put the others.

Now if this is what everyone saw, this would be a confusing mess and a lot of link clicking to be sure lol!



Here is what everyone see's when they click on my link "Era of Torment". This is what is within that one forum shown earlier, that was set up as a virtual root forum. Notice how instead it looks like a full forum, with the minor template edit of course to add in the info box on top lol. But yeah, it looks like forums in their own categories. Not like a bunch of sub forums. When you have your virtual root set up and the links containing the virtual root address, there is none of that clicking through a hundred subforums or whatever lol, it looks, feels, and functions as a full forum, and even the breadcrumb shows it like a full forum, with the virtual root shown as the base.

*Please note, I zoomed out in my screenshots to try and provide a better view of the forum layout.

Now I am not 100% certain, but I believe it is possible to have different forum themes using virtual roots on different zones. You see, it is possible to have a different theme per zone. Zones themselves are like sub-sites. So I am thinking that when you have a virtual root on a different zone, it would inherit the theme of that zone.

Anyways that is how I am doing it. So in your navigation you can have your different links to virtual root forums, ie, General which is loaded into the General Zone and has the theme of the General zone, and when user clicks there they'd see the forums you put into the General virtually-rooted forum as a full fledge forum, not as sub-forums, with that theme. Then they click on the Sim City link, and it loads them the Sim City virtually rooted forum which, like the general forum, is on it's own zone with it's own theme, and looks and functions like a full fledge forum itself.

Legends of Nor'Ova: A site powered by ocPortal; home of the Legends of Nor'Ova tabletop RPG wiki and community.

Like ocPortal? Want to thank Chris and gang somehow? Then help out in the chat room! It really needs your help! Just open it in a tab everytime you open your web browser, and when you hear a "ding", check it out!

"Those who want help should first be willing to give help."
Back to the top
 
Posted
Rating:
#62817
SAC
Avatar

Well-settled

Hmm, this would be what I'm after, yes… :P

Need to dig a bit deeper into this in awhile to see how I can arrange things to my own likings - with both the virtual forums as well as the color schemes. Thanks for the clarification! :thumbs:

Oh, and btw, you wouldn't mind revealing exactly what changes you did to the template to allow for that box to appear above the forums, would you?

But since we're on the topic of suggestions, I would suggest adding an option when creating forum categories to chose between text or images as far as the category 'names' concerns! :thumbs:
Back to the top
 
Posted
Rating:
#62819
Avatar

Community saint

Nah, I don't mind sharing.

What you gotta do first is make a comcode page for the information you are wanting to provide. Simply go to…

Content > Comcode Pages

Now, with mine I created the page site:summary. Site is the zone name, you could make it on a different zone to use the theme from the different zone if you have a different theme per zone thing going on, but you need to make a note of the zone name and page name.

I created my info on this page using the box comcode tag. For the collapsing /expandable bit of information I used the hide comcode tag.

I am sure by now you know how to name your box tags, but if not, here it is…

Code


[box="The Era of Torment..." type="classic"]

The Era of Torment is where you'd put the name for it, and the type can be one of several different types depending on your theme. Classic gives the basic border on top, while there is one for example that gives a curved border I believe. If you just use the box tag without a name and type it would not have a border.

After that you go and edit your OCF_FORUM.tpl (forum template), that is in Manage Themes, for the themes you want it for. If you have a different theme for each of our virtual rooted forums and you make a info box for each virtual root forum, you will want to repeat this step for each theme, with of course the name for the comcode page that will go there.

That is Style > Themes > Manage Themes > Edit Templates > OCF_FORUM.tpl

Put this in before the break tag and categories tag in the template…

Code

{+START,IF,{$EQ,{ID},30}}
{$LOAD_PAGE,summary,site}
{+END}

The "30" is the id of your virtual forum that you want it in. You will have that number in your virtual forum address (keep_forum_root: 30 in my case). So replace that 30 for the virtual root forum id number you want the info box in.

the summary, site: summary is the comcode page name with site being the zone in the page name. When you made your page it would be something like site:summary, well just reverse it here.

And that is it. You repeat this per info box you want to make, per virtual root.

I haven't tried using image tags for forum/category names so I do not know if that is possible or not yet lol. But have fun digging in. Really, ocPortal is the most powerful, flexible cms I know of. I haven't yet found any real restrictions besides my own lack of knowledge. I must war you though, once you get used to the power and flexibility you have here, it will ruin you from ever thinking of even looking at another cms, because quite frankly, I've not found one that compares yet.

Legends of Nor'Ova: A site powered by ocPortal; home of the Legends of Nor'Ova tabletop RPG wiki and community.

Like ocPortal? Want to thank Chris and gang somehow? Then help out in the chat room! It really needs your help! Just open it in a tab everytime you open your web browser, and when you hear a "ding", check it out!

"Those who want help should first be willing to give help."
Back to the top
 
Posted
Rating:
#62865
SAC
Avatar

Well-settled

Thanks for the instructions.  Will have a closer look at it all once I'm done with some things I'm working on in other zones…  :P
Back to the top
 
1 guests and 0 members have just viewed this: None
Control functions:

Quick reply   Contract

Your name:
Your message: