solved How To List New Forum Topics On Another Page

alt=
Ekwe
@ekwe
10 years ago
212 posts
I put this in. But it's not showing anything

{jrCore_list module="jrForum" order_by="_created desc" template="jrforum.tpl" limit="5"}
updated by @ekwe: 11/04/14 09:41:59PM
michael
@michael
10 years ago
7,746 posts
What did you put in jrforum.tpl.

Is there anything in {debug}

"{debug}"
http://www.jamroom.net/the-jamroom-network/documentation/development/1477/debug
alt=
Ekwe
@ekwe
10 years ago
212 posts
{if isset($_items)}

{foreach from=$_items item="item"}


{jrCore_module_function function="jrImage_display" module="jrUser" type="user_image" item_id=$item._user_id size="xsmall" alt=$item.user_name class="action_item_user_img iloutline"}


{if $item.forum_pinned == 'on'}
{$item.forum_title}
{else}
{$item.forum_title}
{/if}
{$item._created|jrCore_format_time}, by {$item.user_name}


{/foreach}

{/if}
michael
@michael
10 years ago
7,746 posts
try changing it to:

AM I IN THE RIGHT PLACE???? {debug}
{if isset($_items)}

{foreach from=$_items item="item"}


{jrCore_module_function function="jrImage_display" module="jrUser" type="user_image" item_id=$item._user_id size="xsmall" alt=$item.user_name class="action_item_user_img iloutline"}

{if $item.forum_pinned == 'on'}
{$item.forum_title}
{else}
{$item.forum_title}
{/if}
{$item._created|jrCore_format_time}, by {$item.user_name}


{/foreach}

{/if} 

Then see if you get output.
alt=
Ekwe
@ekwe
10 years ago
212 posts
working :) Thanks
alt=
Ekwe
@ekwe
10 years ago
212 posts
Ok, it has stopped working again. And this is the call I am using

{jrCore_list module="jrForum" search="forum_post_count > 0" order_by="_created numerical_desc" template="item_list.tpl" limit="10"}
douglas
@douglas
10 years ago
2,793 posts
Are you getting any php errors?

I just tried this on my test site and it works for me.

{jrCore_list module="jrForum" search="forum_post_count > 0" order_by="_created numerical_desc" limit="10"}

Note that I'm using the default forum module template instead of a custom template, so I'm guessing there is a syntax error in your template.


--

Douglas Hackney
Jamroom Team - Designer/Developer/Support
FAQ-Docs-Help Videos
alt=
Ekwe
@ekwe
10 years ago
212 posts
it worked when i put on "Allow Profile Forum" for all quotas. But I don't want members to be able to have their own forums. I just want them to post. So it's a bug that needs to be fixed
michael
@michael
10 years ago
7,746 posts
Ekwe:
it worked when i put on "Allow Profile Forum" for all quotas. But I don't want members to be able to have their own forums. I just want them to post. So it's a bug that needs to be fixed

You don't have a forum at https://www.jamroom.net/ekwe but you are able to post here. Its not a bug.
alt=
Ekwe
@ekwe
10 years ago
212 posts
I know that, but on projam, you need to allow them have a forum for them to view list of topics of a forum on skin templates
brian
@brian
10 years ago
10,148 posts
Ekwe:
I know that, but on projam, you need to allow them have a forum for them to view list of topics of a forum on skin templates

That really shouldn't matter - double check that the profile that owns the forum is not private or follower's only.

Hope this helps!


--
Brian Johnson
Founder and Lead Developer - Jamroom
https://www.jamroom.net
alt=
Ekwe
@ekwe
10 years ago
212 posts
ok, let me check

Tags