Forum Activity for @dazed

Dazed
@dazed
01/18/17 06:45:54PM
1,022 posts

Page Next Issue


Design and Skin Customization

That added the next page button instead which helped but I lost all formatting on p2. Updated on the site if u want to see it. This now also shows that there are additional pages.
updated by @dazed: 01/18/17 06:46:17PM
Dazed
@dazed
01/18/17 06:38:06PM
1,022 posts

Page Next Issue


Design and Skin Customization

agreed but I have like 25k + comments. If I change it to 25 for the pagebreak it would display 25 on the page.
Dazed
@dazed
01/18/17 06:28:38PM
1,022 posts

Page Next Issue


Design and Skin Customization

I have a page with a menu for site news, site comments, premium blogs located here - https://www.mixposure.com/community that loads when clicked.

My issue is that the site comments page next is not working. It is not even displayed so the first {if $info.total_pages > 1} kills it immediately. The other two work as expected however they are blogs and this is a comment page. I removed the conditional statement so that I at least get the page back/forward displayed.

Any ideas?

{* ROW TEMPLATE *}
{capture name="row_template" assign="site_comments_template"}
{literal}
{if isset($_items)}
    {foreach from=$_items item="item"}
    
            <div class="block">
                <div style="display:table">
                    <div style="display:table-row;">
                        <div style="display:table-cell;width:1%;text-align:center;vertical-align:top;">
                            <a href="{$jamroom_url}/{$item.profile_url}">{jrCore_module_function function="jrImage_display" module="jrUser" type="user_image" item_id=$item._user_id size="small" crop="auto" alt=$item.user_name class="action_item_user_img iloutline"}</a>
                        </div>
                        
              <div style="display:table-cell;text-align:left;vertical-align:top;padding-left:5px;">
              <div  class="normal">            
                        
		<div style="padding:10px;">
        <div class="br-info" style="margin-bottom:20px;">
            <div class="blog-div">
                <span class="blog-user capital"> Re: <a href="{$item.comment_url}"> {$item.comment_item_title}</a></span>
            </div>
            <div class="blog-div">
                <span class="blog-replies"> By: {$item.user_name} <a href="{$jamroom_url}/{$item.profile_url}">@{$item.profile_name}</a></span>
            </div>
