Forum Activity for @dazed

Dazed
@dazed
08/31/14 08:55:07AM
1,023 posts

Help on PJ News


Using Jamroom

Yeah I am looking at it but I do not see why it is bringing in both. There is a conditional statement there - item.profile_id == '1' that I have played with but it did not make a difference.

        <div id="site_news_div" class="body_3" style="margin-bottom:40px;">
            {* ROW TEMPLATE *}
            {capture name="row_template" assign="site_news_template"}
                {literal}
                    {if isset($_items)}
                    {jrCore_module_url module="jrBlog" assign="murl"}
                    {foreach from=$_items item="item"}
                    <div style="padding:10px;">
                        <div class="br-info" style="margin-bottom:20px;">
                            <div class="blog-div">
                                <span class="blog-user capital"> By {$item.profile_name}</span>
                            </div>
                            <div class="blog-div">
                                <span class="blog-date"> {$item.blog_publish_date|jrCore_format_time:false:"%m/%d/%y"}</span>
                            </div>
                            <div class="blog-div">
                                <span class="blog-tag capital"> Tag: {$item.blog_category}</span>
                            </div>
                            {if jrCore_module_is_active('jrComment')}
                            <div class="blog-div">
                                <span class="blog-replies">
			                    {if $item.profile_id == '1'}
                                    <a href="{$jamroom_url}/news_story/{$item.blog_title_url}#comments"><span class="capital">{jrCore_lang module="jrBlog" id="27" default="comments"}</span>: {$item.blog_comment_count|default:0}</a>
                                {else}
                                	<a href="{$jamroom_url}/{$item.profile_url}/{$murl}/{$item._item_id}/{$item.blog_title_url}#comments"><span class="capital">{jrCore_lang module="jrBlog" id="27" default="comments"}</span>: {$item.blog_comment_count|default:0}</a>
                                {/if}
                                </span>
                                <span class="normal"> | </span>
                                <span class='st_facebook' st_title='{$item.blog_title|escape}' st_url='{$jamroom_url}/{$item.profile_url}/{$murl}/{$item._item_id}/{$item.blog_title_url}'></span><span class='st_twitter' st_title='{$item.blog_title|escape}' st_url='{$jamroom_url}/{$item.profile_url}/{$murl}/{$item._item_id}/{$item.blog_title_url}'></span><span class='st_email' st_title='{$item.blog_title|escape}' st_url='{$jamroom_url}/{$item.profile_url}/{$murl}/{$item._item_id}/{$item.blog_title_url}'></span><span class='st_sharethis'></span>
                            </div>
                            {/if}
                            {if jrUser_is_master()}
                            <div class="float-right">
                            	<a href="{$jamroom_url}/{$item.profile_url}/{$murl}/{$item._item_id}/{$item.blog_title_url}">{jrCore_icon icon="gear" size="18"}</a>
                            </div>
                            {/if}
                            <div class="clear"></div>
                        </div>
                        <h3><a href="{$jamroom_url}/news_story/{$item.blog_title_url}">{$item.blog_title}</a></h3>
                        <div class="blog-text">
                            {if isset($item.blog_image_size) && $item.blog_image_size > 0}
                            {jrCore_module_function function="jrImage_display" module="jrBlog" type="blog_image" item_id=$item._item_id size="large" alt=$item.blog_title width="128" height="128" crop="auto" class="iloutline img_shadow" style="float:left;margin-right:8px;margin_bottom:8px;"}
                            {/if}
                            {$item.blog_text|jrCore_format_string:$item.profile_quota_id|jrBlog_readmore|jrEmbed_embed|nl2br}
                        </div>
                    </div>
{* share this http://sharethis.com *}
<script type="text/javascript">var switchTo5x = true;</script>
<script type="text/javascript" src="http://w.sharethis.com/button/buttons.js"></script>
<script type="text/javascript">stLight.options({ldelim}publisher:"388dfdea-9f20-4afd-ad57-a451dd00eac1"{rdelim});</script>
                    {/foreach}
Dazed
@dazed
08/31/14 08:29:12AM
1,023 posts

Help on PJ News


Using Jamroom

ok I see one issue. For whatever reason, the posted info/social media info is listed once for the poster and once for the admin.
- 26KB

updated by @dazed: 08/31/14 08:29:36AM
Dazed
@dazed
08/31/14 08:22:08AM
1,023 posts

Help on PJ News


Using Jamroom

damn should have caught that. It is basically an sql query.

Thanks Brian
updated by @dazed: 08/31/14 08:22:26AM
Dazed
@dazed
08/31/14 07:53:57AM
1,023 posts

Help on PJ News


Using Jamroom

I want to enable a few users to be able to post on the News template and so far it has been a bust.

Below are the current 2 templates. When I add in profile id's of search1="_profile_id = 1,2,3" nothing appears on the index.

I also changed the site_news.tpl to have the corresponding user/profile ids. I also looked at the skin global settings and if I add 1,2,3 that also wreaks havoc as it kills the slider.

So what is the easiest way to allow more users to post news items?

Thanks!!



index.tpl
            {jrCore_list module="jrBlog" order_by="_created desc" search1="_profile_id = `$_conf.Mixposure_blog_profile`" search2="blog_category = news" template=$site_news_template pagebreak="4" page=$_post.p}

site_news.tpl
{if isset($_conf.Mixposure_blog_profile) && $_conf.Mixposure_blog_profile > 0}
    {jrCore_list module="jrBlog" order_by="_created desc" search1="_profile_id = `$_conf.Mixposure_blog_profile`" search2="blog_category = news" template=$site_news_template pagebreak="4" page=$_post.p}
{else}
    {jrCore_list module="jrBlog" order_by="_created desc" search1="_user_id = 1" search2="blog_category = news" template=$site_news_template pagebreak="4" page=$_post.p}
{/if}

updated by @dazed: 10/08/14 07:11:49PM
Dazed
@dazed
08/31/14 07:18:42AM
1,023 posts

Embed Audio by Genre


Using Jamroom

would be interesting if it works like the youtube embed links and would just put in the jr player when clicked.
Dazed
@dazed
08/31/14 07:16:42AM
1,023 posts

A New User Has Just Signed Up...Email


Using Jamroom

I think this was fixed awhile back but I am seeing it again. I believe this is from social media signups but all the info is blank.


A new user has just signed up on site.com:

user name:
email address:
ip address: 111.111.11.111

You can view the new User Profile here:

http://www.site.com/

updated by @dazed: 10/08/14 06:20:49AM
Dazed
@dazed
08/31/14 07:05:51AM
1,023 posts

Embed Audio by Genre


Using Jamroom

Thanks Brian. I am thinking the only way to get it into a blog would be via a playlist.
updated by @dazed: 08/31/14 07:06:51AM
Dazed
@dazed
08/31/14 06:56:55AM
1,023 posts

Embed Audio by Genre


Using Jamroom

Does the jrEmbed feature work by genre? There are times when we run contest and in JR4 we could pull all songs in a certain genre but I have not see this in JR5.

Thanks
updated by @dazed: 10/27/14 05:03:35AM
Dazed
@dazed
08/31/14 06:54:57AM
1,023 posts

timeline error


Using Jamroom

Thanks Brian. I will get this updated asap.
  60