Forum Activity for @michael

michael
@michael
04/17/18 03:43:18PM
7,819 posts

Jamroom Sites Slow on Dedicated Server


Proxima

the server load is 3.6 which means the server has 3.6 times more things to do than it can handle at that particular point in time.
https://en.wikipedia.org/wiki/Load_%28computing%29

That usually spikes on servers when they are busy but also usually clears out to below 1 at normal times. Keep an eye on your load averages. You can add them as DASHBOARD widgets in the ACP
load.jpg load.jpg - 92KB
michael
@michael
04/15/18 07:57:51PM
7,819 posts

How to use the notifications dropdown menu - more clarity is needed


Using Jamroom

Not impossible, but wonder if its worth the effort. Currently none of the email options have a category like "Mail" "Support" "Forums and Groups" so each one would need to be analyzed and categorized, then each module adjusted to have that category available.

Open for suggestions for category classifications for each.
p2.jpg p2.jpg - 343KB

updated by @michael: 04/15/18 07:59:21PM
michael
@michael
04/15/18 07:37:13PM
7,819 posts

Modules not working correctly at System tools / System Check


Installation and Configuration

The first thing to always try is to RESET CACHE and run the INTEGRITY CHECK.

Docs: "Somethings wrong what do I do?"
https://www.jamroom.net/the-jamroom-network/documentation/troubleshooting/114/somethings-wrong-what-do-i-do

If you've already done that and those issues are still happening, then it maybe that your server is not allowed to use the 'system' function.

Check with your hosting company to see if php can use the system function to execute those tools.
michael
@michael
04/14/18 07:03:44PM
7,819 posts

How to use the notifications dropdown menu - more clarity is needed


Using Jamroom

Previously it was all the options but that was deemed too confusing so was adjusted to the current model.

You're seam to be offering the suggestion to revert to the old model of all options displaying. dilemma :)
notifications.jpg notifications.jpg - 105KB
michael
@michael
04/14/18 06:59:18PM
7,819 posts

Conditional Sitebuilder Menu Item


Jamroom Developers

OR you could use a smarty function in combination with the existing menu.

Currently the Site Builder menu is created with the /modules/jrSiteBuilder/templates/menu.tpl file.

You can over-ride that with normal system by copying it to the skin your using and calling it jrSiteBuilder_menu.tpl.

Docs: "Altering a modules template"
https://www.jamroom.net/the-jamroom-network/documentation/module-developer-guide/1051/altering-a-modules-template


The current menu.tpl file looks like this:
{foreach $_list as $_l0}
<li {if $_post.module_url == $_l0.menu_url}class="active"{/if}>
    <a href="{if $_l0.menu_url|substr:0:4 === 'http'}{$_l0.menu_url}{elseif $_l0.menu_url|substr:0:1 === '#'}{$_l0.menu_url}{else}{$jamroom_url}/{$_l0.menu_url}{/if}" onclick="{$_l0.menu_onclick}" class="menu_0_link" data-topic="{$_l0.menu_url}">{$_l0.menu_title}</a>
    {if is_array($_l0._children)}
    <ul>
        {foreach $_l0._children as $_l1}
        <li>
            <a href="{if $_l1.menu_url|substr:0:4 === 'http'}{$_l1.menu_url}{elseif $_l1.menu_url|substr:0:1 === '#'}{$_l1.menu_url}{else}{$jamroom_url}/{$_l1.menu_url}{/if}" onclick="{$_l1.menu_onclick}" >{$_l1.menu_title}</a>
            {if is_array($_l1._children)}
            <ul>
            {foreach $_l1._children as $_l2}
                <li><a href="{if $_l2.menu_url|substr:0:4 === 'http'}{$_l2.menu_url}{elseif $_l2.menu_url|substr:0:1 === '#'}{$_l2.menu_url}{else}{$jamroom_url}/{$_l2.menu_url}{/if}" onclick="{$_l2.menu_onclick}" >{$_l2.menu_title}</a></li>
            {/foreach}
            </ul>
            {/if}
        </li>
        {/foreach}
    </ul>
    {/if}
</li>
{/foreach}

You can adjust it by passing it first into your own smarty function

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

So it becomes
{xxYourCustom_something list=$_list assign="_list"}
{foreach $_list as $_l0}
....... the same stuff as it was before
{/foreach}

So in your custom function you accept the current list and adjust as necessary.

OR you could inject via other listener parameters before the template is reached.
michael
@michael
04/14/18 06:50:12PM
7,819 posts

post to "a jr site"


Suggestions

here are the very well documented docs

Docs: "Ultrajam: LifeStream"
https://www.jamroom.net/ultrajam/documentation/modules/1692/lifestreams
michael
@michael
04/14/18 06:45:06PM
7,819 posts

Site Builder On Profile Pages?


Using Jamroom

Was wondering when this question would come up. It was one of the points bough up when considering releasing Site Builder. "But as soon as we release it, we'll get comments about it not working on profiles."

Its been a lot longer than soon.

The answer is no. Because site builder takes over the whole page as a replacement for the .tpl that controls the page. There is not one .tpl file that controls the page for any page on the profile, all the pages come from modules that are there because of the quota system. So its too complex to also add site builder on top of that complexity and still be able to support it.

Site Builder is supposed to be a way to allow the construction of the top section of the site without the need for template adjustment.

Template adjustment still has more flexibility than Site Builder but with the cost of being slightly more involved to setup and requiring the need to deal with code.
michael
@michael
04/13/18 10:15:19PM
7,819 posts

Skin Customization for Follow Me


Design and Skin Customization

Definitely will not be any updates coming out for any jamroom version pre JR6.
michael
@michael
04/13/18 09:45:00PM
7,819 posts

profile custom feilds quota issues (opposite expected behavior)


Using Jamroom

The wrapper function is
 {if jrUser_is_logged_in() && $_conf.sedreadsiteskin4_profile_questions == 'on'}
so that would limit it to show only to users who are logged in and have a config setting set to on.

Looking inside the smarty_function_jrNingImport_signup_questions() function it calls the 'signup_questions.tpl' template.

That looks like this:
{if isset($_items)}
    {foreach from=$_items item="item"}
        {if
        $item.group  == 'visitor' ||
        ($item.group == 'user' && jrUser_is_logged_in()) ||
        ($item.group == 'power' && isset($_user.quota_jrUser_power_user) && $_user.quota_jrUser_power_user == 'on') ||
        ($item.group == 'admin' && jrUser_is_admin()) ||
        ($item.group == 'master' && jrUser_is_master()) ||
        (jrCore_checktype($item.group, 'number_nz') && $item.group == $_user.profile_quota_id)
        }
            <h4>{$item.label}:</h4> {$item.answer}<br>
        {/if}
    {/foreach}
{/if}

There are a lot of IF's that need to be met in order for things to display.
  133