solved Forum Categories

alt=
@mrsaaron411
5 years ago
15 posts
Complete newbie here! All this code is very confusing to me, so I will be asking for a lot of help getting my page the way I would like. First, how do I list my forum categories on my main page? Currently, it seems to list it based on most recent posts, but I would just like to have the categories listed. Also, I was able to move the categories around the other day, but now I cannot find out how to do that again.

I appreciate any help I can get, TIA!!
updated by @mrsaaron411: 07/19/19 09:04:15AM
Strumelia
Strumelia
@strumelia
5 years ago
3,602 posts
mrsaaron411:
Also, I was able to move the categories around the other day, but now I cannot find out how to do that again.
Go to the profile page of the profile that 'owns' your site-wide forums. There, click on the box for Forum Discussions or Forums, and then click the TAB for Categories. Then you'll see the list of categories with arrow buttons on the left to move them up or down to reorder them.


--
...just another satisfied Jamroom customer.
Migrated from Ning to Jamroom June 2015
paul
@paul
5 years ago
4,325 posts
Hi
Quote: Complete newbie here!
We all have to start somewhere and please ask any questions you want on this forum, but if you haven't already, I'd strongly recommend you checkout our documentation to get an understanding of how Jamroom works. It is different from Ning and did confuse many Ning migrants in the past, but they soon got the hang of it :-)
Start with the Jamroom Admin Handbook - https://www.jamroom.net/the-jamroom-network/documentation/contents

To answer your specific question, I'd suggest using SiteBuilder to edit the 'Latest Forum Posts' widget on your index page. Change the widget title to this -
{jrCore_lang skin="jrNinja" id="47" default="Forum"} {jrCore_lang module="jrForum" id="57" default="Categories"}
then the template code to this -
{* This is the embedded template that is shown for EACH Latest Forum Posts entry on the right side *}
{capture name="template3" assign="forum_tpl"}
{literal}
    {if isset($_items)}
    {jrCore_module_url module="jrForum" assign="furl"}
    {foreach $_items as $item}
    <div class="p5">
        {$purl = jrCore_db_get_item_key('jrProfile', $item.forum_profile_id, 'profile_url')}
        <h3><a href="{$jamroom_url}/{$purl}/{$furl}/{$item.forum_cat_url}">{$item.forum_cat}</a></h3>
    </div>
    {/foreach}
	{else}
    <div class="center p10">
        <h3>{jrCore_lang skin="jrNinja" id="26" default="No"} {jrCore_lang module="jrForum" id="57" default="Categories"}!</h3>
    </div>
    {/if}
{/literal}
{/capture}
{* This is the END of the embedded template that is shown for EACH Top Disscusstion entry on the right side *}

<div class="blog-index-text" style="{if !jrCore_is_mobile_device()}height:225px;overflow-y:scroll;overflow-x:hidden;{/if}margin: 10px 0 10px 0;padding-bottom: 10px;">
    {jrCore_list module="jrForum" search="forum_cat_url LIKE %" group_by="forum_cat_url" order_by="forum_cat_url asc" limit=100 template=$forum_tpl quota_check=false}
</div>

Checkout the SiteBuilder docs as well.
hth


--
Paul Asher - JR Developer and System Import Specialist
alt=
@mrsaaron411
5 years ago
15 posts
You guys are awesome, thanks!
alt=
@mrsaaron411
5 years ago
15 posts
I reordered my categories on the profile page, but it is not showing them in that order on the module. Why might this be?
paul
@paul
5 years ago
4,325 posts
I'm seeing them in the correct order on your forum page. Do you want them to show in that order on the homepage?


--
Paul Asher - JR Developer and System Import Specialist
Strumelia
Strumelia
@strumelia
5 years ago
3,602 posts
I'm wondering if you might have forums allowed on more than one quota. To double check that:

If you go to your "Profiles" module, one of the "Tools" there is called Quota Compare (to compare Modules allowed in each profile quota). It's url is found at: https://(yoursite).com/profile/quota_compare
If you go there to Quota Compare tool, you can see if the "Forum" module (under the Profiles heading) is activated for more than one quota or just active for one quota such as Master Admin. On my site, I created a separate quota called "Forums" and made it the only quota with an active Forum module- which is the forum for my whole site to use. Then I created a new profile as a 'child' of my master admin user and named it Forums, and put that as the only member of my Forums Quota... thus the only member of my site that can have a forum and forum categories.
I say this because you may have activated forums for various quotas on your site, for example for all regular members. You can see whether you did in the Quota Compare tool. That would explain why you might have set the categories in a certain order on your own profile forums, only to see them in a different order somewhere else. Check that first. Perhaps it was your intention to let all members have their own individual forums on your site, but most people prefer one site-wide forum, so I'm suggesting you first check to see how many users you have allowed to have forums.
To set which quotas are allowed to have forums (and categories), you would go into your Forum module 'quota config' tab, here: https://(yoursite).com/forum/admin/quota and set each selected quota with the 'allow profile forum' checkbox on or off. On my site the only quota I have the checkbox checked on is my Forums Quota.

Hope this helps... and I apologize if it's not what you were asking about at all!
But it's always handy to know where to find the Quota Compare tool, in any case! :)


--
...just another satisfied Jamroom customer.
Migrated from Ning to Jamroom June 2015

updated by @strumelia: 04/20/19 08:49:55AM

Tags