Forum Activity for @michael

michael
@michael
06/24/15 08:54:00PM
7,832 posts

Comments Module Settings


Design and Skin Customization

nah, it will be a setting. something like "comments are for the whole site" vs "comments are for this page only." You're wanting comments are for this page only.
michael
@michael
06/24/15 08:45:38PM
7,832 posts

Does anyone have the code to do a grid layout of videos-images-etc?


Design and Skin Customization

Your missing the Capture if you want to put both parts in the same .tpl file.

Eg: if you put this in a file called 'junk.tpl', then go to your-site.com/junk It will show as a grid:
{jrCore_include template="header.tpl"}

{capture name="template" assign="tpl"}
{literal}
    <div class="container">
        {foreach $_items as $item}
        {if $item@first || ($item@iteration % 3) == 1}
        <div class="row">
            {/if}
            <div class="col4">
                <div class="img-profile">
                    {if $item.seamless_module_name == "jrYouTube"}
                    <a href="{$jamroom_url}/{$item.profile_url}/youtube/{$item._item_id}/{$item.video_title_url}">
                        <img src="{$item.youtube_artwork_url}" class="rank_image" width=240 height=180/></a>
                    {elseif $item.seamless_module_name == "jrVimeo"}
                    <a href="{$jamroom_url}/{$item.profile_url}/vimeo/{$item._item_id}/{$item.video_title_url}">
                        <img src="{$item.vimeo_artwork_url}" class="rank_image" width=240 height=180/></a>
                    <a href="{$jamroom_url}/{$item.profile_url}/video/{$item._item_id}/{$item.video_title_url}">{jrCore_module_function function="jrImage_display" module="jrVideo" type="video_image" _id=$item._item_id size="large" crop="auto" alt=$item.video_title title=
                        $item.video_title class="top_rank" width=240 height=180}</a>
                    {/if}
                </div>
                <div class="center mb10">
                    {if $item.seamless_module_name == "jrYouTube"}
                    <a href="{$jamroom_url}/{$item.profile_url}/youtube/{$item._item_id}/{$item.youtube_title}">{$item.youtube_title|truncate:24}</a>
                    <a href="{$jamroom_url}/{$item.profile_url}/{$_params.module_url}/{$item._item_id}/{$item.vimeo_title}">{$item.vimeo_title|truncate:24}</a>
                    {elseif $item.seamless_module_name == "jrVimeo"}
                    <a href="{$jamroom_url}/{$item.profile_url}/vimeo/{$item._item_id}/{$item.vimeo_title}">{$item.vimeo_title|truncate:24} {elseif $item.seamless_module_name == "jrVideo"}
                        <a href="{$jamroom_url}/{$item.profile_url}/video/{$item._item_id}/{$item.video_title_url}">{$item.video_title|truncate:24}</a>
                        {/if}
                        <br>
                        {if $item.seamless_module_name == "jrYouTube"}
                        {jrCore_module_function function="jrRating_form" type="star" module="jrYouTube" index="1" item_id=$item._item_id current=$item.youtube_rating_1_average_count|default:0 votes=$item.youtube_rating_1_count|default:0}
                        {elseif $item.seamless_module_name == "jrVimeo"}
                        {jrCore_module_function function="jrRating_form" type="star" module="jrVimeo" index="1" item_id=$item._item_id current=$item.vimeo_rating_1_average_count|default:0 votes=$item.vimeo_rating_1_count|default:0}
                        {elseif $item.seamless_module_name == "jrVideo"}
                        {jrCore_module_function function="jrRating_form" type="star" module="jrVideo" index="1" item_id=$item._item_id current=$item.video_rating_1_average_count|default:0 votes=$item.video_rating_1_count|default:0}
                        {/if}
                </div>
            </div>
            {if $item@last || ($item@iteration % 3) == 0}
        </div>
        {/if}
        {/foreach}
    </div>
{/literal}
{/capture}

