Forum Activity for @luis789

alt=
@luis789
12/13/17 08:34:46AM
94 posts

How to safely re-install Jamroom with out loosing any data


Installation and Configuration

One more thing, when I try to run integrety check the system hangs on "repairing table: jr_jraction_hash"
errorintegritychecl.PNG.png errorintegritychecl.PNG.png - 29KB
alt=
@luis789
12/13/17 08:30:40AM
94 posts

How to safely re-install Jamroom with out loosing any data


Installation and Configuration

Hello All.
After installing Jamroom 6.1.5 and updating all the modules and skin, I noticed that I was not able to change the the quotas. When I tried to change from artist to member the system just hang.
So, I manually removed Jamroom 6.1.5 and the modules. After running running integrity check, it hanged.
I tried running the repair.php and did not help I got a lot of errors that I can recall since it was a late night.
Now the Market place Module is not working. I can not update update jamroom, or re-install any modules from the market place. When ever I try to do that, the page gets redirected and I get the below error.
https://www.sitename.com/marketplace/undefined, the page your requested was not found.

Hopefully manually re-installing jamroom will will resolve the problem.
If you could please point to the docs of manually re-installing jamroom with out loosing any data will be great.

updated by @luis789: 03/14/18 08:22:03AM
alt=
@luis789
09/14/17 08:45:22AM
94 posts

share This tool integration


Design and Skin Customization

THis is the code for jrAudio_item_detail.tpl
When running the Debug it found about 97 errors and 75 warnings
{jrCore_module_url module="jrAudio" assign="murl"}

{jrProfile_disable_header}
{jrProfile_disable_sidebar}
HERE IS THE OUTPUT OF conf {$_conf}
<div class="page_nav clearfix">
    <div class="breadcrumbs">
        {jrCore_include template="profile_header_minimal.tpl"}
        {jrBeatSlinger_breadcrumbs module="jrAudio" profile_url=$item.profile_url profile_name=$item.profile_name page="detail" item=$item}
    </div>
    <div class="action_buttons">
        {jrCore_item_detail_buttons module="jrAudio" item=$item  field="audio_file"}
    </div>
</div>

<div class="col8">
    <div class="box">
        {jrBeatSlinger_sort template="icons.tpl" nav_mode="jrAudio" profile_url=$profile_url}
        <div class="box_body">
            <div class="wrap detail_section">
                {if isset($item.audio_active) && $item.audio_active == 'off' && isset($item.quota_jrAudio_audio_conversions) && $item.quota_jrAudio_audio_conversions == 'on'}
                    <div class="item" style="text-align: center;">
                        <p class="pending">{jrCore_lang module="jrAudio" id="40" default="This audio file is currently being processed and will appear here when complete."}</p>
                    </div>
                {elseif $item.audio_file_extension == 'mp3'}
                    {jrCore_media_player module="jrAudio" field="audio_file" item=$item autoplay=$_conf.jrBeatSlinger_auto_play}
                {/if}
                <div class="detail_box">
                    <div class="basic-info">
                        <div class="trigger"><span>{jrCore_lang skin="jrBeatSlinger" id="115" default="Basic Info"}</span></div>
                        <div class="item" style="display: none; padding: 0; margin: 5px auto 0;">
                            <div style="display: table; width: 100%;">
                                <div class="header">
                                    <div>{jrCore_lang skin="jrBeatSlinger" id=21 default="Album"}</div>
                                    <div>{jrCore_lang skin="jrBeatSlinger" id=39 default="Genre"}</div>
                                    <div>{jrCore_lang skin="jrBeatSlinger" id=40 default="Created"}</div>
                                    <div>{jrCore_lang skin="jrBeatSlinger" id=38 default="Plays"}</div>
                                </div>
                                <div class="details">
                                    <div>{$item.audio_album}</div>
                                    <div>{$item.audio_genre}</div>
                                    <div>{$item._created|jrCore_date_format:"relative"}</div>
                                    <div>{$item.audio_file_stream_count|jrCore_number_format}</div>
                                </div>
                            </div>
                        </div>
                    </div>
                    {if strlen($item.audio_text) > 0}
                        <div class="description">
                            <div class="trigger"><span>{jrCore_lang skin="jrBeatSlinger" id="47" default="Description"}</span></div>
                            <div class="item" style="display: none;">
                                {$item.audio_text}
                            </div>
                        </div>
                    {/if}
                    {if strlen($item.audio_lyrics) > 0}
                        <div class="lyrics">
                            <div class="trigger"><span>{jrCore_lang skin="jrBeatSlinger" id="116" default="Lyrics"}</span></div>
                            <div class="item" style="display: none;">
                                {$item.audio_lyrics}
                            </div>
                        </div>
                    {/if}
                </div>
                {* bring in module features *}
                <div class="action_feedback" style="padding: 0">
                    {jrBeatSlinger_feedback_buttons module="jrAudio" item=$item}
                    {if jrCore_module_is_active('jrRating')}
                        <div class="rating" id="jrAudio_{$item._item_id}_rating">{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_number|default:0}</div>
                    {/if}
                    {jrCore_item_detail_features module="jrAudio" item=$item}
                </div>
              
              {*Added *}

