Forum Activity for @michael

michael
@michael
03/10/17 02:50:36PM
7,832 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,832 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,832 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,832 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,832 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.
michael
@michael
03/10/17 12:12:27PM
7,832 posts

Custom Index Page


Jamroom Developers

Not really understanding the reason you want to do it, but you can use {jrCore_location('http://somewhere.com')}
{if $somthing}
{jrCore_location('http://somewhere.com')}
{/if}
in a template.

--edit--
OR, you might be able to use a listener to pick up on the url and put your page there via a custom module INSTEAD of the index.tpl if thats whats desired.

There are a ton of events to listen for, so pick one or a couple that work and that could be a way to do it too if you wanted it on the same url as the index. site.com/
updated by @michael: 03/10/17 12:17:05PM
michael
@michael
03/10/17 12:09:35PM
7,832 posts

Treating content after a certain number of page views


Using Jamroom

are the og:tags setup on your site? if they are post the link to the site under the screenshot, get the full link card to the page there inviting them.

Why would I signup to your site? What benefit do I get that I wouldn't get if I wasn't signed up?

Need to figure out a reason people would want to signup.
* "Signup to get the latest updates"
* "Signup to help us build this site"
....?
michael
@michael
03/09/17 02:27:31PM
7,832 posts

Adding sharethis to pages.


Design and Skin Customization

That process is described in detail on the docs page:

Docs: "ShareThis"
https://www.jamroom.net/the-jamroom-network/documentation/modules/2598/sharethis

If there are questions beyond this that you would like added to the docs, let me know and we can get them added.
michael
@michael
03/09/17 12:13:33PM
7,832 posts

Adding another folder in skin directory


Design and Skin Customization

Thats not going to work. If im understanding correctly you have
/skins/jrAudioPro/

and your adding extra .tpl files to
/skins/jrAudioPro/custom/fileone.tpl
/skins/jrAudioPro/custom/filetwo.tpl
/skins/jrAudioPro/custom/filethree.tpl

and you're wanting them to show up at:
yoursite.com/fileone
yoursite.com/filetwo
yoursite.com/filethree

... wont work.

Before making changes to a skin, you should be cloining it to xxAudioPro or other name
/skins/xxAudioPro

so your changes dont get lost when updates come in.

I can understand the concept, wanting to just add in over-rides for the skin. We talked about a similar idea a while back where a skin could be a sub-skin of an existing skin.

eg:
/skins/jrAudioPro/(all the files)

then have a sub-skin of that
/skins/xxAudioProSubSkin/index.tpl

Where if the sub skin had a .tpl that matched the one in the master, and the sub skin was active, then the subskins version would be used.

The idea has been put in the backburner as it seams like a developer feature that would be used very rarely.

You may be able to use a folder in an include.
NORMAL:
{jrCore_include template="header.tpl"}
TRY:
{jrCore_include template="custom/header.tpl"}
michael
@michael
03/09/17 12:01:24PM
7,832 posts

Adding sharethis to pages.


Design and Skin Customization

You're expecting that someone visiting your site is going to be impressed by the title of a video and share it before they have viewed it? Sound very hopeful. Have you ever shared a video before you have watched it? I haven't.

The audio and video list pages are found at:
ACP -> MODULES -> PROFILE -> AUDIO -> TEMPLATES -> item_list.tpl -> MODIFY
ACP -> MODULES -> PROFILE -> VIDEO -> TEMPLATES -> item_list.tpl -> MODIFY

You can put the share code in there. Remember to reset the cache.
ACP -> MODULES -> CORE -> SYSTEM CORE -> TOOLS -> RESET CACHE
  253