Forum Activity for @brian

brian
@brian
07/04/14 07:11:29AM
10,169 posts

profile_option.tpl


Jamroom Developers

Yeah inline is definitely not what we want - I'll do some testing here, as off the top of my head I cannot remember why it was done this way.

Thanks!
brian
@brian
07/04/14 06:58:18AM
10,169 posts

Image Preview


Installation and Configuration

I will check out the error on that link - thanks.

The image popup is custom to the forum module here - it's not something that is going to be part of an Aparna created module. JR has core support for Lightbox however - in your custom module templates just make sure and add:

name="data-lightbox"

to your image anchor around the image and the image will appear in a lightbox when clicked on. A lot of templates use this, so check them out for examples.

Hope this helps!
brian
@brian
07/04/14 06:55:05AM
10,169 posts

Power user quota.


Using Jamroom

I have just uploaded a new version of the Profile module that fixes the "invalid quota_id" error you can get as a power user when trying to add an image or update the profile settings.

There are no issues I can see that prevent a power user from creating other profiles. There is no "+" sign showing on the profile pages (that will be added i future skin updates) - for now you need to go to the "profile" tab as a power user and click on the "create new profile" button - you'll be able to create additional profiles there.

In your custom skin, in the "profile_header.tpl" file you need to update the check so it allows the + sign to show for power users as well as admins. Change:

{if jrUser_is_admin()}
    {jrCore_item_create_button module="jrProfile" view="create" profile_id=$_profile_id title="Create new Profile"}
{/if}

To this:
{if jrUser_is_admin() || jrUser_is_power_user()}
    {jrCore_item_create_button module="jrProfile" view="create" profile_id=$_profile_id title="Create new Profile"}
{/if}

Hope this helps!
brian
@brian
07/03/14 02:48:53PM
10,169 posts

profile_option.tpl


Jamroom Developers

I'm not a fan of things not working like you would think they should work, so I will check this out. What module are you testing with?

Thanks!
brian
@brian
07/03/14 01:26:06PM
10,169 posts

profile_option.tpl


Jamroom Developers

Sorry Steve - haven't had a chance to check this out yet. Can you let me know what you mean by "if you want your profile pages to all line up"?

Thanks!
brian
@brian
07/03/14 12:32:21PM
10,169 posts

Power user quota.


Using Jamroom

I can't replicate here - make sure you have a stock install I can check on, as I know you've done a lot of customizations to your site and you can send it to me at support [at] jamroom [dot] net.

Thanks!
brian
@brian
07/03/14 11:42:02AM
10,169 posts

Power user quota.


Using Jamroom

andersda:Note also, I just created a new power user account. When I try to update the quota i get an error:

Invalid Quota ID - please select from the list of allowed Quotas IDs

However now, there isn't even a way to select. I assume this is because power users can only create one type of profile in my system. But nonetheless, I'm still getting the problem that the profile is not associated with the power user quota; so i can't create any new artist profiles.

Yeah if the allowed quotas for a power user is only 1, then it does not show the selector. Make sure you go into your power user quota settings and select the allowed Quota then save - it could be it was setup on a deleted quota.

Hope this helps!
brian
@brian
07/03/14 11:40:42AM
10,169 posts

This iframe is not allowed


Using Jamroom

OK it is working for you now - I added "www.youtube.com" to the allowed iframe domains and it is working.

In order to be secure, the entire domain + subdomain is strictly checked, so make sure and add www as well for any sites you want to allow (if the site has a www).

Hope this helps!
brian
@brian
07/03/14 11:20:20AM
10,169 posts

Power user quota.


Using Jamroom

Ahh sorry - looks like you edited your post after I posted my followup. There's no issues that I am aware of in the Power User setup now - it's working correctly here.

Thanks!
  694