<div class="item clearfix">
{if $item.action_module != 'jrShareThis'}
{jrShareThis item=$item module="jrAudio"}
{jrShareThis module="jrAudio" item=$item}

{/if} 


</div> 

                
            </div>
        </div>
    </div>
</div>
<div class="col4 last">
    <div class="box">
        {jrBeatSlinger_sort template="icons.tpl" nav_mode="jrAudio" profile_url=$profile_url}
        <span>{jrCore_lang skin="jrBeatSlinger" id="111" default="You May Also Like"}</span>
        <div class="box_body">
            <div class="wrap">
                <div id="list" class="sidebar">
                    {jrCore_list
                    module="jrAudio"
                    profile_id=$item.profile_id
                    order_by='_created RANDOM'
                    pagebreak=8
                    template="chart_audio.tpl"}
                </div>
            </div>
        </div>
    </div>
    {* Added *}
        <div class="box">
             {jrBeatSlinger_sort template="icons.tpl" nav_mode="jrInfo" profile_url=$profile_url}
             <span>{jrCore_lang skin="jrBeatSlinger" id="111" default="You May Also Like"}</span>
           </div>    
</div>

and this is the code for the feedback.tpl page:

{jrCore_module_url module="jrUser" assign="uurl"}

{if isset($data.like_profile_url)}
    {$profile_url = $data.like_profile_url}
{elseif isset($data.rating_profile_url)}
    {$profile_url = $data.rating_profile_url}
{elseif isset($data.profile_url)}
    {$profile_url = $data.profile_url}
{else}
    {$profile_url = $item.profile_url}
{/if}

{if !isset($item_id)}
    {$item_id = $item._item_id}
{/if}

