Forum Activity for @johnchansa

johnchansa
@johnchansa
12/27/14 08:53:09AM
195 posts

Seamless Module Update


Using Jamroom

Thanks for the advice.
I guess I'll have to change the skin.The idea to have an artists songs displayed in the spotlight header came from the MediaPro skin.Since my artists upload both soundcloud and audio,the only way I could combine both was to use the jrSeamless_list in that manner.However,it's a bad idea.

The update solves the initial problem i had concerning the order-by"*_stream_count" and "*_file_stream_count".Both soundcloud and audio listings now show.That closes the issue.

I have been a huge fan of the seamless module cause it help me recreate a few JR4 Nova Skin features.Too bad combined soundcloud and audio charts is not possible.I'll focus on changing to the newer version of the Nova Skin
johnchansa
@johnchansa
12/25/14 07:48:59PM
195 posts

Seamless Module Update


Using Jamroom

1.The artist spotlight code works well with the previous version.
I was wondering why I have to make specific modifications to the code after a module update(modules are updated every other day)..that's why I'm showing you how things were..
.
2.I added pager="true" to the code and I now get two page bars(before and after updating the module)
johnchansa
@johnchansa
12/25/14 07:21:54PM
195 posts

Seamless Module Update


Using Jamroom

Thanks for the update.
1.I'll revert to the previous version.You can see how things were originally.
http://www.zmusicportal.com/songs
2.I added pager="true" to the code and I now get two page bars.
This could be due to code written in the row template
{if $info.total_pages > 1}
    <div class="block">
        <table style="width:100%;">
            <tr>

                <td style="width:25%;">
                    {if isset($info.prev_page) && $info.prev_page > 0}
                        <input type="button" value="{jrCore_lang module="jrCore" id=26 default="<"}" class="form_button" onclick="window.location='{$info.page_base_url}/p={$info.prev_page}'">
                    {/if}
                </td>

                <td style="width:50%;text-align:center;">
                    {if $info.total_pages <= 5}
                        {$info.page}  / {$info.total_pages}
                        {else}
                        <form name="form" method="post" action="_self">
                            <select name="pagenum" class="form_select" style="width:60px;" onchange="var sel=this.form.pagenum.options[this.form.pagenum.selectedIndex].value;window.location='{$info.page_base_url}/p=' +sel">
                                {for $pages=1 to $info.total_pages}
                                    {if $info.page == $pages}
                                        <option value="{$info.this_page}" selected="selected"> {$info.this_page}</option>
                                        {else}
                                        <option value="{$pages}"> {$pages}</option>
                                    {/if}
                                {/for}
                            </select> / {$info.total_pages}
                        </form>
                    {/if}
                </td>

                <td style="width:25%;text-align:right;">
                    {if isset($info.next_page) && $info.next_page > 1}
                        <input type="button" value="{jrCore_lang module="jrCore" id=27 default=">"}" class="form_button" onclick="window.location='{$info.page_base_url}/p={$info.next_page}'">
                    {/if}
                </td>

            </tr>
        </table>
    </div>
    {/if}

updated by @johnchansa: 12/25/14 07:24:46PM
johnchansa
@johnchansa
12/25/14 06:17:40PM
195 posts

Seamless Module Update


Using Jamroom

1.Code for the artist spotlight
 {jrSeamless_list modules="jrAudio,jrSoundCloud"  order_by="_created desc" profile_id=$row._profile_id template="spotlight_row.tpl" limit="2"}

2.For the songs page
 {jrSeamless_list modules="jrAudio,jrSoundCloud"  order_by=$order_by template="songs_row.tpl"  pagebreak=$_conf.ZMusic_default_pagebreak page=$_post.p}
3.Row or listing templates
{if isset($_items)}

    {foreach from=$_items item="item"}
        {if $item.seamless_module_name == 'jrAudio'}
        {jrCore_module_url module="jrAudio" assign="murl"}........
        .......

       {elseif $item.seamless_module_name == 'jrSoundCloud'}
        {jrCore_module_url module="jrSoundCloud" assign="murl"}.....
       ........
        {/if}
johnchansa
@johnchansa
12/25/14 06:01:24PM
195 posts

Seamless Module Update


Using Jamroom

I just updated the seamless module.Below is the link to the page:

http://www.zmusicportal.com/songs

1.The artist spotlight shows the same two tracks for each artist.
2.Page bar at the bottom disappears.

The stated issues all go away when I revert to the previous version
johnchansa
@johnchansa
12/25/14 04:28:43PM
195 posts

Seamless Module Update


Using Jamroom

I gave the update a try and unfortunately, it caused some problems.I had to revert to the previous version.

1.The page bar at the bottom completely disappeared.I could not click to the next page on the following pages:- "Songs by name","Newest Songs","Songs by Ratings" and "Songs by Plays".

2.Other site features using the seamless function also got screwed up such as my modified artist spotlight header.

These were my observations.
johnchansa
@johnchansa
12/24/14 03:42:07PM
195 posts

Seamless Module Update


Using Jamroom

Thanks for the info.
I will wait for the final update.

Thanks
Merry Xmas to the Jamroom crew.......
johnchansa
@johnchansa
12/10/14 05:25:27PM
195 posts

Seamless Module Update


Using Jamroom

I'm still waiting for an update for the seamless module.
My seamless listings ar not working right(Soundcloud and audio by plays).Some problems with order-by stream_count and file_stream_count......

updated by @johnchansa: 01/28/15 04:51:18AM
johnchansa
@johnchansa
12/10/14 05:18:01PM
195 posts

Charts working perfectly


Using Jamroom

The latest update for the Advanced Charts Module has done wonders to the charts on my site.The movement is now quite noticeable and the ordering is right.
Great job.......
updated by @johnchansa: 01/10/15 08:04:08PM
johnchansa
@johnchansa
11/01/14 12:45:14PM
195 posts

Seamless updates


Design and Skin Customization

Have their been any new updates on the seamless?I have problems with my customized templates and the results their showing.
Below is the last comment by Paul on this issue.
"Now that's interesting. Have just looked at the sound cloud module code and there's a listener in there to change "soundcloud_file_stream_count" to "soundcloud_stream_count" on module verify functions. Its the same with the youtube and vimeo modules as well.
Not sure when that was introduced but can see why its been done as these modules are not 'file' based.
I think it would be best if I changed the jrSeamless module to handle wildcards better. I'll put it on my todo list and hopefully get it sorted in the next couple of days.
Thanks"
updated by @johnchansa: 12/06/14 03:45:38PM
  8