<br><br>
        {$item.comment_text|jrCore_format_string:$item.profile_quota_id}
			
		<br><br>
        </div></div></div></div></div></div></div>
    
    {/foreach}

 
                     {if $info.total_pages > 1}
                    <div class="block">
                        <table style="width:100%;">
                            <tr>

                                <td class="body_5 page" style="width:25%;text-align:center;">
                                    {if isset($info.prev_page) && $info.prev_page > 0}
                                    <a onclick="jrLoad('#site_comments_div','{$jamroom_url}/site_comments/p={$info.prev_page}');"><span class="button-arrow-previous"> </span></a>
                                    {else}
                                    <span class="button-arrow-previous-off"> </span>
                                    {/if}
                                </td>

                                <td class="body_5" style="width:50%;text-align:center;">
                                    {if $info.total_pages <= 5 || $info.total_pages > 500}
                                    {$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;jrLoad('#site_comments_div','{$jamroom_url}/site_comments/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 class="body_5 page" style="width:25%;text-align:center;">
                                    {if isset($info.next_page) && $info.next_page > 1}
                                    <a onclick="jrLoad('#site_comments_div','{$jamroom_url}/site_comments/p={$info.next_page}');"><span class="button-arrow-next"> </span></a>
                                    {else}
                                    <span class="button-arrow-next-off"> </span>
                                    {/if}
                                </td>

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

{* COMMENT LIST FUNCTION *}
{jrCore_list module="jrComment" order_by="_item_id NUMERICAL_DESC" template=$site_comments_template pagebreak="10"  page=$_post.p}




updated by @dazed: 04/24/17 02:18:05PM
Dazed
@dazed
01/18/17 05:11:06PM
1,022 posts

A bit odd


Using Jamroom

Let me know if you want login info.
Dazed
@dazed
01/18/17 05:42:49AM
1,022 posts

A bit odd


Using Jamroom

Quick question on this one. I had an artist who signed up and uploaded several tracks due to this. Once I fixed the error in the quota, it used to be that only the Max Number of Items from the quota would display on the profile page except to the admin. Right now logged out I see greater than the default number of allowed songs for the quota. So if the quota says 5, if the user had 30 songs uploaded, only 5 would display however I see 30 logged out.

My concern here is also people who signup for subscriptions and then revert back to a basic account. We should only display what is allowed in the quota.

I am using the below to overwrite the module audio. I did not see anything here that stood out as an issue. Am I missing something?


jrAudio_item_index.tpl

{jrCore_module_url module="jrAudio" assign="murl"}
{if isset($_items)}

    {foreach from=$_items item="item"}

    <div class="item">
        <div class="container">
            <div class="row">

                <div class="col2">
                    <div class="block_image" style="position:relative">
                        <a href="{$jamroom_url}/{$item.profile_url}/{$murl}/{$item._item_id}/{$item.audio_title_url}">{jrCore_module_function function="jrImage_display" module="jrAudio" type="audio_image" item_id=$item._item_id size="xlarge" crop="auto" class="iloutline img_scale" alt=$item.audio_title width=false height=false}</a>
                        <div style="position:absolute;bottom:8px;right:5px">
                            {if $item.audio_active == 'on' && $item.audio_file_extension == 'mp3'}
                                {jrCore_media_player type="jrAudio_button" module="jrAudio" field="audio_file" item=$item}
                            {else}
                                 
                            {/if}
                        </div>
                    </div>
                </div>

                <div class="col7">
                    <div class="p5" style="overflow-wrap:break-word">
                        <h2><a href="{$jamroom_url}/{$item.profile_url}/{$murl}/{$item._item_id}/{$item.audio_title_url}">{$item.audio_title}</a></h2><br>
                        <span class="info">{jrCore_lang module="jrAudio" id="31" default="album"}:</span> <span class="info_c"><a href="{$jamroom_url}/{$item.profile_url}/{$murl}/albums/{$item.audio_album_url}">{$item.audio_album}</a></span><br>
                        <span class="info">{jrCore_lang module="jrAudio" id="12" default="genre"}:</span> <span class="info_c">{$item.audio_genre}</span><br>
                        {jrCore_module_function function="jrRating_form" type="star" module="jrAudio" index="1" item_id=$item._item_id current=$item.audio_rating_1_average_count|default:0 votes=$item.audio_rating_1_count|default:0}
                    </div>
                </div>

                <div class="col3 last">
                    <div class="block_config">
					{if $item.audio_dj_download == 'on' && (jrUser_is_admin() || (jrUser_is_logged_in() && $_user.profile_quota_id == $_conf.paDJDownload_dj_quota))}
		<div class="add_to_cart_section" title="DJ Download"><span class="add_to_cart_price">Mix DJ</span><a href="{$_conf['jrCore_base_url']}/audio/djdownload/audio_file/{$item._item_id}">{jrCore_icon icon="download" }</a></div>
		{/if}
			    <a href="{$jamroom_url}/{$item.profile_url}/{$murl}/{$item._item_id}/{$item.audio_title_url}" title="Review Song">{jrCore_icon icon="pen"}</a>
                            {if isset($item.audio_file_item_price) && $item.audio_file_item_price > 0}
                                {jrCore_module_function function="jrFoxyCart_add_to_cart" module="jrAudio" field="audio_file" item=$item}
                            {elseif $_conf.jrAudio_block_download != 'on' &&  $item.audio_downloadable == 'on'|| $item.audio_file_item_price == '0'}
                                <div class="add_to_cart_section" title="Free Download"><span class="add_to_cart_price">Free</span><a href="{$jamroom_url}/{$murl}/download/audio_file/{$item._item_id}">{jrCore_icon icon="download"}</a></div>
                            {/if}
							{jrCore_item_update_button module="jrAudio" profile_id=$item._profile_id item_id=$item._item_id}
                            {jrCore_module_function function="jrPlaylist_button" playlist_for="jrAudio" item_id=$item._item_id}

								 {jrCore_item_delete_button module="jrAudio" profile_id=$item._profile_id item_id=$item._item_id}
                        
					
					</div>
                </div>

            </div>
        </div>
    </div>

    {/foreach}

{/if}

updated by @dazed: 01/18/17 05:43:38AM
Dazed
@dazed
01/17/17 08:23:18PM
1,022 posts

A bit odd


Using Jamroom

Hey MIchael. Everything in there was the same from JR5. I have not made any updates since then. Everything seems ok though but I wanted to bring it up. I ran some additional tests like changing the song quantity and various fields and saving/resetting cache but no errors thrown.
Dazed
@dazed
01/17/17 07:03:24PM
1,022 posts

A bit odd


Using Jamroom

I noticed tonight that all of my audio quota song limits had been reset to a default of "0". I am not sure what would have caused that? I changed them back to the correct settings but around that same time in my activity log I had a bunch of these:

[Admin] jrCore_create_page_element: required element type not received - verify usage

Just wanted to give you guys a heads up.
updated by @dazed: 05/05/17 07:42:41AM
Dazed
@dazed
01/17/17 06:58:00PM
1,022 posts

Audio Pro Mobile


Using Jamroom

Just a heads up that this was overwritten in the last update. Will this be an update to the module or should I create a jr file so it does not get overwritten?

Thanks!
Dazed
@dazed
01/16/17 08:51:56PM
1,022 posts

Audio Pro - Couple of Questions


Using Jamroom

Michael I opened a support ticket on it. Rather long winded hehe but that has all the info.

When I disable chat it works. Nate can't repro on demo. Please feel free to look at it.
Dazed
@dazed
01/16/17 06:38:34PM
1,022 posts

Audio Pro - Couple of Questions


Using Jamroom

there is no custom module on the modal. It was all js. Right now it is also using the basic comment box and not tinymce so it is working. That modal is also not on the index page so it should be unrelated.

Search was working fine but some updates were done and then it has been spotty at best. I rolled back and all was well. There was a new update to search a day or so ago and I loaded that up and I am still seeing this issue.
  21