Forum Activity for @michael

michael
@michael
09/27/16 09:47:04PM
7,826 posts

comments order newest first?


Ning To Jamroom

Do you use "comment threading"?
ACP -> MODULES -> ITEM FEATURES -> COMMENTS -> GLOBAL CONFIG -> LIST OPTIONS -> Enable Threading

??
michael
@michael
09/27/16 09:16:23PM
7,826 posts

getting an error with Mastro 4 skin with Annika live wall Audio buttons


Design and Skin Customization

The issue is in /feedback.tpl it is currently this:
    {if jrCore_module_is_active('jrShareThis')}
        <div class="like_button_box">
            {if jrUser_is_logged_in()}
                <a href="#" class="share">
            {else}
                <a href="{$jamroom_url}/{$uurl}/login">
            {/if}
                    {jrCore_image image="share.png" width="24" height="24" class="like_button_img" alt='Share' title='Share'}</a>
            <span><a href="#">{$item.action_shared_by_count}</a> </span>
            {$id = $item._item_id}
            {if isset($item.action_original_item_id) && is_numeric($item.action_original_item_id)}
                {$id = $item.action_original_item_id}
            {/if}
            <input type="hidden" id="share_id" value="{$id}" />
        </div>
    {/if}
It needs changing to this:
    {if jrCore_module_is_active('jrShareThis')}
        <div class="like_button_box">
            {$id = $item._item_id}
            {if isset($item.action_original_item_id) && is_numeric($item.action_original_item_id)}
                {$id = $item.action_original_item_id}
            {/if}
            {if jrUser_is_logged_in()}
                <a href="#" class="share" onclick="confirmActionShare({$id})">
            {else}
                <a href="{$jamroom_url}/{$uurl}/login">
            {/if}
                    {jrCore_image image="share.png" width="24" height="24" class="like_button_img" alt='Share' title='Share'}</a>
            <span><a href="#">{$item.action_shared_by_count}</a> </span>
        </div>
    {/if}
Then the skin needs to be released. We'll get this sorted, sorry for the delay.
michael
@michael
09/27/16 07:07:06PM
7,826 posts

comments order newest first?


Ning To Jamroom

I looked into this yesterday because it should have been easy, but ran into some issues. So its on my todo list for today.

Should be as easy as adding 'comment_order_by' to the request in the profile_index.tpl function call but its not working for some reason. Will update when I know why.
michael
@michael
09/27/16 06:58:59PM
7,826 posts

How to list Forum categories by order Profile Arranged


Jamroom Developers

'forum_cat' and 'forum_cat_url' are stored in the jrForum datastore, the order is not. Its a performance thing.

If we stored the forum_cat_order in the jrForum datastore, when the order was changed every datatore item would need to be updated.

Performance wise its better as is. You can write a smarty function to get the categories and their order first if needed:

Docs "Defining your own smarty function"
https://www.jamroom.net/the-jamroom-network/documentation/jamroom-developers-guide/1569/defining-your-own-smarty-function

Then run a foreach loop over the returned categories to get the contents for each of them.

The forum categories are stored in the 'jr_jrforum_category' table so a query like this will get the order your after:
SELECT * FROM `jr_jrforum_category` WHERE cat_profile_id = 1 ORDER BY cat_order asc
michael
@michael
09/27/16 06:28:09PM
7,826 posts

Add notification triggers?


Using Jamroom

There is no way to do it via ACP settings right now, it would require a module.

There are a couple of ways I could think to build it:
1.) create an RSS feed of your timeline, then subscribe to that with your email program. Probably the easiest because it already has the correct feed content of the profiles you are following.

2.) Update the video module to have a follow icon like the forum does. Not exactly what you are suggesting because its not connected to the 'Profile Follow' button, but is a stand alone system.

3.) create a separate module that listens for specific events and fires off an email when it finds them, maybe this is the easiest way, just check settings..... not sure....

It would make your email system much more active, currently with the mailgun system you only get 10,000 emails a month before they start charging per email. I worry that could be an issue on larger sites.

The module might be something others are interested in using too. not sure. We do have a "Sponsor a module" system where you can sponsor a module to be built for the community if you (and maybe anyone else interested in it) can pay for a module to be built which then becomes available to everyone.

I'll move this to the suggestions section and open a ticket on it.
michael
@michael
09/27/16 06:00:05PM
7,826 posts

Forum Widget Returns Empty Result


Ning To Jamroom

If you want JUST the forum topics, then you're always going to need more than just the minimum:
{jrCore_list module="jrForum" limit="5"}
because that will include each of the replies too.

To get just the topics you could use either
{jrCore_list module="jrForum" search1="forum_title_url LIKE %"}
Which reads "Get me all forum posts that have a forum_title_url" which only the topic place holders do, or
{jrCore_list module="jrForum" group_by="forum_group_id"}

Which reads "Get me all forum posts and group them by their group id" which will squash all posts into one result, so you only get 1 result from any one forum thread.
michael
@michael
09/27/16 05:40:27PM
7,826 posts

Make a more compact Latest Activity list on my home page


Design and Skin Customization

LesRinchen:.....Okay, so to do this in Site Builder, what's the template code I need to put in the custom box?.....
When you choose 'custom' template the box will be blank. You don't want to write your custom template from scratch, you just want to change a few things from the default, so click the 'click to load default template' link under CUSTOM TEMPLATE and tweak from there.
michael
@michael
09/27/16 05:32:49PM
7,826 posts

private blog issue?


Ning To Jamroom

only blogs that are in the past will show. If you set a blog's publish date to next tuesday, it wont show up until next tuesday.

Perhaps set your private blogs to show up in 2050
  339