SOLVED - Spotlight - Random Artists
Installation and Configuration
Was it the elseif?
{* HEADER SPOTLIGHT *}
{if isset($spotlight) && $spotlight == 'yes'}
<div class="outer mb8">
<div class="pbpinner" style="padding-left:0;">
<h3 class="pbp12">Random Artists</h3>
{if isset($_conf.PunkBP_spotlight_ids) && strlen($_conf.PunkBP_spotlight_ids) > 0}
{jrCore_list module="jrProfile" order_by="_profile_id asc" limit="4" search1="_profile_id in `$_conf.PunkBP_spotlight_ids`" search2="profile_active = 1" template="index_spotlight_artist.tpl"}
{else}
{if isset($_conf.PunkBP_require_images) && $_conf.PunkBP_require_images == 'on'}
{jrCore_list module="jrProfile" order_by="_profile_id random" search1="profile_active = 1" quota_id=$_conf.PunkBP_artist_quota limit="4" template="index_spotlight_artist.tpl" require_image="profile_image"}
{else}
{jrCore_list module="jrProfile" order_by="_profile_id random" search1="profile_active = 1" quota_id=$_conf.PunkBP_artist_quota limit="4" template="index_spotlight_artist.tpl"}
{/if}
{/if}
</div>
</div>
{/if}
{if isset($spotlight) && $spotlight == 'yes'}
<div class="outer mb8">
<div class="pbpinner" style="padding-left:0;">
<h3 class="pbp12">Random Artists</h3>
{if isset($_conf.PunkBP_spotlight_ids) && strlen($_conf.PunkBP_spotlight_ids) > 0}
{if isset($_conf.PunkBP_require_images) && $_conf.PunkBP_require_images == 'on'}
{if isset($_conf.PunkBP_artist_quota) && $_conf.PunkBP_artist_quota > 0}
{jrCore_list module="jrProfile" order_by="_profile_id asc" limit="4" search1="_profile_id in `$_conf.PunkBP_spotlight_ids`" search2="profile_active = 1" search3="profile_quota_id in `$_conf.PunkBP_artist_quota`" template="index_spotlight_artist.tpl" require_image="profile_image"}
{else}
{jrCore_list module="jrProfile" order_by="_profile_id asc" limit="4" search1="_profile_id in `$_conf.PunkBP_spotlight_ids`" search2="profile_active = 1" template="index_spotlight_artist.tpl" require_image="profile_image"}
{/if}
{else}
{if isset($_conf.PunkBP_artist_quota) && $_conf.PunkBP_artist_quota > 0}
{jrCore_list module="jrProfile" order_by="_profile_id asc" limit="4" search1="_profile_id in `$_conf.PunkBP_spotlight_ids`" search2="profile_active = 1" search3="profile_quota_id in `$_conf.PunkBP_artist_quota`" template="index_spotlight_artist.tpl"}
{else}
{jrCore_list module="jrProfile" order_by="_profile_id asc" limit="4" search1="_profile_id in `$_conf.PunkBP_spotlight_ids`" search2="profile_active = 1" template="index_spotlight_artist.tpl"}
{/if}
{/if}
{else}
{if isset($_conf.PunkBP_require_images) && $_conf.PunkBP_require_images == 'on'}
{if isset($_conf.PunkBP_artist_quota) && $_conf.PunkBP_artist_quota > 0}
{jrCore_list module="jrProfile" order_by="_profile_id numerical_desc random" search1="profile_quota_id in `$_conf.PunkBP_artist_quota`" limit="4" template="index_spotlight_artist.tpl" require_image="profile_image"}
{else}
{jrCore_list module="jrProfile" order_by="_profile_id numerical_desc random" limit="4" template="index_spotlight_artist.tpl" require_image="profile_image"}
{/if}
{else}
{if isset($_conf.PunkBP_artist_quota) && $_conf.PunkBP_artist_quota > 0}
{jrCore_list module="jrProfile" order_by="_profile_id numerical_desc random" search1="profile_quota_id in `$_conf.PunkBP_artist_quota`" limit="4" template="index_spotlight_artist.tpl"}
{else}
{jrCore_list module="jrProfile" order_by="_profile_id numerical_desc random" limit="4" template="index_spotlight_artist.tpl"}
{/if}
{/if}
{/if}
</div>
</div>
{/if}