solved What is the correct syntax to check $profile_quota_id?

iLoveHouseMusic
iLoveHouseMusic
@ilovehousemusic
10 years ago
517 posts
What is the correct syntax for checking a quota_id?

This is what I have and no worky:

{if jrProfile_quota_id="8"}
{jrCore_image module="myBadges" image="badge_reserved.png"}
{elseif}
nope
{/if}

TIA!
updated by @ilovehousemusic: 05/01/14 06:00:51AM
paul
@paul
10 years ago
4,326 posts
Depends where its being used, but most likely it'll be

{if $item.profile_quota == 8}

{stick a {debug} in the template to set what you have)

hth
Pa


--
Paul Asher - JR Developer and System Import Specialist

updated by @paul: 03/10/14 01:37:30PM
brian
@brian
10 years ago
10,148 posts
It would be $profile_quota_id - not $profile_quota.


--
Brian Johnson
Founder and Lead Developer - Jamroom
https://www.jamroom.net
iLoveHouseMusic
iLoveHouseMusic
@ilovehousemusic
10 years ago
517 posts
It's on a profile_index page. I'll check that out, thanks!
brian
@brian
10 years ago
10,148 posts
iLoveHouseMusic:
It's on a profile_index page. I'll check that out, thanks!

Then you would use $profile_quota_id (no "item").

Hope this helps!


--
Brian Johnson
Founder and Lead Developer - Jamroom
https://www.jamroom.net
iLoveHouseMusic
iLoveHouseMusic
@ilovehousemusic
10 years ago
517 posts
You Know what, I just realized I'm trying to bypass a module feature that is already configured at the quota config level. My question is better described here:

https://www.jamroom.net/b360/forum/profile-badges/8073/mybadges-customization-profile-image-overlay
SteveX
SteveX
@ultrajam
10 years ago
2,584 posts
You'd def. want to check the code on that module. I expect it will be good when refined a bit.


--
¯\_(ツ)_/¯ Education, learning resources, TEL, AR/VR/MR, CC licensed content, panoramas, interactive narrative, sectional modules (like jrDocs), lunch at Uni of Bristol. Get in touch if you share my current interests or can suggest better :)

updated by @ultrajam: 03/10/14 04:39:12PM
iLoveHouseMusic
iLoveHouseMusic
@ilovehousemusic
10 years ago
517 posts
Ah yes, the readme, I missed that. Thank you!
iLoveHouseMusic
iLoveHouseMusic
@ilovehousemusic
10 years ago
517 posts
I got this sorted out. Details in B360's forum. https://www.jamroom.net/b360/forum/profile-badges/8073/mybadges-customization-profile-image-overlay

Closing this thread thanks!

Tags