Forum Activity for @douglas

douglas
@douglas
11/27/15 07:07:23AM
2,812 posts

Contact button to Profile menu


Design and Skin Customization

You can add a link to the new private note form, but the user will still have to enter the profile name for the recipient.

If that will work for you, change your skins/jrNova/profile_menu.tpl from this:

{if isset($_items)}
{foreach from=$_items key="module" item="entry"}
    {if $entry.active == '1'}
    <a href="{$entry.target}"><div class="profile_menu_entry profile_menu_entry_active">{$entry.label}</div></a>
    {else}
    <a href="{$entry.target}"><div class="profile_menu_entry">{$entry.label}</div></a>
    {/if}
{/foreach}
{/if}

to this:

{if isset($_items)}
{foreach from=$_items key="module" item="entry"}
    {if $entry.active == '1'}
    <a href="{$entry.target}"><div class="profile_menu_entry profile_menu_entry_active">{$entry.label}</div></a>
    {else}
    <a href="{$entry.target}"><div class="profile_menu_entry">{$entry.label}</div></a>
    {/if}
{/foreach}
{/if}
    <a href="{$jamroom_url}/note/new/"><div class="profile_menu_entry">Contact</div></a>
douglas
@douglas
11/27/15 04:28:55AM
2,812 posts

Mailgun Issue


Installation and Configuration

Remove the demo one from MailGun, if your not going to be using it, and I wouldn't since it is a dev site, then there is no need in having it.

Also, you can set your ACP > Communication > Email Core > General Settings > Active Email System to "Log Sent Email To Debug Log" and you'll see emails in your debug log instead.
douglas
@douglas
11/26/15 08:28:13AM
2,812 posts

Adding a ad under profile pictures


Design and Skin Customization

You can add your adsense code to your skins/jrNova/profile_header.tpl, that is where the profile image is located.
douglas
@douglas
11/25/15 04:19:44AM
2,812 posts

Adding TAGS to a template search


Design and Skin Customization

I'm not sure why the search3 isn't working, may be give this a try.

{jrSeamless_list modules="jrVideo,jrYouTube" order_by="_created numerical_desc"  search1="*_category = football" search2="*_tags LIKE %5th% OR *_tags LIKE %6th%" pagebreak=15 page=$_post.p pager=false template=$tpl}
douglas
@douglas
11/24/15 08:28:28AM
2,812 posts

IMAGE CORE "Skin Images" not working


Design and Skin Customization

After updating the module, did you delete the broken image and upload the image again?
douglas
@douglas
11/23/15 03:01:05AM
2,812 posts

Adding TAGS to a template search


Design and Skin Customization

Give this a try:

{jrSeamless_list modules="jrVideo,jrYouTube" order_by="_created numerical_desc"  search1="*_category = football" search2="*_tags LIKE %5th%" search3="*_tags LIKE %6th%" pagebreak=15 page=$_post.p pager=false template=$tpl}
douglas
@douglas
11/23/15 02:53:46AM
2,812 posts

Who Is Online


Design and Skin Customization

The jrForum_active_users funtion is for the Forum only and will not work anywhere else.

However you can use the jrUser_whos_online function to add a "who is online" section to a widget.

Add something like this to a "Template Code" widget
{jrUser_whos_online template="whos_online.tpl" assign="WHOS_ONLINE"}
{if isset($WHOS_ONLINE) && strlen($WHOS_ONLINE) > 0}
    {$WHOS_ONLINE}
{else}
    <br><br><br><br>
    <div style="text-align:center;">
        <input type="button" class="form_button" value="Login" onclick="jrCore_window_location('{$jamroom_url}/{jrCore_module_url module="jrUser"}/login');"><br>
        <br>
    {if $_conf.jrCore_maintenance_mode != 'on' && $_conf.jrUser_signup_on == 'on'}
        <input type="button" class="form_button" onclick="jrCore_window_location('{$jamroom_url}/{jrCore_module_url module="jrUser"}/signup');" value="Create Account"><br>
        <br>
    {/if}
    </div>
{/if}

Then create a whos_online.tpl file with this code in it and upload it to your skins/YOURSKIN directory:

<div class="container">{if isset($master)}
    <div class="row">
        <div class="col12 last">
            <span>{jrCore_lang  skin=$_conf.jrCore_active_skin id="56" default="Master"} {jrCore_lang  skin=$_conf.jrCore_active_skin id="57" default="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">
                    <a href="{$jamroom_url}/{$m_admin.profile_url}">{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}</a>
                </div>
            </div>
        {/foreach}
    </div>
{/if}
{if isset($admin)}
    <div class="row">
        <div class="col12 last">
            <hr>
            <span>{jrCore_lang  skin=$_conf.jrCore_active_skin id="8" default="Site"} {jrCore_lang  skin=$_conf.jrCore_active_skin id="57" default="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">
                    <a href="{$jamroom_url}/{$s_admin.profile_url}">{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}</a>
                </div>
            </div>
        {/foreach}
    </div>
{/if}
{if isset($user)}
    <div class="row">
        <div class="col12 last">
            <hr>
            <span>{jrCore_lang  skin=$_conf.jrCore_active_skin id="58" default="Members"}</span>
            <hr>
        </div>
    </div>
    <div class="row">
        {foreach from=$user item="member"}
            <div class="col3{if $member@last} last{/if}">
                <div class="center">
                    <a href="{$jamroom_url}/{$member.profile_url}">{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}</a>
                </div>
            </div>
        {/foreach}
    </div>
{/if}
</div>

<hr>

<div class="p5" style="width:90%;display:table;margin:0 auto;">
    <div style="display:table-row;">
        <div style="display:table-cell;">
            {jrCore_lang  skin=$_conf.jrCore_active_skin id="56" default="Master"} {jrCore_lang  skin=$_conf.jrCore_active_skin id="57" default="Admins"}:
        </div>
        <div style="width:5%;display:table-cell;text-align:right;">
            {$master_count}
        </div>
    </div>
    <div style="display:table-row;">
        <div style="display:table-cell;">
            {jrCore_lang  skin=$_conf.jrCore_active_skin id="8" default="Site"} {jrCore_lang  skin=$_conf.jrCore_active_skin id="57" default="Admins"}:
        </div>
        <div style="width:5%;display:table-cell;text-align:right;">
            {$admin_count}
        </div>
    </div>
    <div style="display:table-row;">
        <div style="display:table-cell;">
            {jrCore_lang  skin=$_conf.jrCore_active_skin id="58" default="Members"}:
        </div>
        <div style="width:5%;display:table-cell;text-align:right;">
            {$user_count}
        </div>
    </div>
    <div style="display:table-row;">
        <div style="display:table-cell;">
            {jrCore_lang  skin=$_conf.jrCore_active_skin id="59" default="Visitors"}:
        </div>
        <div style="width:5%;display:table-cell;text-align:right;">
            {$visitor_count}
        </div>
    </div>

</div>

<hr>

<div class="p5" style="width:90%;display:table;margin:0 auto;">

    <div style="display:table-row">

        <div style="display:table-cell;">
        {jrCore_lang  skin=$_conf.jrCore_active_skin id="60" default="Total"}:
        </div>
        <div style="width:5%;display:table-cell;text-align:right;">
        {$all_count}
        </div>

    </div>

</div>
  126