• This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn more.

Recent Acitivity and Current Activity Question

Michael

Active member
#1
I have noticed that the only way that you can hide what page you are viewing is by appearing offline completely, I do not want to hide my online status and would like to know if there is any way that you can hide what you are viewing but still remain online?

Thanks.
 

Lawrence

Well-known member
#2
You will need to wrap a conditional around this in member_card and member_view templates:

Code:
                        <xen:if is="{$user.activity.description}">
                            {$user.activity.description}<xen:if is="{$user.activity.itemTitle}"> <em><a href="{$user.activity.itemUrl}" class="concealed">{$user.activity.itemTitle}</a></em></xen:if>,
                        <xen:else />
                            {xen:phrase viewing_unknown_page},
                        </xen:if>
 

Michael

Active member
#3
Are there any other spots other than those two around the forum that display this info too? I am considering using an admin only conditional.

Thanks :)
 

Lawrence

Well-known member
#4
Are there any other spots other than those two around the forum that display this info too? I am considering using an admin only conditional.

Thanks :)
I did a template search and those were the only two that came up with the activity.description.

You can wrap them with:

<xen: if is="{$visitor.is_admin}">

</xen:if>