Forum Activity for @nate

nate
@nate
08/05/14 06:27:24PM
917 posts

jrTips


Jamroom Developers

I created a tips file for a custom module I got it to working but it only shows up for the admin.

I looked into the file and the only thing I could find was this:

 switch ($_inf['group']) {
                    case 'master':
                        if (!jrUser_is_master()) {
                            continue 2;
                        }
                        break;
                    case 'admin':
                        if (!jrUser_is_admin()) {
                            continue 2;
                        }
                        break;
                    case 'power':
                        if (!jrUser_is_power_user()) {
                            continue 2;
                        }
                        break;
                    case 'multi':
                        if (!jrUser_is_multi_user()) {
                            continue 2;
                        }
                        break;
                    case 'visitor':
                        if (jrUser_is_logged_in()) {
                            continue 2;
                        }
                        break;
                    default:
                        if (!jrUser_is_logged_in()) {
                            continue 2;
                        }
                        break;
                }

I assume this is checking the user group. What group is a standard artist?
updated by @nate: 09/10/14 11:26:41PM
nate
@nate
07/17/14 06:21:34PM
917 posts

Profile _user_id


Jamroom Developers

Thanx.
nate
@nate
07/17/14 12:21:37PM
917 posts

Profile _user_id


Jamroom Developers

That worked.
nate
@nate
07/17/14 11:34:10AM
917 posts

Profile _user_id


Jamroom Developers

I have tried

profile._user_id

and profile_user_id

How do I get the user ID of the profile owner?
updated by @nate: 08/17/14 07:10:05AM
nate
@nate
07/11/14 10:49:34AM
917 posts

Profile image size.


Jamroom Developers

I wanna require an image using jrCore_db_search_items();

$search[] = "audio_image_size > 0" fails.

Any suggestions?
updated by @nate: 08/16/14 12:41:53PM
nate
@nate
07/08/14 09:37:48AM
917 posts

AJAX Side Effect


Jamroom Developers

I am working on a site for a client. I pushed a js file that used the word "class", which I just learned is forbidden. I get a js error when the page loads.

OK fine, so I pushed an update (no ftp access).

But because jr5 uses AJAX to submit I can't clear the cache. I'm stuck and my client is losing money.

Maybe you can use "preventDefault" on the submit button and when the js isn't working it can submit the old fashioned way.
updated by @nate: 08/16/14 12:41:04PM
nate
@nate
05/27/14 06:14:21PM
917 posts

Module is active


Jamroom Developers

Thanks.
nate
@nate
05/27/14 05:20:23PM
917 posts

Module is active


Jamroom Developers

I need to check on the profile index page if a module is active. I haven't been able to find examples in the templates of how to do it.
updated by @nate: 06/27/14 10:13:14PM
nate
@nate
05/15/14 07:46:15AM
917 posts

What is Subscribe to Unlock?


Jamroom Developers

Thanks.

Why am I always logged out when I visit this site?
nate
@nate
05/15/14 07:34:44AM
917 posts

What is Subscribe to Unlock?


Jamroom Developers

On my marketplace products, I see "Subscribe to Unlock" on some of the items.


What is that?
un.jpg un.jpg - 158KB

updated by @nate: 07/07/14 02:31:15AM
  78