<div class="item clearfix">

    {if strlen($module) > 0 && jrCore_module_is_active('jrLike')}

        {if is_array($item.action_data)}
            {$like_module = $item.action_module}
            {$like_item_id = $item.action_item_id}
            {$like_item_data = $item.action_data}
        {else}
            {$like_module = $module}
            {$like_item_id = $item._item_id}
            {$like_item_data = $item}
        {/if}

        {if $item.action_module == 'jrLike' || $item.action_module == 'jrRating' || $item.action_module == 'jrComment'}

            {* likes go to the item *}
            {$like_module = $item.action_original_module}
            {$like_item_id = $item.action_original_item_id}
            {$like_item_data = $item.action_original_data}

        {/if}

        {if $module == 'jrAction'}
            {$like_item_data = $item}
        {/if}


        {if $_conf.jrLike_like_option == 'all' || $_conf.jrLike_like_option == 'like'}
            {jrLike_button item=$like_item_data module=$like_module action="like" item_id=$like_item_id}
        {/if}

        {if $_conf.jrLike_like_option == 'all' || $_conf.jrLike_like_option == 'dislike'}
            {jrLike_button item=$like_item_data module=$like_module action="dislike" item_id=$like_item_id}
        {/if}
    {/if}

    {if jrCore_module_is_active('jrComment')}
        <div class="like_button_box">
            {if jrUser_is_logged_in()}
                {if isset($comment_url) && strlen($comment_url) > 0}

                    {* comment module has constructed URL *}
                    <a href="{$comment_url}">

                {else}

                    {* If this action is an item detail feature we point to the item unless it is another item detail feature *}
                    {if $item.action_module == 'jrLike' || $item.action_module == 'jrRating' || $item.action_module == 'jrComment'}

                        {if $item.action_original_module == 'jrLike' || $item.action_original_module == 'jrRating' || $item.action_original_module == 'jrComment'}

                            {jrCore_module_url module='jrAction' assign="curl"}
                            {if isset($item.action_data.profile_url)}
                                <a href="{$jamroom_url}/{$item.action_data.profile_url}/{$curl}/{$item._item_id}">
                            {else}
                                <a href="{$jamroom_url}/{$item.profile_url}/{$curl}/{$item._item_id}">
                            {/if}

                        {else}

                            {jrCore_module_url module=$item.action_original_module assign="curl"}
                            {if isset($item.action_original_title_url)}
                                <a href="{$jamroom_url}/{$item.action_original_data.profile_url}/{$curl}/{$item.action_original_data._item_id}/{$item.action_original_title_url}">
                            {else}
                                <a href="{$jamroom_url}/{$item.action_original_data.profile_url}/{$curl}/{$item.action_original_data._item_id}">
                            {/if}

                        {/if}

                    {elseif $item.action_module == 'jrGroupDiscuss'}

                        {jrCore_module_url module=$item.action_module assign="curl"}
                        <a href="{$jamroom_url}/{$item.action_data.profile_url}/{$curl}/{$item.action_data._item_id}/{$item.action_data.discuss_title_url}">

                    {elseif strlen($item.action_module) > 0}

                        {jrCore_module_url module=$item.action_module assign="curl"}
                        <a href="{$jamroom_url}/{$item.profile_url}/{$curl}/{$item._item_id}">

                    {else}
                            {jrCore_module_url module=$module assign="curl"}
                            <a href="{$jamroom_url}/{$item.profile_url}/{$curl}/{$item._item_id}">
                    {/if}
                {/if}
            {else}
                <a href="{$jamroom_url}/{$uurl}/login?r=1">
            {/if}
            {jrCore_lang module="jrComment" id="2" default="Post Your Comment" assign='com'}
            {jrCore_image image="comment.png" width="24" height="24" class="like_button_img" alt='Comment' title=$com}</a>
            <span><a>{$comment_count|jrCore_number_format}</a></span>
        </div>
    {/if}

    {if isset($disable_share)}
        <div class="like_button_box">
            {jrCore_lang module="jrAction" id=35 default="You have Shared this with your Followers" assign="title"}
            {jrCore_image image="share_disabled.png" width=24 height=24 class="like_button_img" alt=$title title=$title}
            <span><a>{$item.action_original_data.action_share_count|jrCore_number_format}</a></span>
        </div>
    {elseif !isset($item.action_shared)}
        {$share_id = $item_id}
        {$share_module = $module}
        {if isset($item.action_original_item_id) && is_numeric($item.action_original_item_id)}
            {$share_id = $item.action_original_item_id}
            {$share_module = $item.action_original_module}
        {/if}
        {if $share_module == 'jrComment' && is_array($item.action_original_data)}
            {$share_module = $item.action_original_data.comment_module}
            {$share_id = $item.action_original_data.comment_item_id}
        {/if}
        <div class="like_button_box">
            {if jrUser_is_logged_in()}
            <a onclick="jrAction_share('{$share_module}','{$share_id}')">
            {else}
            <a href="{$jamroom_url}/{$uurl}/login">
            {/if}
            {jrCore_lang module="jrAction" id=34 default="Share This with your Followers" assign="title"}
            {jrCore_image image="share.png" width="24" height="24" class="like_button_img" alt=$title title=$title}</a>
            <span><a>{$item.action_data.action_share_count|jrCore_number_format}</a> </span>
        </div>
    {/if}

    {if jrCore_module_is_active('jrTags') && $timeline != true}
        <div class="like_button_box">
            {if jrUser_is_logged_in()}
            <a onclick="jrBeatSlinger_open_div('#{$module}_{$item._item_id}_tag', '#tag_text')">
            {else}
            <a href="{$jamroom_url}/{$uurl}/login">
            {/if}
                {jrCore_lang module="jrTags" id="2" default="Tag" assign='tag'}
                {jrCore_image image="tag.png" width="24" height="24" class="like_button_img" alt='Tags' title=$tag}
            </a>
            <span><a>{$tag_count|jrCore_number_format}</a></span>
        </div>
    {/if}

    {if jrCore_module_is_active('jrRating') && $timeline != true}
        <div class="like_button_box">
            {if jrUser_is_logged_in()}
            <a onclick="jrBeatSlinger_open_div('#{$module}_{$item._item_id}_rating')">
                {else}
                <a href="{$jamroom_url}/{$uurl}/login">
                    {/if}
                    {jrCore_lang module="jrRating" id="1" default="Rate" assign='rate'}
                    {jrCore_image image="star.png" width="24" height="24" class="like_button_img" alt='Rate' title=$rate}</a>
                <span><a>
                    {$rating_count|jrCore_number_format}
                </a></span>
        </div>
    {/if}

