Forum Activity for @paul

paul
@paul
11/14/15 10:39:22AM
4,335 posts

How to make lists?


Using Jamroom

Add a search function to the jrCore_list call -

search="audio_genre != interview"
paul
@paul
11/13/15 03:03:23PM
4,335 posts

Is it possible to customize a profile url?


Using Jamroom

Actually, this is going to need a check that a duplicate profile_url doesn't already exist. If it does, Jamroom's router will get confused.
We'll look into adding this option into the Profile module so that the proper checks can be made.
Thanks
paul
@paul
11/13/15 01:15:18PM
4,335 posts

Groups - Change ownership? change/add administrators?


Installation and Configuration

Hi Deb - Have just read your issue again and realise that what you report is right, as the modules stand now.
When a group is created the creator is automatically added as a group member and changing ownership will only change the group item. Its members, who are linked but seperate entities remain the same.
Logically, the original member need replacing with the new owner. Let me check that out.
paul
@paul
11/13/15 12:44:48PM
4,335 posts

Can i use the Annika Live Wall as a comment wall?


Using Jamroom

Ahh - Might be because in Core 5.3 we've moved the ACP modules around.

Pre Core 5.3 - ACP=>Users=>Actions=>Templates

Post Core 5.3 - ACP=>Profiles=>Timeline=>Templates

Its the item_index.tpl and item_list.tpl templates. NOTE that the code I posted above isn't complete and will braek your site if copied/pasted as is into your templates. Its just the jrComment call - {jrComment_form module="jrAction" profile_id=$item._profile_id item_id=$item._item_id} - that needs pasting in at the appropriate places.
paul
@paul
11/13/15 10:09:23AM
4,335 posts

Groups - Change ownership? change/add administrators?


Installation and Configuration

Yes - This is probably fallout from the recent changes to the Group module. I'll check that out and get back to you here asap.
paul
@paul
11/13/15 09:47:09AM
4,335 posts

New 'Auto Follow' Module (Free)


Announcements

https://www.jamroom.net/the-jamroom-network/networkmarket/287/auto-follow

A simple module that listens for new user signups and sets specified profile(s) to either follow the new profile, be followed by the new profile, or both.

updated by @paul: 02/13/16 09:39:24PM
paul
@paul
11/13/15 08:19:49AM
4,335 posts

Can i use the Annika Live Wall as a comment wall?


Using Jamroom

