Forum Activity for @dazed

Dazed
@dazed
08/12/14 06:05:50PM
1,022 posts

Best Way To Add Reviews on Chart Pages


Using Jamroom

hey Michael - here is what I had. I ended up removing the artist block and it looks better. If you go to http://www.mixposure.com/music/by_newest/p=1 and click on voices in the distance tune it was putting the first review to the far right for some reason. It looks ok without it I guess unless you have a fix lol.

artist block
		    <div class="block_image p5">
		        {jrCore_module_function function="jrImage_display" module="jrUser" type="user_image" item_id=$item._user_id size="small" alt=$item.user_name class="action_item_user_img iloutline"}
		    </div>
		    
		    <div class="col9">
		    <div class="p5" style="margin-left:24px">
		        <span class="info" style="display:inline-block;">{$item._created|jrCore_date_format} <a href="{$jamroom_url}/{$item.profile_url}">@{$item.profile_url}</a>:</span><br>
		        <span class="normal">{$item.comment_text|jrCore_format_string:$item.profile_quota_id}</span>
		        
		    </div>
		    </div>

                    <a onclick="$('#Modal{$item._item_id}').modal();" title="Song Review"><div class="sprite_icon sprite_icon_18"><div class="sprite_icon_18_img sprite_icon_18_pen">&nbsp;</div></div></a>
		    
		    
		    <div id="Modal{$item._item_id}" class="search_box" style="display:none;">
		    <div style="float:right;">
		    <input type="button" class="simplemodal-close form_button" value="x">
		    </div>
		    <span class="title">Tell The Artist What You Think!</span><br><br>
		    
		    {jrCore_module_url module="jrAudio" assign="murl"}
		    <div class="block">
		    
		    <div class="title">
		    <h1>Comment On: {$item.audio_title}</h1>
		    <div class="breadcrumbs">
		    <a href="{$jamroom_url}/{$item.profile_url}/">{$item.profile_name}</a> &raquo; <a href="{$jamroom_url}/{$item.profile_url}/{$murl}/{$item._item_id}/{$item.audio_title_url}">Comment</a> &raquo; Comment On: <a href="{$jamroom_url}/{$item.profile_url}/{$murl}/{$item._item_id}/{$item.audio_title_url}">{$item.audio_title}</a>
		    
		    </div>
		    </div>
		    
		    
		    <div class="block_image p5">
		        {jrCore_module_function function="jrImage_display" module="jrUser" type="user_image" item_id=$item._user_id size="small" alt=$item.user_name class="action_item_user_img iloutline"}
		    </div>
		    
		    <div class="col9">
		    <div class="p5" style="margin-left:24px">
		        <span class="info" style="display:inline-block;">{$item._created|jrCore_date_format} <a href="{$jamroom_url}/{$item.profile_url}">@{$item.profile_url}</a>:</span><br>
		        <span class="normal">{$item.comment_text|jrCore_format_string:$item.profile_quota_id}</span>
		        
		    </div>
		    </div>
		    
		    
		    <div class="col9">
		    <div class="p5" style="margin-left:24px">
		        {if $_params.profile_owner_id > 0}
		    	{* profile owners can delete comments *}
		    	{jrCore_item_delete_button module="jrComment" profile_id=$_params.profile_owner_id item_id=$item._item_id}
		        {else}
		        {* site admins and comment owners see this button *}
		    	{jrCore_item_delete_button module="jrComment" profile_id=$item._profile_id item_id=$item._item_id}
		        {/if}
		    
		    
		       

		    </div>
		    </div>
	      		{* Are comments enabled for this song? *}
		    	        {jrComment_form module="jrAudio" profile_id=$item._profile_id item_id=$item._item_id}
		    	
		                    {jrDisqus_comments disqus_identifier="jrAudio_`$item._item_id`"}    
		    
		    </div>
		    </div>
Dazed
@dazed
08/12/14 06:02:41PM
1,022 posts

Best Way To Add Reviews on Chart Pages


Using Jamroom

glad you got it working!
Dazed
@dazed
08/12/14 04:55:40AM
1,022 posts

Best Way To Add Reviews on Chart Pages


Using Jamroom

oddness! OK I have it working now other than some odd looking css in areas. I had to use
 {$item._item_id} 
and then it all came together. The css is breaking on the second song review and it pushes that comment out to the right for some reason.

Thanks for your help guys as always!
updated by @dazed: 08/12/14 05:21:22AM
Dazed
@dazed
08/11/14 09:12:31PM
1,022 posts

Best Way To Add Reviews on Chart Pages


Using Jamroom

Tried the below and still the same results. Ideas?

<a onclick="$('#Modal{$item_id}').modal();" title="Embed Audio"><div class="sprite_icon sprite_icon_18"><div class="sprite_icon_18_img sprite_icon_18_link">&nbsp;</div></div></a>


<div id="Modal{$item_id}" class="search_box" style="display:none;">
<div style="float:right;">
<input type="button" class="simplemodal-close form_button" value="x">
</div>
<span class="title">Coming Soon</span><br><br></span>
Dazed
@dazed
08/11/14 07:49:39PM
1,022 posts

Song Quota Bug


Using Jamroom

thanks Michael!
Dazed
@dazed
08/11/14 07:31:01PM
1,022 posts

Song Quota Bug


Using Jamroom

I have to say kudos on this Michael. Very well done.
Dazed
@dazed
08/11/14 07:13:33PM
1,022 posts

Song Quota Bug


Using Jamroom

Yep - You got it - followed your steps and hit "You have created the maximum number of items of this type allowed by your Quota plan" Nicely done!
updated by @dazed: 08/11/14 07:13:47PM
Dazed
@dazed
08/11/14 06:55:53PM
1,022 posts

Best Way To Add Reviews on Chart Pages


Using Jamroom

Hey Michael - That link is in the for loop so it is applied to every new song row. The code is above a few comments. Are you saying it needs to be out of the loop?
Dazed
@dazed
08/11/14 05:12:03PM
1,022 posts

Song Quota Bug


Using Jamroom

Brian I looked at this running multiple scenarios and could not duplicate it but I have had several users email me with this issue. I hate when this happens since it make debugging impossible!!

I will let you know if I ever figure the steps out.
Dazed
@dazed
08/11/14 05:07:28PM
1,022 posts

Best Way To Add Reviews on Chart Pages


Using Jamroom

Thanks Douglas! I looked at this for awhile yesterday but the variables did not seem to pass into the modal. Not sure what I am missing there so any help is appreciated.
  66