Forum Activity for @michael

michael
@michael
10/18/14 02:34:13AM
7,839 posts

Forum Redirect option


Suggestions

Nice one Gary. :)

One of the concepts aimed for in JR5 was "make it as minimal as possible but with ways to extend it."

Because if we put something in then its sometimes hard to turn off for those that don't want it.

Glad to hear your sorted.
michael
@michael
10/18/14 02:09:41AM
7,839 posts

Forum Redirect option


Suggestions

To do it for your system right now, the template you want is:
/modules/jrForum/templates/item_categories.tpl

You can over-ride that by copying it to
/skin/YOUR-SKIN/jrForum_item_categories.tpl

Then locate this section:
    {if is_array($_items)}
    <div class="block_content">
        <div class="item">
        {foreach from=$_items item="cat"}
            <div class="p5 mb5">
                <div>
                    <a href="{$jamroom_url}/{$profile_url}/{$murl}/{$cat.cat_title_url}">
                    {if $cat.cat_new_topic_posts == '1' && $cat.cat_topic_count > 0}
                        <div class="forum_post_count forum_post_count_new{$pinned_class}">
                    {else}
                        <div class="forum_post_count{$pinned_class}">
                    {/if}
                    {$cat.cat_topic_count|number_format} {jrCore_lang module="jrForum" id="60" default="topics"} {if $cat.cat_update_user._user_id > 0}<span style="display:inline-block;margin-left:6px" title="{jrCore_lang module="jrForum" id="34" default="update by"} {$cat.cat_update_user.user_name}, {$cat.cat_updated|jrCore_format_time:false:"relative"}">{jrCore_module_function function="jrImage_display" module="jrUser" type="user_image" item_id=$cat.cat_update_user._user_id size="small" crop="auto" width="32" alt=$cat.cat_update_user.user_name}</span>{/if}
                    </div></a>

                    <h2><a href="{$jamroom_url}/{$profile_url}/{$murl}/{$cat.cat_title_url}">{$cat.cat_title}</a></h2>
                    <br><span class="normal">
                    {if strlen($cat.cat_desc) > 0}
                        &raquo; {$cat.cat_desc}
                    {else}
                        &nbsp;
                    {/if}
                    </span>
                </div>
            </div>
        {/foreach}
        </div>

    </div>
    {/if}

That is the foreach loop that displays the categories.

You can add your link in at the bottom of that.
eg:

    {if is_array($_items)}
    <div class="block_content">
        <div class="item">
        {foreach from=$_items item="cat"}
            <div class="p5 mb5">
                <div>
                    <a href="{$jamroom_url}/{$profile_url}/{$murl}/{$cat.cat_title_url}">
                    {if $cat.cat_new_topic_posts == '1' && $cat.cat_topic_count > 0}
                        <div class="forum_post_count forum_post_count_new{$pinned_class}">
                    {else}
                        <div class="forum_post_count{$pinned_class}">
                    {/if}
                    {$cat.cat_topic_count|number_format} {jrCore_lang module="jrForum" id="60" default="topics"} {if $cat.cat_update_user._user_id > 0}<span style="display:inline-block;margin-left:6px" title="{jrCore_lang module="jrForum" id="34" default="update by"} {$cat.cat_update_user.user_name}, {$cat.cat_updated|jrCore_format_time:false:"relative"}">{jrCore_module_function function="jrImage_display" module="jrUser" type="user_image" item_id=$cat.cat_update_user._user_id size="small" crop="auto" width="32" alt=$cat.cat_update_user.user_name}</span>{/if}
                    </div></a>

                    <h2><a href="{$jamroom_url}/{$profile_url}/{$murl}/{$cat.cat_title_url}">{$cat.cat_title}</a></h2>
                    <br><span class="normal">
                    {if strlen($cat.cat_desc) > 0}
                        &raquo; {$cat.cat_desc}
                    {else}
                        &nbsp;
                    {/if}
                    </span>
                </div>
            </div>
        {/foreach}
            <div class="p5 mb5">
                <div>
                    <h2><a href="{$jamroom_url}/link/to/wherever/">Report a Problem</a></h2>
                </div>
            </div>
        </div>

    </div>
    {/if}

Or you could adjust the same file in the template editor if you wanted to do it that way too.

ACP -> FORUM MODULE -> TEMPLATES -> item_categories.tpl
michael
@michael
10/18/14 02:02:47AM
7,839 posts

Forum Redirect option


Suggestions

Ah, I see what your saying. The forums have:

* General Discussion
* Specific Topic 1
* Specific Topic 2
* Backstage
* Report a Problem

Where "Report a Problem" redirects to the tracker system. Gotcha. Thanks.
michael
@michael
10/18/14 01:45:01AM
7,839 posts

Forum Redirect option


Suggestions

I haven't used those systems, could you explain how its useful.

You could probably do it right now via a module to intercept the url.
michael
@michael
10/18/14 12:29:07AM
7,839 posts

Forum Redirect option


Suggestions

go ahead and explain that just a little more please.

What I'm guessing at is: "it looks like a forum category on the top level, but goes somewhere completely different."

Which seams weird.
michael
@michael
10/17/14 11:47:01PM
7,839 posts

Embedding Youtube video


Design and Skin Customization

nduguseliphaz:..mine shows audio and upload image. no youtube embed option...
That means you don't have the youtube module. or its not enabled for the quota that use is in.

You can get that module from here:
"YouTube Support"
https://www.jamroom.net/the-jamroom-network/networkmarket/25/youtube-support

Or from the marketplace in your ACP of your site.

The docs for it are here:

"YouTube Support"
https://www.jamroom.net/the-jamroom-network/documentation/modules/295/youtube-support

If you still want to do it via iframe, check out this thread:
https://www.jamroom.net/the-jamroom-network/forum/design-and-skin-customization/10902/adding-an-iframe-to-template
michael
@michael
10/17/14 07:17:39PM
7,839 posts

Embedding Youtube video


Design and Skin Customization

Make sure you are embeding the youtube video by using the jrEmbed module.

Watch this: "Jamroom 5: jrEmbed module overview"
Jamroom 5: jrEmbed module overview

If you are just pasting in the code that is under the "Embed" section of YouTube then you will have to do it a different way. The jrEmbed module is the easiest way.

The second easiest way is the "Media URL Scanner"
https://www.jamroom.net/the-jamroom-network/networkmarket/131/media-url-scanner

It will convert youtube links to play in the page when they are clicked.

If you MUST use the code that youtube provides, then you will need to add in this module:

"IFrame Control"
https://www.jamroom.net/the-jamroom-network/networkmarket/116/iframe-control

To control the youtube iframe.
michael
@michael
10/17/14 07:07:55PM
7,839 posts

JR Video Player on index.tpl or any other skin template


Jamroom Developers

Warm fuzzy feeling. :) What an awesome thing to say. That should be posted on the front page.

Nice one.
michael
@michael
10/17/14 07:01:39PM
7,839 posts

Issue Tracker and Site search


Suggestions

It worked then. Superb.
michael
@michael
10/17/14 07:00:34PM
7,839 posts

Insecure content


Off Topic

yup, locked for both versions for me. IE doesn't work on linux, I'm happy for that. :)

Glad you got it sorted.
  648