Forum Activity for @michael

michael
@michael
03/11/17 04:16:28PM
7,837 posts

How to edit JrDocs tabs


Design and Skin Customization

Those tabs are not put there by a template. They are put there by the module, so its not easy to edit them without via a module.

In the modules _init() function the tabs are registered like this:
    // Profile tabs
    if (!isset($_conf['jrDocs_show_toc']) || $_conf['jrDocs_show_toc'] != 'off') {
        $_tmp = array(
            'label' => 64, // Chapters
            'group' => 'all'
        );
        jrCore_register_module_feature('jrProfile', 'profile_tab', 'jrDocs', 'default', $_tmp);
        $_tmp = array(
            'label' => 54,  // Table of Contents
            'group' => 'all'
        );
        jrCore_register_module_feature('jrProfile', 'profile_tab', 'jrDocs', 'contents', $_tmp);
    }

So you could create a new module and add your own button to that location via the same setup.

To edit the .css file, you can put any css in any file in your skin and it will appear in the main compressed .css file for your site.
michael
@michael
03/11/17 03:55:13PM
7,837 posts

How do I restrict/sort Calendar Events from different profile Calendar?


Installation and Configuration

The {jrEvent_calendar} template function takes search="" as a parameter.

Try
{jrEvent_calendar search="profile_quota_id = 1"}
and change the id to the quota you're interested in.
michael
@michael
03/10/17 05:52:15PM
7,837 posts

Group Discussions Allowed Attachments?????


Using Jamroom

not seeing the same thing here, could you send me some login details to your site so I can test. support at jamroom dot net
michael
@michael
03/10/17 04:51:32PM
7,837 posts

Group Discussions Allowed Attachments?????


Using Jamroom

it uses the jrComment module, so:
http://yoursite.com/comment/admin/quota

its a per-quota setting.
michael
@michael
03/10/17 02:55:11PM
7,837 posts

Soundcloud images blurry in lists?


Using Jamroom

the images being used are small:
https://i1.sndcdn.com/artworks-000154478186-1xaws0-large.jpg
https://i1.sndcdn.com/artworks-000154538164-72v0xw-large.jpg

If you can locate a link to a bigger image from soundcloud, then you could change to that, but small images scaled to a bigger box are always going to be blurry.
michael
@michael
03/10/17 02:50:36PM
7,837 posts

Custom Index Page


Jamroom Developers

thats not strange, its Site Builder.

You have a Site Builder page active for the index.tpl location that is being used instead of the .tpl file.

go to
yoursite.com -> SITE BUILDER -> DELETE PAGE

And your index.tpl file will be used instead of the Site Builder page.

Alternatively you could add a TEMPLATE CODE widget to that page to put whatever template code you wanted into the existing page.
michael
@michael
03/10/17 01:20:44PM
7,837 posts

Custom Index Page


Jamroom Developers

working for me.

In jrElastic2 index.tpl if i add that to the top of it, i get redirected here

{jrCore_location('https://jamroom.net')}
{* /////////// DO NOT REMOVE //////////  *}
{assign var="page_template" value="index"}
{* /////////// DO NOT REMOVE //////////  *}

{jrCore_include template="header.tpl"}
{jrCore_include template="index_top.tpl"}
{jrCore_include template="index_core.tpl"}
{jrCore_include template="index_audio.tpl"}
{jrCore_include template="index_video.tpl"}
{jrCore_include template="index_events.tpl"}
{jrCore_include template="index_gallery.tpl"}
{jrCore_include template="footer.tpl"}
Suspect you're not editing where you think you're editing. Or have not reset the caches.

put something in where you're planning on using the redirect and make sure it comes out. THIS IS WHERE I AM EDITING HERE !!!!!!!!!

See it come out on the page, then replace it with that redirect.
michael
@michael
03/10/17 12:41:08PM
7,837 posts

Ninja Skin Fix


Design and Skin Customization

found it.

Do this:
* YOUR-SITE.com
* Site Builder -> LATEST FORUM POSTS -> MODIFY
* Change it to this code:
{* This is the embedded template that is shown for EACH Latest Forum Posts entry on the right side *}
{capture name="template3" assign="forum_tpl"}
{literal}
    {if isset($_items)}
    {jrCore_module_url module="jrForum" assign="furl"}
    {foreach $_items as $item}
    <div class="p5">
        <h3><a href="{$item.forum_topic_url}#last">{$item.forum_title|truncate:30}</a></h3>

        <div class="normal" style="line-height: 12px;">
            <strong>{jrCore_lang skin="jrNinja" id="45" default="Posted"}:</strong>&nbsp;{$item.forum_updated|jrCore_date_format:"%A %B %e %Y, %l:%M %p"}<br>
            <strong>{jrCore_lang skin="jrNinja" id="46" default="By"}:</strong>&nbsp;<a href="{$jamroom_url}/{$item.forum_updated_profile_url}">@{$item.forum_updated_user_name}</a>
        </div>
    </div>
    {/foreach}
	{else}
    <div class="center p10">
        <h3>{jrCore_lang skin="jrNinja" id="26" default="No"} {jrCore_lang skin="jrNinja" id="19" default="Discussions"}!</h3>
    </div>
    {/if}
{/literal}
{/capture}
{* This is the END of the embedded template that is shown for EACH Top Disscusstion entry on the right side *}

<div class="blog-index-text" style="{if !jrCore_is_mobile_device()}height:225px;overflow-y:scroll;overflow-x:hidden;{/if}margin: 10px 0 0 0;padding-bottom: 10px;">
    {jrCore_list module="jrForum" search="forum_post_count > 0" order_by="forum_updated desc" limit=5 template=$forum_tpl quota_check=false}
</div>
The key points is this variable {$item.forum_topic_url} is the one that links to the latest forum post.

Prior to that it was a very long url with many parts that could in certain situations could be wrong.
michael
@michael
03/10/17 12:36:53PM
7,837 posts

Ninja Skin Fix


Design and Skin Customization

lost, where did I say that. ETA is, we're prepping for jr6.1.0 now so any non-released stuff will be released with that.

What's the fix you're waiting on?
michael
@michael
03/10/17 12:21:35PM
7,837 posts

Changing the site builder page structure and layout.


Design and Skin Customization

The issue with this question is its very large. It seams like you may be asking how to do web development rather than asking about an issue you're wanting solved.

For web development the tools I use are:
* firefox browser with the Firebug extension to locate CSS on a page

You can adjust it to get it how you like it, then once satisfied, copy those changes into a .css file and upload it.
  253