{jrSeamless_list modules="jrVideo,jrVimeo,jrYouTube" order_by="_created numerical_desc"  pagebreak=28 page=$_post.p pager=true template=$tpl}

{jrCore_include template="footer.tpl"}
michael
@michael
06/24/15 07:57:20PM
7,832 posts

Does anyone have the code to do a grid layout of videos-images-etc?


Design and Skin Customization

derrickhand300:
Thank you both
is there some sort of cSS required with this to make it layout in a grid?

Try it first, see what it looks like, if it doesn't look right, ask the question again. It should work with any of the jamroom skins without additional CSS.
michael
@michael
06/24/15 07:55:04PM
7,832 posts

Comments Module Settings


Design and Skin Customization

derrickhand300:...tried the facebook comments plug in but for some reason with jamroom it puts all the site wide comments into 1...for example if you comment on Video A and i comment on a completely different video- both comments are shown under video A and the completely different video...
Have to find a soution to having comments without members...

There will be a setting for that in. Need to find a way to make sure facebook is taking into account the URL. Need to search their docs to figure out what that setting is.
michael
@michael
06/24/15 07:52:01PM
7,832 posts

Unable to log in.


Installation and Configuration

just leave:
/data/cache/index.html

Everything else can go.

Don't really need to leave index.html, its just a protection against someone being able to see whats in that folder. and then only for some servers.

If you remove index.html then go to:
your-site.com/data/cache/

and you see a list of files, then adding index.html will reslut in not seeing that list of files. Thats all.

See here to see nothing:
http://www.jamroom.net/data/cache/
michael
@michael
06/24/15 01:11:58AM
7,832 posts

(bug report) getting passwordreset emails in my proivate notes inbox


Design and Skin Customization

Whats the text in the message? could you copy+paste so I can search for where it might be.

Thanks.
michael
@michael
06/24/15 12:26:10AM
7,832 posts

Profile Layouts


Design and Skin Customization

Looking fantastic. Hard work paying off :)
michael
@michael
06/23/15 11:54:49PM
7,832 posts

Synchronising user name and profile name


Ning To Jamroom

Fantastic! Really great to hear somebody is making headway into module creation. Well done. :)
michael
@michael
06/23/15 11:47:46PM
7,832 posts

Does anyone have the code to do a grid layout of videos-images-etc?


Design and Skin Customization

And the code to call that template is:
{jrSeamless_list modules="jrAudio,jrSoundCloud" order_by="_created numerical_desc" pagebreak=60 page=$_post.p pager=true template="combined_audio_list.tpl"}
michael
@michael
06/23/15 11:45:11PM
7,832 posts

Does anyone have the code to do a grid layout of videos-images-etc?


Design and Skin Customization

This is the basic code for a 3 column layout like that one made off of a item list loop:

    <div class="container">
    {foreach $_items as $item}

        {if $item@first || ($item@iteration % 3) == 1}
            <div class="row">
        {/if}
        <div class="col4">
            WHAT EVER YOU WANT IN HERE
        </div>
        {if $item@last || ($item@iteration % 3) == 0}
            </div>
        {/if}

    {/foreach}
    </div>

The resulting set you will get when it is output will look like this
<div class="container">
    <div class="row">
        <div class="col4">
            WHAT EVER YOU WANT IN HERE
        </div>
        <div class="col4">
            WHAT EVER YOU WANT IN HERE
        </div>
        <div class="col4">
            WHAT EVER YOU WANT IN HERE
        </div>
    </div>
    <div class="row">
        <div class="col4">
            WHAT EVER YOU WANT IN HERE
        </div>
        <div class="col4">
            WHAT EVER YOU WANT IN HERE
        </div>
        <div class="col4">
            WHAT EVER YOU WANT IN HERE
        </div>
    </div>    
</div>

If you want the full .tpl file that strumelia is using, its attached in the .zip file. (without the design and colors, just the structure code.) I'll try to get this structure worked into Site Builder soon.
combined_audio_list.tpl.zip - 1KB

updated by @michael: 06/23/15 11:45:43PM
  521