Forum Activity for @madc

MAD
@madc
12/26/13 07:10:53AM
600 posts

Admin Pagination


Design and Skin Customization

Thanks @brian as usual for the outstanding and lightening quick support!
Although it's not working at my end
I changed to this in 2 places
$_rt = jrCore_db_paged_query($req, $_post['p'], 50, 'NUMERIC');
Cleaned everything, Manually dumped caches and browsers etc

Marketplace still comes up with 8 items ( thats not really my concern )
But when I go into the audio datastore browser it still only returns 6 song data.

Any other thoughts? ( using Nova cloned skin - code unaltered )
MAD
@madc
12/26/13 06:27:51AM
600 posts

Admin Pagination


Design and Skin Customization

For future reference as this is very slow to see what I am searching for.
Can I hardcode this into my site or is it from your end ( ie. Marketplace? )
And If I can which file would I edit?
I want to make it pagebreak of 1000 as I am not worried with loading time ( Only for ACP )

Even when I worked with joomla I would always over write their max of 100 and it sped up my lag time 100 fold
So really looking for this edit? Can anyone help?
MAD
@madc
12/23/13 04:27:28PM
600 posts

Artists By Rating - jrRating Module


Design and Skin Customization

Hi @paul, Getting there.
I changed to this in artists_row.tpl
{jrCore_module_function function="jrRating_form" type="star" module="jrProfile" index="1" item_id=$item._profile_id current=$item._profile_rating_1_average_count|default:0 votes=$item.profile_rating_1_count|default:0 }

It is working although the data isn't storing right
Attached is a screenshot of my data browser
It looks like the info is getting separated.
And from this php notice in php error log it looks like its looking for the title?

<span class="php_Notice">[24-Dec-2013 00:19:22 Europe/Dublin] PHP Notice: Undefined index: _item_id in /home/punkbp/public_html/addonsites/jr/modules/jrRating-release-1.1.0/include.php on line 156 [x 2]

<span class="php_Notice">[24-Dec-2013 00:19:22 Europe/Dublin] PHP Notice: Undefined index: in /home/punkbp/public_html/addonsites/jr/modules/jrRating-release-1.1.0/include.php on line 156 [x 2]

<span class="php_Notice">[24-Dec-2013 00:19:22 Europe/Dublin] PHP Notice: Undefined index: _item_id in /home/punkbp/public_html/addonsites/jr/modules/jrCore/index.php on line 7310 [x 2]

<span class="php_Notice">[24-Dec-2013 00:20:21 Europe/Dublin] PHP Notice: Undefined index: profile_title in /home/punkbp/public_html/addonsites/jr/modules/jrRating-release-1.1.0/index.php on line 129 [x 1]

Any thoughts?
PS How do I get the $item_id array into the pages I want to run the ratings on
Is there a Tute somewhere to bring them in?
Screen Shot 2013-12-24 at 9.54.00 AM.png Screen Shot 2013-12-24 at 9.54.00 AM.png - 43KB

updated by @madc: 12/27/13 12:23:14PM
MAD
@madc
12/23/13 01:57:53AM
600 posts

Artists By Rating - jrRating Module


Design and Skin Customization

Thanks @paul that got me headed in the right direction.
I want to be able to Rate an Artists profile page.
So I added this to my profile_header.tpl

{jrCore_module_function function="jrRating_form" type="star" module="jrProfile" index="1" item_id=$item._item_id current=$item.profile_rating_1_average_count|default:0 votes=$item.profile_rating_1_count|default:0 }
It returns this when viewing a profile page.

jrRating_form: item_id not set correctly 

-----------------------------------------------
<a name="kev"></a>
I have the added tab etc set, but it's not reading the item_id
I added to the artists.tpl eg.

        {assign var="rateclass" value="p_choice_active"}
        {assign var="order_by" value="profile_rating_1_average_count NUMERICAL_DESC"}
and
    <div class="{$rateclass}" onclick="window.location='{$jamroom_url}/artists/by_ratings'">Artists&nbsp;By&nbsp;Rating</div>

So the tab is there , is clickable etc but on load is empty ( of course as item_id can't be found and no profiles have been rated yet )

So back to the first thing as its not going to return something that it either can't find or has no value yet
So what am I missing?
updated by @madc: 12/27/13 12:05:54PM
MAD
@madc
12/22/13 09:48:12PM
600 posts

Artists By Rating - jrRating Module


Design and Skin Customization

Nova Skin
I want to be able to add a tab to the section with the three tabs

Newest Artists
Artists By Name
Top Artists

I want to add another tab called : Artists By Rating

Is there any documentation on how to add a tab there pulling info from this module?
updated by @madc: 02/05/14 10:12:39PM
MAD
@madc
12/21/13 08:40:56PM
600 posts

Unable to create dowloadable form from form designer


Jamroom Developers

Yes thats right. Sorry details was a typo . Should have been detail.tpl

Looking at your code seems the jrAudio template has changed.
May have to update the tute as what is being looked for is no longer in the file

You could try inserting this code after below and see if it works

{jrCore_module_url module="jrAudio" assign="murl"}
<div class="block">

    <div class="title">
        <div class="block_config">

Place under that

{if $item.audio_downloadable == 'on'}
            {if $_conf.jrAudio_block_download == 'off' && (empty($item.audio_file_item_price) || $item.audio_file_item_price == '0')}
                {if jrUser_is_logged_in()}
                      <a href="{$jamroom_url}/{$murl}/download/audio_file/{$item._item_id}">{jrCore_icon icon="download"}</a>
                {else}
                <a href="{$jamroom_url}/user/login" title="Log in to Download">{jrCore_icon icon="download"}</a>
                {/if}
             {/if}
{/if}


updated by @madc: 12/21/13 08:53:40PM
MAD
@madc
12/21/13 09:56:55AM
600 posts

Best of the holidays to all..


Off Topic

hahahahaa looks like you will be having a Merry Christmas in about march- june eh?
MAD
@madc
12/21/13 08:51:58AM
600 posts

Add ICO for Images


Installation and Configuration

Yes but thats not working
https://www.jamroom.net/the-jamroom-network/tracker/254/button-player-image-needs-to-be-changeable-via-the-acp
As I said for now just do the above. It works I have 2 sites that it works on.
Otherwise you have another problem?
Basically it's a known fact that the ACP replacement images aren't working for some reason
read this : https://www.jamroom.net/the-jamroom-network/forum/design-and-skin-customization/3831/module-image-replacement-in-acp

updated by @madc: 12/21/13 08:54:42AM
MAD
@madc
12/21/13 08:39:17AM
600 posts

Add ICO for Images


Installation and Configuration

Dazed:
Yes I have changed all the default jr images. I originally did it with the acp but after every upgrade it would show the jr default. I ended up just overwriting the default.png images in the actual module. After several upgrades though it gets a little tedious hehe.

It seems to be happening when the module is updated.

No need to do this @dazed
Just use the same names for now ( EXACTLY ) and upload them to your skin directory ( ie. skins/jrNova/img)
That will override them
updated by @madc: 12/21/13 08:42:37AM
MAD
@madc
12/21/13 08:37:16AM
600 posts

Add ICO for Images


Installation and Configuration

Dazed:
Ba9801 make sure you refresh your image cache.
Always Do!
I actually dump it server side/
My fix is the only one that works for me
updated by @madc: 12/21/13 08:37:40AM
  49