Russ
Well-known member
How do I go about that?
You need to edit where you added the link, and change it from {xen:link logout} to {xen:link login}
How do I go about that?
If I change that to what you have said. When I'm logged in. It will display as logged in not a log out. ?You need to edit where you added the link, and change it from {xen:link logout} to {xen:link login}
I'm logged in hereIf I change that to what you have said. When I'm logged in. It will display as logged in not a log out. ?
If I change that to what you have said. When I'm logged in. It will display as logged in not a log out. ?
<xen:if is="{$visitor.user_id}">
<li class="navTab customLogout">
<a href="{xen:link logout, '', '_xfToken={$visitor.csrf_token_page}'}" class="navLink Tooltip LogOut" title="{xen:phrase log_out}"><i class="fa fa-sign-out fa-fw"></i></a>
</li>
<xen:else />
<li class="navTab customLogin">
<a href="{xen:link login}" class="navLink"><i class="fa fa-sign-in fa-fw"></i></a>
</li>
</xen:if>
cheers mate, worksWell you originally only asked for a logout button, not a button to login as well. The conditional I gave you was to only show that link to logged in members (since only logged in members can logout).
If you want both...
Code:<xen:if is="{$visitor.user_id}"> <li class="navTab customLogout"> <a href="{xen:link logout, '', '_xfToken={$visitor.csrf_token_page}'}" class="navLink Tooltip LogOut" title="{xen:phrase log_out}"><i class="fa fa-sign-out fa-fw"></i></a> </li> <xen:else /> <li class="navTab customLogin"> <a href="{xen:link login}" class="navLink"><i class="fa fa-sign-in fa-fw"></i></a> </li> </xen:if>
This would have a login link for guests, and a log out for members.
I'll be on a little later today to take a look at the issues and respond to those PM's @The Dark Wizard
Russ is ****in awesomeAs usual Russ is amazing and still the best support I've gotten from any developer till date on xF for styles.
He tries really hard to make us happy.
Currently trying to find more ways to give him my money.
Please make some sort of possibly limited(so you guys don't get overwhelmed) monthly support package.
That's what I thought it was, but I have it selected, and nothing's showing up.Style Properties:
[XB] Message and Elements
└ ─ Layouts
Enable FA icons in message user info
This will enable Font Awesome icons in the user info section of messages replacing the default text. Currently this setup is only compatible while using 'Messages, Likes and Trophies' as the userinfo
That is default size for the avatar in responsive. Not much you can do, any adjustments to the size will only cause distortion of the avatar image. Banners, Badges, user titles and what not really should be hidden on that low of resolution.What's going on with the new avatar areas?Do we need to set a larger size to fill out the white space when there's a user badge?
View attachment 130960
View attachment 130961
It is in the default properties: Message Elements > Settings
any suggestions on this?For some reason its also breaking BassMan's Conversation Button Under Avatar.
We use essential cookies to make this site work, and optional cookies to enhance your experience.