Editing Activity Timeline
Design and Skin Customization
Strumelia:
Quote: that way the loop isn't trying to run for everyone, just the admin user.
Douglas, the way you have it written above...will that work for the Profile Admins as well as the master admin then?
I think so, the master admin is an admin user, I've not tested this though.
If not just add in the master admin like this:
{if jrUser_is_admin() || jrUser_is_master()}
{if isset($_items)}
{foreach $_items as $item}
<a href="{$jamroom_url}/timeline/delete/id={$item._item_id}">X</a>
{/foreach}
{/if}
{/if}
Hope this helps!