How can we do this. . . .

Status
Not open for further replies.

Mikey

:mikey:
Staff member
Joined
Jan 26, 2008
Messages
17,835
I *think* you can use the $user variable which is exposed to that template, so something like $user.status, I'm not sure though.

I'll have a play on my xenforo and see if i can get back to you.
 

Floris

I'm just me :) Hi.
Staff member
Joined
Jan 1, 2001
Messages
60,189
On which site are you using xenforo? I could have a look.
 

TopShot

OMG Member
Joined
Jul 8, 2011
Messages
65
Very funny - Still working on - but you can visit http://www.gfxjunction.com
I am still testing mods and addons before its official launch
But I must say xenforo - I love it - it is my first forum or board site ever and I am happy to choose xenforo
 

TopShot

OMG Member
Joined
Jul 8, 2011
Messages
65
First portion of the question is solved by the Turkish site General Manager as follows:

Admincp --> Appearance --> Languages --> Phrases -->

find; signed_in_as_x_sidebar

Existing Phrase text: <span class="muted">Signed in as</span> {name}

Should be replaced with;

Hello {name} <span class="muted"> </span>

It works like charm
 

Floris

I'm just me :) Hi.
Staff member
Joined
Jan 1, 2001
Messages
60,189
Very funny - Still working on - but you can visit http://www.gfxjunction.com
I am still testing mods and addons before its official launch
But I must say xenforo - I love it - it is my first forum or board site ever and I am happy to choose xenforo
Thanks. Your sidebar starts to look pretty nifty, keep up the good work! I had fun browsing your site.
 

TopShot

OMG Member
Joined
Jul 8, 2011
Messages
65
And here comes the answer for the 2nd part: the credit goes to http://www.gfxjunction.com GM

Appearance --> Templates: sidebar_visitor_panel

Code:
  <dl class="pairsJustified"><dt>{xen:phrase points}:</dt> <dd>{xen:number $visitor.trophy_points}</dd></dl>

Add Below

Code:
<br /><br /><br />
<div class="discussionList sectionMain">
    <div class="sectionFooter" align="center">
        <a href="{xen:link 'watched/threads/all'}">{xen:phrase show_all_watched_threads}</a>
    </div>
        <div class="time muted" align="center">{xen:datetime $datetime, 'absolute'}</div>
</div>

Enjoy!
 

Mikey

:mikey:
Staff member
Joined
Jan 26, 2008
Messages
17,835
Ah. I had just done this :/ Seems like you beat me to it.

2011-07-10-20h48_04.png


I went to sidebar_visitor_panel and added this:

Code:
<dl class="pairsJustified"><dt>{xen:phrase status}:</dt> <dd>{$visitor.status}</dd></dl>

under

Code:
 <dl class="pairsJustified"><dt>{xen:phrase points}:</dt> <dd>{xen:number $visitor.trophy_points}</dd></dl>
 

Mikey

:mikey:
Staff member
Joined
Jan 26, 2008
Messages
17,835
Wait, at least I think that's what you were asking. I was probably getting confused. :(
 

TopShot

OMG Member
Joined
Jul 8, 2011
Messages
65
Mikey I highly appreciate your time and efforts - what you did is just another way to display visitor panel and it is similarly excellent.
 
Status
Not open for further replies.
Top