Actually, what you are asking for is nothing to do with the Annika module. Comments being inserted in the thread is a standard feature of the Comment module, so all I have done on http://guffr.it is add the comment form to each action item in the jrAction item_list.tpl (activities and module actions sections only) -

    {* Activity Updates *}
    {elseif isset($item.action_text)}
    
        <div id="a{$item._item_id}" class="action_item_holder" style="border-bottom:0px;border-top:1px solid #ccc;">
            <div class="container">
                <div class="row">
                    <div class="col2">
                        <div class="action_item_media">
                            {if jrCore_checktype($item.user_image_size, 'number_nz')}
                                {jrCore_module_function function="jrImage_display" module="jrUser" type="user_image" item_id=$item._user_id size="icon" crop="auto" alt=$item.user_name class="action_item_user_img img_shadow img_scale"}
                            {elseif jrCore_checktype($item.profile_image_size, 'number_nz')}
                                {jrCore_module_function function="jrImage_display" module="jrProfile" type="profile_image" item_id=$item._profile_id size="icon" crop="auto" alt=$item.profile_name class="action_item_user_img img_shadow img_scale"}
                            {else}
                                &nbsp;
                            {/if}
                        </div>
                    </div>
                    <div class="col8" style="position:relative">
                        <div class="action_item_desc">
                            <a href="{$jamroom_url}/{$item.profile_url}" class="action_item_title" title="{$item.profile_name|jrCore_entity_string}">@{$item.profile_url}</a> <span class="action_item_actions">{if !isset($_params.random)}&bull; {$item._created|jrCore_date_format:"relative"}{/if}{if jrUser_is_logged_in() && $_user._user_id != $item._user_id && $item.action_shared_by_user != '1'} &bull; <a href="{$jamroom_url}/{$murl}/share/{$item._item_id}" onclick="if(!confirm('{jrCore_lang module="jrAction" id="9" default="Share this update with your followers?"}')) { return false; }">{jrCore_lang module="jrAction" id="10" default="Share This"}</a>{/if} {if $_post.module_url == $_user.profile_url && $item.action_shared_by_user == '1'} &bull; <a href="{$jamroom_url}/{$item.profile_url}/{$murl}/{$item._item_id}">{jrCore_lang module="jrAction" id="26" default="shared by you"}</a> {elseif $item.action_shared_by_count > 0} &bull; {jrCore_lang module="jrAction" id="24" default="shared by"} <a href="{$jamroom_url}/{$item.profile_url}/{$murl}/{$item._item_id}">{$item.action_shared_by_count} {jrCore_lang module="jrAction" id="25" default="follower(s)"}</a>{/if}{if $img == "comments.png"} &bull; <a href="{$jamroom_url}/{$item.profile_url}/{$murl}/{$item._item_id}">{jrCore_lang module="jrAction" id="22" default="Comments"}: {$item.action_comment_count|default:0}</a>{/if}&bull; <a href="{$jamroom_url}/{$item.profile_url}/{$murl}/{$item._item_id}">detail</a></span><br>
                            <div class="action_item_link">
                                <div class="p5">{$item.action_text|jrCore_format_string:$item.profile_quota_id|jrAction_convert_hash_tags}</div>
                            </div>
                        </div>


                        {*** Comment form here ***}
                        {jrComment_form module="jrAction" profile_id=$item._profile_id item_id=$item._item_id}



                    </div>
                    <div class="col2 last" style="position:relative">
                        <div class="position: absolute; top: 0px; right: 0px; display: none;">
                            <div id="d{$item._item_id}" class="action_item_delete">
                                 <script>$(function () { $('#a{$item._item_id}').hover(function() { $('#d{$item._item_id}').toggle(); }); });</script>
                                 {jrCore_item_update_button module="jrAction" profile_id=$item._profile_id item_id=$item._item_id}
                                 {jrCore_item_delete_button module="jrAction" profile_id=$item._profile_id item_id=$item._item_id}
                            </div>
                            <div>
                                {jrLike_button item=$item action="like" module="jrAction"}
                                {jrLike_button item=$item action="dislike" module="jrAction"}
                            </div>
                         </div>
                    </div>
                </div>
            </div>
         </div>

    {* Registered Module Action templates *}
    {elseif isset($item.action_data) && strpos($item.action_data, '{') !== 0}

        {jrCore_module_url module=$item.action_module assign="lurl"}

        <div id="a{$item._item_id}" class="action_item_holder" style="border-bottom:0px;border-top:1px solid #ccc;">
            <div class="container">
                <div class="row">

                    <div class="col2">
                        <div class="action_item_media">
                            {if jrCore_checktype($item.user_image_size, 'number_nz')}
                                {jrCore_module_function function="jrImage_display" module="jrUser" type="user_image" item_id=$item._user_id size="icon" crop="auto" alt=$item.user_name class="action_item_user_img img_shadow img_scale"}
                            {elseif jrCore_checktype($item.profile_image_size, 'number_nz')}
                                {jrCore_module_function function="jrImage_display" module="jrProfile" type="profile_image" item_id=$item._profile_id size="icon" crop="auto" alt=$item.profile_name class="action_item_user_img img_shadow img_scale"}
                            {else}
                                &nbsp;
                            {/if}
                        </div>
                    </div>
                    <div class="col8">

                        <div class="action_item_desc">

                            <a href="{$jamroom_url}/{$item.profile_url}" class="action_item_title" title="{$item.profile_name|jrCore_entity_string}">@{$item.profile_url}</a> <span class="action_item_actions">{if !isset($_params.random)}&bull; {$item._created|jrCore_date_format:"relative"}{/if}{if jrUser_is_logged_in() && $_user._user_id != $item._user_id && $item.action_shared_by_user != '1'} &bull; <a href="{$jamroom_url}/{$murl}/share/{$item._item_id}" onclick="if(!confirm('{jrCore_lang module="jrAction" id="9" default="Share this update with your followers?"}')) { return false; }">{jrCore_lang module="jrAction" id="10" default="Share This"}</a>{/if} {if $_post.module_url == $_user.profile_url && $item.action_shared_by_user == '1'} &bull; <a href="{$jamroom_url}/{$item.profile_url}/{$murl}/{$item._item_id}">{jrCore_lang module="jrAction" id="26" default="shared by you"}</a> {elseif $item.action_shared_by_count > 0} &bull; {jrCore_lang module="jrAction" id="24" default="shared by"} <a href="{$jamroom_url}/{$item.profile_url}/{$murl}/{$item._item_id}">{$item.action_shared_by_count} {jrCore_lang module="jrAction" id="25" default="follower(s)"}</a>{/if}{if $item.action_module != 'jrFollower' && $item.action_module != 'jrLike' && $item.action_mode != 'create_album'} &bull; <a href="{$jamroom_url}/{$item.action_item.profile_url}/{$lurl}/{$item.action_item._item_id}">detail</a>{/if}</span><br>

                            <div class="action_item_link">
                                {$item.action_data|jrCore_format_string:$item.profile_quota_id:null:"nl2br"}
                            </div>

                        </div>
                        


                        {*** Comment form here (NOTE that I don't allow comments on Follow and Like actions) ***}
                        {if $item.action_module != 'jrFollower' && $item.action_module != 'jrLike'}
                            {jrComment_form module="jrAction" profile_id=$item._profile_id item_id=$item._item_id}
                        {/if}
                        
                    </div>
                    <div class="col2 last">
                        <div id="d{$item._item_id}" class="action_item_delete">
                            <script>$(function () { $('#a{$item._item_id}').hover(function() { $('#d{$item._item_id}').toggle(); }); });</script>
                            {jrCore_item_delete_button module="jrAction" profile_id=$item._profile_id item_id=$item._item_id}
                        </div>
                        <div>
                            {if $item.action_module != 'jrLike'}
                                {jrLike_button item=$item action="like" module="jrAction"}
                                {jrLike_button item=$item action="dislike" module="jrAction"}
                            {/if}
                        </div>
                    </div>
                </div>
            </div>
        </div>

    {/if}

Also note that in the jrAcion item_list.tpl template I exclude comment actions themselves in all the jrCoure_list calls, otherwise you'll be allowing comments on comment actions which could get out of hand!!

{jrCore_list module="jrAction" profile_id=$_profile_id order_by="_updated numerical_desc" pagebreak="12" page="1" pager=true search1="action_module != jrComment"}

hth
  252