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

Coding Help: Insert 'users online' code and 'date' on INTEL tab...

CritiKiL

Active member
#1
Basically I have an INTEL page (actually it's the Help tab) and in the 'area where you would normally place sub-links', I would like to place a date code on the left-side and the members and visitors online code on the right. BTW: The online users returns a zero value and this is the code I was trying to use:
Code:
<div class="footnote">
        {xen:phrase online_now_x_members_y_guests_z, 'total={xen:number $onlineUsers.total}', 'members={xen:number $onlineUsers.members}', 'guests={xen:number $onlineUsers.guests}'}
    </div>
As for the date (to be on the left-side), I was using this code:
Code:
<dd>{xen:datetime $datetime, 'absolute'}</dd></dl>
So 'again' I'm trying to have these two features into the blank area "under" the INTEL tab, not where I have them now. Please help, I'm sure it's something simple but I am still learning XenForo ;-)

Here is my site for Reference:

http://sck-mobile.com
 

Jake Bunce

XenForo moderator
Staff member
#2
For the date you can use this:

Code:
{xen:datetime $serverTime, 'absolute'}
But for the online users you need an addon. That information is not available to the navbar.
 

CritiKiL

Active member
#4
Thanks, but I 'also' wanted instructions on 'how to place them where I need the codes'. I want to be able to place them in the area just under the INTEL tab, the date to the left and the online users to the right...