Forum Activity for @paul

paul
@paul
06/19/16 12:20:52AM
4,335 posts

Double slash in urls in the Quota Compare


Using Jamroom

I have this fixed in the next release of the Profile module.
However, even with the double slash it wasn't causing any problems for me. Maybe your browser?
Anyway - thanks for letting us know about it.
Paul
paul
@paul
06/18/16 11:37:57AM
4,335 posts

Particular Notification option missing?


Using Jamroom

ACP=>Profiles=>Groups=>Language Tab
Notification text strings are IDs 53-58 inc.
hth
paul
@paul
06/17/16 08:58:27AM
4,335 posts

jcore Lists that only show logged in users material?


Using Jamroom

Unfortunately, searching for items of online users isn't supported directly in Jamroom. I can only suggest some custom template code that would first detect all online users then add them specifically to the search jrCore_list call. The code below isn't very elegant but works and in this example searches for the videos of logged in users -

{$_online = jrUser_session_online_user_info()}
{$pids = ''}
{if is_array($_online) and count($_online) > 0}
    {$_tmp = array()}
	{foreach $_online as $online}
        {$_tmp[] = $online['session_profile_id']}
    {/foreach}
    {$pids = implode(',', $_tmp)}
{/if}
{jrCore_list module="jrVideo" search="_profile_id IN `$pids`"}
hth
paul
@paul
06/17/16 07:06:41AM
4,335 posts

{if} statement - works in some templates not in others


Jamroom Developers

When viewing profile templates there is just the one profile so any profile variables don't need to be part of an array, so that is whey they are available as their actual key value. If its a listing template that shows many groups, that's when they are an item in an array.
When working with templates alway do a {debug} call initially so as to see what variables (and their format) you have to play with.
hth
paul
@paul
06/16/16 10:20:31PM
4,335 posts

{if} statement - works in some templates not in others


Jamroom Developers

Quote:and it is listed in the $items array but my {if} statement doesn't work. (grrrrrrr)
So shouldn't it be $item.group_intro_video or something like that?
paul
@paul
06/16/16 07:21:55AM
4,335 posts

Extra menu level site builder?


Using Jamroom

That would mean modifications to the Site Builder module and I'm not sure how possible it would be. You could make this into a suggestion but as no one else has asked for it, it wouldn't be a priority. Sorry.
paul
@paul
06/16/16 06:25:43AM
4,335 posts

Extra menu level site builder?


Using Jamroom

I'm not seeing that. Take a look at http://pauljamroom5com.jamroomhosting.com/ then hover over th 'Top Item' menu link, then over the 'Level 1b' item.
Or is it that you want another menu level?
paul
@paul
06/16/16 05:02:26AM
4,335 posts

Extra menu level site builder?


Using Jamroom

This is already supported. Just open the SiteBuilder menu tool, create all menu items then 'drag and drop' then into position. Dropping one onto another with make it a sub-menu of that item. You can create menus three levels deep (including the top one) by this method.
Hope that helps
paul
@paul
06/16/16 03:55:17AM
4,335 posts

How to add the who is online for the entire site?


Using Jamroom

I'd just use the jrUser_whos_online smarty call as in -

{jrUser_whos_online template="whos_online.tpl"}

but check that the whos_online.tpl is present in your active skin. If it isn't create the code in your template prior to the smarty call -

{capture name="online_tpl" assign="online_tpl"}
{literal}
<div class="container">
{if isset($master)}
    <div class="row">
        <div class="col12 last">
            <span class="media_title">Master Admins</span>
            <hr>
        </div>
    </div>
    <div class="row">
        {foreach from=$master item="m_admin"}
            <div class="col3{if $m_admin@last} last{/if}">
                <div class="center capital p5">
                    {jrCore_module_function function="jrImage_display" module="jrUser" type="user_image" item_id=$m_admin.session_user_id size="xsmall" crop="auto" class="iloutline" alt=$m_admin.session_user_name title=$m_admin.session_user_name}
                </div>
            </div>
        {/foreach}
    </div>
{/if}
{if isset($admin)}
    <div class="row">
        <div class="col12 last">
            <hr>
            <span class="media_title">Site Admins</span>
            <hr>
        </div>
    </div>
    <div class="row">
        {foreach from=$admin item="s_admin"}
            <div class="col3{if $s_admin@last} last{/if}">
                <div class="center capital p5">
                    {jrCore_module_function function="jrImage_display" module="jrUser" type="user_image" item_id=$s_admin.session_user_id size="xsmall" crop="auto" class="iloutline" alt=$s_admin.session_user_name title=$s_admin.session_user_name}
                </div>
            </div>
        {/foreach}
    </div>
{/if}
{if isset($user)}
    <div class="row">
        <div class="col12 last">
            <hr>
            <span class="media_title">Members</span>
            <hr>
        </div>
    </div>
    <div class="row">
        {foreach from=$user item="member"}
            <div class="col3{if $member@last} last{/if}">
                <div class="center capital p5">
                    {jrCore_module_function function="jrImage_display" module="jrUser" type="user_image" item_id=$member.session_user_id size="xsmall" crop="auto" class="iloutline" alt=$member.session_user_name title=$member.session_user_name}
                </div>
            </div>
        {/foreach}
    </div>
{/if}
</div>
<hr>
<div class="p3" style="width:90%;display:table;margin:0 auto;">
    <div style="display:table-row">
        <div class="capital bold" style="display:table-cell">
            Master Admins:
        </div>
        <div class="hilite_2" style="width:1%;display:table-cell;;text-align:right;">
            {$master_count}
        </div>
    </div>
    <div style="display:table-row">
        <div class="capital bold" style="display:table-cell;">
            Site Admins:
        </div>
        <div class="hilite_2" style="width:1%;display:table-cell;;text-align:right;">
            {$admin_count}
        </div>
    </div>
    <div style="display:table-row">
        <div class="capital bold" style="display:table-cell;">
            Members:
        </div>
        <div class="hilite_2" style="width:1%;display:table-cell;;text-align:right;">
            {$user_count}
        </div>
    </div>
    <div style="display:table-row">
        <div class="capital bold" style="display:table-cell;">
            Visitors:
        </div>
        <div style="width:1%;display:table-cell;;text-align:right;">
            <span class="hilite_2">{$visitor_count}</span>
        </div>
    </div>
</div>
<hr>
<div class="p3" style="width:90%;display:table;margin:0 auto;">
    <div style="display:table-row">
        <div class="capital bold" style="display:table-cell;">
            Total:
        </div>
        <div class="hilite_2" style="width:1%;display:table-cell;text-align:right;">
            {$all_count}
        </div>
    </div>
</div>
{/literal}
{/capture}

{jrUser_whos_online template=$online_tpl}
hth
paul
@paul
06/15/16 01:23:41PM
4,335 posts

Changes through the Template editor not showing on the site


Using Jamroom

Only the native skins would get updated, so your clone skin(s) are safe. That is the idea behind cloning them.
When using the template editor, changes are saved on the database and not in the template file. That is why you then have to enable the edited file. Disable it to revert to the original file. This also means that you can compare the original and edited versions using the tool alongside each template. Again, using this method, updates to the original templates will not affect your changes.
Note that if you clone a skin with templates edited via the ACP, those changes will go into the cloned skin so that you could 'stage' your skin development doing this, and revert to a previously cloned skin if things go wrong.
Yes, the ACP editor is a bit clunky compared to other more featured ones, but you have the choice of what to use.
hth
  209