Forum Activity for @michael

michael
@michael
05/25/17 04:18:56AM
7,827 posts

Disqus Module Acting Strange?


Using Jamroom

Yeah, your page has the wrong code for sure:
http://metaldevastationradio.com/thebeast/blog/596/did-chris-cornell-kill-himself-or-was-he-murdered
                                       
<div class="item">
    <div id="disqus_thread"></div>
    <script type="text/javascript">
        var disqus_shortname = 'metal-devastation-radio';
        var disqus_developer = 1;
                var disqus_identifier = 'jrDisqus_596';
                (function() {
            var dsq = document.createElement('script'); dsq.type = 'text/javascript'; dsq.async = true;
            dsq.src = 'http://' + disqus_shortname + '.disqus.com/embed.js';
            (document.getElementsByTagName('head')[0] || document.getElementsByTagName('body')[0]).appendChild(dsq);
        })();
    </script>
    <noscript>Please enable JavaScript to view the <a href="http://disqus.com/?ref_noscript">comments powered by Disqus.</a></noscript>
    <a href="http://disqus.com" class="dsq-brlink">comments powered by <span class="logo-disqus">Disqus</span></a>
</div>
That var disqus_identifier = 'jrDisqus_596'; should be
var disqus_identifier = 'jrBlog_596';
for the blog page.

I'll setup a dev environment to test whats happening. If you've done nothing to the templates that's going to effect others.
michael
@michael
05/24/17 07:12:09PM
7,827 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,827 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,827 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,827 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,827 posts

Stream Pay data for profiles


Suggestions

(moved to suggestions)

Thanks.
michael
@michael
05/21/17 10:51:00PM
7,827 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,827 posts

Typo in jrProfile 1.6.1


Using Jamroom

Got it fixed, thanks. :)
michael
@michael
05/21/17 06:05:13PM
7,827 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.
  222