Forum Activity for @douglas

douglas
@douglas
09/09/16 09:40:21AM
2,812 posts

Advise on Creating a Custom Page


Using Jamroom

Create a jrAudio_index.tpl and add this code:

{jrCore_module_url module="jrAudio" assign="murl"}
{jrCore_include template="header.tpl"}

<div class="block">

    <div class="title">
        {jrSearch_module_form fields="audio_title,audio_album,audio_genre"}
        <h1>{jrCore_lang module="jrAudio" id=41 default="Audio"}</h1>
    </div>

    <div class="block_content">
        {if isset($_post.option) && strlen($_post.option) > 0}
            {jrCore_list module="jrAudio" order_by="_item_id numerical_desc" search1="audio_category = `$_post.option`" pagebreak=10 page=$_post.p pager=true}
        {else}
            {jrCore_list module="jrAudio" order_by="_item_id numerical_desc" pagebreak=10 page=$_post.p pager=true}
        {/if}
    </div>

</div>

{jrCore_include template="footer.tpl"}

upload it to your active skin directory and then create the URL's that Paul posted and that should work.

Here is the jrVideo_index.tpl code:

{jrCore_module_url module="jrVideo" assign="murl"}
{jrCore_include template="header.tpl"}

<div class="block">

    <div class="title">
        {jrSearch_module_form fields="video_title,video_description"}
        <h1>{jrCore_lang module="jrVideo" id=39 default="Videos"}</h1>
    </div>

    <div class="block_content">
        {if isset($_post.option) && strlen($_post.option) > 0}
            {jrCore_list module="jrVideo" order_by="_created numerical_desc" search1="video_category = `$_post.option`" pagebreak=10 page=$_post.p pager=true}
        {else}
            {jrCore_list module="jrVideo" order_by="_created numerical_desc" pagebreak=10 page=$_post.p pager=true}
        {/if}
    </div>

</div>
{jrCore_include template="footer.tpl"}

Hope this helps!
douglas
@douglas
09/09/16 06:38:37AM
2,812 posts

Editing Activity Timeline


Design and Skin Customization

Your welcome, I think it would be better if it were written like this instead:

{if jrUser_is_admin()}
{if isset($_items)}
{foreach $_items as $item}
  <a href="{$jamroom_url}/timeline/delete/id={$item._item_id}">X</a>
{/foreach}
{/if}
{/if}

that way the loop isn't trying to run for everyone, just the admin user.
douglas
@douglas
09/09/16 06:34:56AM
2,812 posts

Cloned language and ISkin 4


Design and Skin Customization

sekeri:
So should I clone the the language again when I switch to a new skin or copy the file from the previous skin? I am asking because I dont want module files to be deleted/overwritten with the new cloning.

You'll want to clone the language file from the new skin.

Hope this helps!
douglas
@douglas
09/09/16 06:33:35AM
2,812 posts

Editing Activity Timeline


Design and Skin Customization

derrickhand300:
Do you happen top see the syntax error in the above?

Other than the missing closing foreach tag?

{foreach $_items as $item}
{if jrUser_is_admin()}
  <a href="{$jamroom_url}/timeline/delete/id={$item._item_id}">X</a>
{/if}
{/foreach}

Hope this helps!
douglas
@douglas
09/07/16 05:30:43AM
2,812 posts

getting an error with Mastro 4 skin with Annika live wall Audio buttons


Design and Skin Customization

nate:
First what the hell is that image? What page is it?

Looks like the profile timeline.

EDIT:
Correction, that looks like Paul's Annika module.
updated by @douglas: 09/07/16 05:36:08AM
douglas
@douglas
09/05/16 06:21:37AM
2,812 posts

Advise on Creating a Custom Page


Using Jamroom

You'll want to use something other than audio and video as those URL's are assigned to the modules as the default URL.

Have you tried www.site/music/categoryname_1 and www.site/music_video/categoryname_1 instead?

The above would require you to create a music.tpl and music_video.tp but this would keep it from conflicting with the audio and video default URL's.

Hope this helps!
douglas
@douglas
09/01/16 01:40:19PM
2,812 posts

From Ning to Jamroom: an account in Jamroom... and now...?


Ning To Jamroom

STR:
The question I have is please, Ning has a chat room, Jamroom also provide this?
Thank you very much.

We've been testing a chat module that Brian has created for the last month or two and it should be going into beta soon, so the answer is yes, but not at this time.

Hope this helps!
douglas
@douglas
08/25/16 07:35:40AM
2,812 posts

Comments Section cropped and Time line section too big - Beat Slinger


Design and Skin Customization

This has been fixed for the next release.

Hope this helps!
douglas
@douglas
08/24/16 10:36:08AM
2,812 posts

Beta Launch Module


Installation and Configuration

Keith Mauck:
How do you change the text color for this?

The CSS for the launch module is hard coded in your modules/jrLaunch/templates/index.tpl file.

Hope this helps!
  90