Forum Activity for @michael

michael
@michael
05/24/17 07:12:09PM
7,826 posts

Disqus Module Acting Strange?


Using Jamroom

Docs: "Disqus Comments"
https://www.jamroom.net/the-jamroom-network/documentation/modules/1348/disqus-comments

the number will make no difference if the template is setup correctly because the module's name will be an identifier.
{jrDisqus_comments disqus_identifier="jrBlog_`$item._item_id`"}
michael
@michael
05/23/17 06:01:44PM
7,826 posts

How to remove native comments?


Using Jamroom

nice! Can use the same method for pretty much anything you want to locate, so good to know.

Well done. :)
michael
@michael
05/22/17 09:50:10PM
7,826 posts

Issue tracker resolution field strips out code


Using Jamroom

Tried to reproduce this with jrTracker 1.2.6 and the current BETA core and couldn't. Marking it as 'completed', but if its still an issue, just say.
michael
@michael
05/22/17 05:56:43PM
7,826 posts

How to remove native comments?


Using Jamroom

Here's a video on how to use the Template Editor and figuring out where that is:
Forum Question: How to adjust a template

Docs: "Using the Template Editor"
https://www.jamroom.net/the-jamroom-network/documentation/jamroom-admin-handbook/3183/using-the-template-editor
michael
@michael
05/22/17 04:11:56PM
7,826 posts

Stream Pay data for profiles


Suggestions

(moved to suggestions)

Thanks.
michael
@michael
05/21/17 10:51:00PM
7,826 posts

How to add items to the 'user dropdown' menu that members see under username after login?


Using Jamroom

You mean this menu? (screenshot)

That menu is mainly there to allow modules to add menu items to. So if you're thinking to do it from a module, then the code is:
    // Skin menu link to 'following'
    $_tmp = array(
        'group' => 'user',
        'label' =>  'Profiles You Follow'
        'url'   => 'following'
    );
    jrCore_register_module_feature('jrCore', 'skin_menu_item', 'jrFollower', 'following', $_tmp);
^^ code taken from the jrFollowers module's _init() function in include.php.

You'd do the same from your module.

Purpose of it is to allow modules to add themselves to the skin without the need for the owner of the skin to do any customization to get the module to work.

--
If you're wanting to add a static item onto the end or the beginning of that, you can do it without building a module by customizing the menu.tpl file in your skin.
/skins/(YOUR SKIN)/menu.tpl

It probably looks like this
{foreach $_items as $entry}
    {assign var="oc" value=""}
    {if isset($entry.menu_onclick) && strlen($entry.menu_onclick) > 2}
        {assign var="oc" value=" onclick=\"`$entry.menu_onclick`\" "}
    {/if}
    {if isset($entry.menu_function_result) && strlen($entry.menu_function_result) > 0}
        {if is_numeric($entry.menu_function_result)}
            <li><a href="{$entry.menu_url}" {$oc}>{$entry.menu_label} [{$entry.menu_function_result}]</a></li>
        {else}
            <li><a href="{$entry.menu_url}" {$oc}>{$entry.menu_label} <img src="{$entry.menu_function_result}" alt="{$entry.menu_label}"></a></li>
        {/if}
    {else}
        <li><a href="{$entry.menu_url}" {$oc}>{$entry.menu_label}</a></li>
    {/if}
{/foreach}

so if you add another LI at the end it will show up in the menu
 <li><a href="https://jamroom.net">A link to Jamroom.net</a></li>

menu_items.jpg menu_items.jpg - 33KB
michael
@michael
05/21/17 06:06:41PM
7,826 posts

Typo in jrProfile 1.6.1


Using Jamroom

Got it fixed, thanks. :)
michael
@michael
05/21/17 06:05:13PM
7,826 posts

Stream Pay data for profiles


Suggestions

The individual transactions are stored in the jr_jrprofilestream_log table and the balance of money owing to the profile is stored in the jrProfile datastore on the 'profile_balance' key.
michael
@michael
05/18/17 07:00:02PM
7,826 posts

How to leave? (How to delete, or how to remove, own account?)


Using Jamroom

User A asks a question: "how do I ......" and user b, user c, user d all answer it. It shouldn't be user a's right to delete that question.

However User A upload their song to the site, then deletes their profile, what happens to those songs should be dictated by the sites usage policy. (whatever they agreed to when joining the site)
  222