</div>
{*Added *}

<div class="item clearfix">{jrShareThis item=$item module="jrAudio"}
{jrShareThis module="jrAudio" item=$item}

</div>


Thank You
alt=
@luis789
09/13/17 10:24:51AM
94 posts

share This tool integration


Design and Skin Customization

Hello!
I'm having issues adding the Share This tool in the Beat Slinger Skin.

I tried modifying the feedback.tpl with the below code but is not working. It only shows a blank page. See Image.

{jrShareThis item=$item module="jrAudio"}
{jrShareThis module="jrAudio" item=$item}

for test purpose, I also refereed to this link https://www.jamroom.net/the-jamroom-network/documentation/modules/2598/sharethis and when I enter an ID it generate errors.

Any help will be highly appreciated.




tool.PNG.png tool.PNG.png - 39KB

updated by @luis789: 12/14/17 12:38:12AM
alt=
@luis789
06/14/17 10:46:42AM
94 posts

Hosted uploading videos issues


Design and Skin Customization

UPDATE:
I tried again from a Regular PC with win10 and google chrome and the videos are playing now but only on Media Pro, Projam, nova, and Elastic 2
on the other skins the error stays
alt=
@luis789
06/14/17 09:41:47AM
94 posts

Hosted uploading videos issues


Design and Skin Customization

Hello Brian
Quote:
Try this for me on your site - on line 6259 of the jrCore/index.php file you will find this:

if (!isset($_rt["{$fld}_size"] ) || $_rt["{$fld}_size"] < 1) {
header('HTTP/1.0 404 Not Found');
jrCore_notice('Error', 'invalid media id - media file not found');
}
I removed the 4 lines as you've suggested. Run integrity check, reset chaches, verify video files.
I number my findings to prevent confusion.

1) The problem got fixed but only if it is played from an Android smart phone and a selected skins.

2) On an Iphone and Ipad with safary or google chrome browser the same error message as described earlier(see above image) appears.

3) From an Android smart phone the videos only works on Projam, media Pro and Elastic 2 skin. All other skins the video fails to play with the same error message.
4) When I tested from a desktop pc or laptop using google chrome or internet explorer 11 the same error appears in the three skins(see above image error). When I tested on the other skins the error do not show, but the video will not play.

I hope it made any sense my explanation. Please let me know if you need any further clarification.
alt=
@luis789
06/14/17 08:34:03AM
94 posts

Hosted uploading videos issues


Design and Skin Customization

Quote:
Did you run the ACP -> Profiles -> Video -> Verify Video Files tool after updating to the latest video module?

Yes I did.

One more thing..
I just tested on your Demo site and the issue is the same
http://demo.jamroom.net/jrVideoPro/audiostagg/uploaded_video/1/sentenced
updated by @luis789: 06/14/17 08:39:16AM
alt=
@luis789
06/14/17 08:23:14AM
94 posts

Hosted uploading videos issues


Design and Skin Customization

Thanks Brian.. I changed the .htaccess and now is like this:
# Jamroom 5 Apache .htaccess file
DirectoryIndex index.html index.php sitemap.xml modules/jrCore/router.php

Options +FollowSymLinks
Options -MultiViews -Indexes

# Use ETags
<IfModule mod_headers.c>
Header unset ETag
FileETag None
# Expires for CSS, JS and Images
<FilesMatch ".(ico|jpg|jpeg|png|gif|js|css|swf)$">
Header set Expires "Thu, 15 Apr 2018 20:00:00 GMT"
</FilesMatch>
</IfModule>

