Forum Activity for @michael

michael
@michael
08/11/14 11:05:45PM
7,832 posts

Export users in csv or xls


Installation and Configuration

There is no export feature for users. You would need to do something custom.
michael
@michael
08/11/14 08:05:30PM
7,832 posts

Best Way To Add Reviews on Chart Pages


Using Jamroom

it needs to be out of the loop, or given its own unique id.

If you cant/dont want to get it out of the loop, then add something to make it unique:
id="myModal{$item_id}" so it becomes id="myModal7".

That way there would not be 2 id's on the page that are the same. You'd also need to update the function calling the modal

 onclick="$('#myModal{$item_id}').modal();
michael
@michael
08/11/14 07:47:39PM
7,832 posts

Song Quota Bug


Using Jamroom

found a fix for it, just want to get brian's ok on it before getting it out there as there are a couple of ways to do it.

It will be sorted in an upcoming release.
michael
@michael
08/11/14 07:26:59PM
7,832 posts

Song Quota Bug


Using Jamroom

The cause is $_user['profile_jrAudio_item_count'] is staying at 5 even after the item is deleted.

Looking for why now.
michael
@michael
08/11/14 07:06:45PM
7,832 posts

Song Quota Bug


Using Jamroom

I can see this happening. checking it out now.

To reproduce:
* set quota limit to 5
* add songs individually 1 ~ 5.
* songs are added by going to the profile page site.com/user-name/audio and clicking the + button.

When the number of songs reaches 5 and the + button is clicked again an alert window will show with
Quote: "You have created the maximum number of items of this type allowed by your Quota plan"

* click the trash icon for the last song on the list.
* after the page refreshes, click the + icon.

The only noticeable thing that is different is that when there were actually 5 songs the alert would show in a javascript popup alert. Now that there are only 4 songs the user is redirected to /audio/create where the text shows in an orange window on the page.

Looking for why now.

--update--
if the admin then clears the caches, the user is able to reach the /audio/create screen and create a new audio item.
updated by @michael: 08/11/14 07:08:01PM
michael
@michael
08/11/14 06:45:24PM
7,832 posts

Best Way To Add Reviews on Chart Pages


Using Jamroom

Few issues. The one with the "... the variables did not seem to pass into the modal...." looks to me to be more of an issue of there being too many modals on the page all with the title id="myModal".

You are only allowed to have 1 id on the page called "myModal". if you hit ctrl+u and look at the source for your page, you have many.

Reduce that number to just one and try putting the vars in that one, then see if they come out.
michael
@michael
08/11/14 06:33:53PM
7,832 posts

Error Timeline


Using Jamroom

I need to know how to make that error happen here, otherwise I cant tell you why its happening.
michael
@michael
08/11/14 06:24:05PM
7,832 posts

form designer in jrpolls


Suggestions

With the new way the jrEmbed works with jrPolls you can add an existing image or upload a new image into the text editor.

I've also turned on Form Designer support too. Look for it in jrPolls 1.0.4 which will be released after the next core version comes out.
michael
@michael
08/11/14 05:47:28PM
7,832 posts

Subpages in Custom Aparna Modules?


Design and Skin Customization

an Aprana created module is the same as a module created from scratch. You can download it to your IDE and build upon it as if you'd created the whole thing.

Take a look in your other modules in the index.php file for functions called view_(module name)_default() for examples.

If you have it, the jrFeed module is a good structure.

function view_jrFeed_default($_post, $_user, $_conf)
{ // do a search for whatever your wanting, perhaps the news category //send those items out to a custom template return jrCore_parse_template('rss.tpl', $_rt, '(your module name here)'); }

So then you can do all your processing in php for whatever you want out to the template.

-----------
Another way to do it would be in the index.tpl file for your module. you can put in a {debug} to see what variable returns 'local' mysite.com/news/local and pass that in to your list function:

{jrCore_list module="dnNews" order_by="_item_id numerical_desc" pagebreak="10" page=$_post.p pager=true search1="news_category = $option"}

or perhaps a check first:
{if strlen($option) > 2}
{jrCore_list module="dnNews" order_by="_item_id numerical_desc" pagebreak="10" page=$_post.p pager=true search1="news_category = $option"}
{else}
{jrCore_list module="dnNews" order_by="_item_id numerical_desc" pagebreak="10" page=$_post.p pager=true}
{/if}

thats a couple of different ways to do it. There might be others but those are the first that spring to mind.
  673