Forum Activity for @douglas

douglas
@douglas
03/12/15 11:42:11AM
2,807 posts

[bug like report] forum/blog etc image size issues


Ning To Jamroom

You could probably go as wide as 290px and it should be okay on smart phones.
douglas
@douglas
03/12/15 10:43:13AM
2,807 posts

[bug like report] forum/blog etc image size issues


Ning To Jamroom

soaringeagle:
mobile cores the same as override mobile i assumed right

Yes, that is correct.
douglas
@douglas
03/11/15 06:07:24AM
2,807 posts

JrproJam dark5


Design and Skin Customization

First you'll want to modify your skins/YOURSKIN/index.tpl and find this:

{if jrCore_module_is_active('jrComment')}
{jrCore_list module="jrAudio" order_by="audio_comment_count NUMERICAL_DESC" limit="5" template="reviews_row.tpl"}

then change it to this:

{if jrCore_module_is_active('jrBlog')}
{jrCore_list module="jrBlog" order_by="blog_comment_count desc" limit="5" search1="blog_category = song_review" template="reviews_row.tpl"}

Then modify your reviews.tpl and replace all the code in the template with this:

{if isset($_post.option) && $_post.option == 'videos'}
    {* assign var="com_mod" value="jrVideo" *}
    {assign var="search_tag" value="video"}
{elseif isset($_post.option) && $_post.option == 'songs'}
    {* assign var="com_mod" value="jrAudio" *}
    {assign var="search_tag" value="song"}
{/if}
{jrCore_list module="jrBlog" order_by="blog_comment_count desc" limit="5" search1="blog_category = `$search_tag`_review" template="reviews_row.tpl"}

Then modify your reviews_row.tpl and replace all the code in the template with this:

{if isset($_items)}
    {jrCore_module_url module="jrBlog" assign="burl"}
    {foreach from=$_items item="item"}
        <div class="body_5 page" style="padding:5px; margin-bottom:5px; margin-right:10px;">
            <h3 style="font-weight:normal;">
                <a href="{$jamroom_url}/{$item.profile_url}/{$burl}/{$item._item_id}/{$item.blog_title_url}">{$item.blog_title|truncate:35:"...":false}</a>
            </h3>
            <div style="font-size:12px;">{$item._created|jrCore_date_format}</div>
            <div style="font-size:11px;"><span class="highlight-txt"><i>By:</i></span>&nbsp;<a href="{$item.profile_url}"><span class="capital">{$item.profile_name}</span></a></div>
            {if jrCore_module_is_active('jrComment')}
                <br>
                <div class="float-right" style="padding-right:5px;">
                    <a href="{$jamroom_url}/{$item.profile_url}/{$burl}/{$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>
                </div>
                <div class="clear"></div>
            {/if}
        </div>
    {/foreach}
{else}
    <div class="body_5 page" style="padding:5px; margin-bottom:5px; margin-right:10px;">
        {jrCore_lang skin=$_conf.jrCore_active_skin id="166" default="Sorry! There are no reviews to list."}
    </div>
{/if}

and finally, to keep these blogs from showing in the user blog section, modify the site_blogs.tpl and find this:

{jrCore_list module="jrBlog" order_by=$order_by template="site_blogs_list.tpl" search1="blog_category not_in about,news,welcome,latest,featured,exclusive" pagebreak="9" page=$_post.p}

and replace it with this:

{jrCore_list module="jrBlog" order_by=$order_by template="site_blogs_list.tpl" search1="blog_category not_in about,news,welcome,latest,featured,exclusive,song_review,video_review" pagebreak="9" page=$_post.p}

be sure to clear your caches after making the changes.

To create a song or video review, just create a blog and make the category be either song_review or video_review.

Hope this helps!
douglas
@douglas
03/10/15 02:21:55PM
2,807 posts

'Allowed Domains' needed for 'Share This' Facebook embed


Using Jamroom

MySong:
Just tried again when using only facebook.com and fbsbx.com
player shows in Facebook but track does not play.

Are you embedding from a secure site, does your site use https: or http:?

Facebook requires you to have a secure site, https: in order to embed players on Facebook.
douglas
@douglas
03/10/15 02:18:44PM
2,807 posts

JrproJam dark5


Design and Skin Customization

Can you let me know if you know how to create custom form fields for the create/modify blog section?

The reason I ask, in order to do this we'll either need to use a blog category and setup a couple of new radio fields for the type, ie. song or video.

OR

We can use a category like song_review and video_review and not have to worry about the custom form fields.

Not having to create custom form fields is a little easier to explain and accomplish.
douglas
@douglas
03/10/15 10:57:58AM
2,807 posts

Ad System


Suggestions

The skins settings have textareas to add your own ad code or you can use google ads, but there isn't an Ad module, yet!
douglas
@douglas
03/10/15 09:56:07AM
2,807 posts

JrproJam dark5


Design and Skin Customization

amwproductions:
www.r-m-n.com yes correctly we would use a blog for song and video how we can change it?what we write into the template

Your events list like my events list, but I can see where there would be some confusion so I'll get that fixed up for the next ProJam release.

Making the song and video reviews use a blog instead of the comments could take a while, let me see what can be done.
douglas
@douglas
03/10/15 07:19:05AM
2,807 posts

JrproJam dark5


Design and Skin Customization

amwproductions:
Wrong settings on index template if i see the events on scheudled and newest not list correctly

I'm not seeing an issue with this on my dev site, do you have a link we can check out?

amwproductions:how i can set on blogs in the index so that i can add more users, here only the admin or one user can post on index?

I'll get a fix in for this, right now, the ProJam skins are not setup for more than one blog ID.


amwproductions:And how we can set blogs for song or video reviews that list here on rewievs so can one or more users only set here to list reviews

Song and video reviews are comments left on the song or video detail page, if you want to use a blog for those reviews, you would have to modify the templates to change how those sections work. The current templates used for that are:

index.tpl, reviews.tpl and reviews_row.tpl

Hope this helps!
updated by @douglas: 11/02/15 04:32:13PM
douglas
@douglas
03/04/15 04:08:20AM
2,807 posts

Featured discussions


Ning To Jamroom

I looked at your template modifications and the only thing I can come up with is that your wafeatured_posts.tpl file is probably in your skin directory, try moving it to your modules/jrForum/templates directory and see if that works for you.
  167