# Compress everything we can
<IfModule mod_filter.c>
AddOutputFilterByType DEFLATE text/html text/plain text/xml text/css text/javascript text/javascript-x application/javascript
</IfModule>

# All requests through the router
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteCond %{HTTP_HOST} !^www\.
RewriteRule ^(.*)$ https://www.%{HTTP_HOST}/$1 [R=301,L]
RewriteCond %{HTTPS} off
RewriteRule ^(.*)$ https://%{HTTP_HOST}%{REQUEST_URI} [L,R=301]
RewriteCond %{REQUEST_FILENAME} !-d
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-l
RewriteRule ^(.*)$ modules/jrCore/router.php?_uri=$1 [NC,L]
</IfModule>


# php -- BEGIN cPanel-generated handler, do not edit
# This domain inherits the “PHP” package.
# php -- END cPanel-generated handler, do not edit
However the error stays the same.
Quote:
test with a different skin to see if the videos play there, maybe Elastic2. That will tell you if the issue is a problem with the skin or a problem somewhere else.

Run the integrity check too and clear the caches.
Done that and tried on different skin and the error is the same.
I can see at least one improvement. The video image is now showing, but when clicked on play the below message is dizplayed
https://www.ecuahits.com/lasmamis/uploaded_video/7/tu-traicion
errormessage.PNG.png errormessage.PNG.png - 333KB

updated by @luis789: 06/14/17 08:24:24AM
alt=
@luis789
06/14/17 06:29:07AM
94 posts

Hosted uploading videos issues


Design and Skin Customization

Hello Micheal. .thanks for the feedback.
Quote:
DASHBOARD -> QUEUE VIEWER
The verify video found 25 local uploaded videos. When I checked in the Queue Viewer, it is empty.

This error is fixed. There was a typo error in the site builder.

This is what I have in the .taccess file
# Jamroom 5 Apache .htaccess file
DirectoryIndex index.html index.php sitemap.xml modules/jrCore/router.php

Options +FollowSymLinks
Options -MultiViews -Indexes

# Use ETags
<IfModule mod_headers.c>
Header unset ETag
FileETag None
# Expires for CSS, JS and Images
<FilesMatch ".(ico|jpg|jpeg|png|gif|js|css|swf)$">
Header set Expires "Thu, 15 Apr 2018 20:00:00 GMT"
</FilesMatch>
</IfModule>

# Compress everything we can
<IfModule mod_filter.c>
AddOutputFilterByType DEFLATE text/html text/plain text/xml text/css text/javascript text/javascript-x application/javascript
</IfModule>

# All requests through the router
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteCond %{REQUEST_FILENAME} !-d
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-l
RewriteRule ^(.*)$ modules/jrCore/router.php?_uri=$1 [NC,L]


RewriteCond %{HTTP_HOST} !^www\.
RewriteRule ^(.*)$ http://www.%{HTTP_HOST}/$1 [R=301,L]
RewriteCond %{HTTPS} off
RewriteRule ^(.*)$ https://%{HTTP_HOST}%{REQUEST_URI} [L,R=301]


</IfModule>

# php -- BEGIN cPanel-generated handler, do not edit
# This domain inherits the “PHP” package.
# php -- END cPanel-generated handler, do not edit

Thank You
updated by @luis789: 06/14/17 06:32:02AM
alt=
@luis789
06/13/17 10:48:58PM
94 posts

Hosted uploading videos issues


Design and Skin Customization

After upgrading to Jamroom 6.1 beta version the issue got worse.
Before the upgrade I was able to play the uploaded videos from an Idevice or android phone. From a PC in only worked on Internet explorer. Somehow it fail to play on google chrome.
After the update, the uploaded videos do not play any where including the idevices and Androids. From a PC it does not play on Internet explorer 11 either.
When clicked in the video Icon the below message is displayed:
"An error was encountered loading the media URL" when clicked okay, nothing happens.
In the system log, the below message is displaying.
404 Page not found: /modules/jrCore/router.php?_uri=eddy-albacura/video
Also performed the :
ACP -> Profiles -> Video -> Tools and run the "Verify Video Files" with no luck.
Do You have any suggestions?
  3