Jump to content


(3.2.x) How to add "Who's online" to a sidebar


  • You cannot start a new topic
  • You cannot reply to this topic
No replies to this topic

#1 Broni

    Malware Annihilator

  • 24,883 posts
  • Joined: October 04, 2004
  • 1,860 topics
  • Age: 57
  • Skin: IPBoard wide
  • Local time: 10:23 AM
  • Zodiac:Virgo
  • Gender:Male
  • Location:Daly City, CA
  • OS:Windows Vista
  • Country:
Online
  • Time Online: 57d 11h 50m 50s

Posted 11 January 2012 - 05:21 AM

Posted Image


ACP>Look & Feel>your_skin>Templates>Board Index>boardIndexTemplate.

Find:
<div id='index_stats' class='ipsLayout_right clearfix' <if test="sidebarclosed2:|:IPSCookie::get('hide_sidebar') == '1'">style='display: none'</if>>

Add right BELOW:




Quote


<!--Active members at the top of a sidebar - start-->
<div style="border:5px solid #DBE2EC; padding:5px 3px 3px 4px; margin-bottom: 5px; text-align:center; border-radius: 4px 4px 4px 4px;">
<h4 class='statistics_head'>{parse expression="sprintf( $this->lang->words['online_right_now'], $stats['TOTAL'] )"}</h4>
{$this->lang->words['active_users']}
<br>
<br>
<p class='statistics_brief desc'>
{parse expression="sprintf( $this->lang->words['active_users_detail'], $stats['MEMBERS'], $stats['GUESTS'], $stats['ANON'] )"}
<br>
<a href='{parse url="app=members&amp;module=online&amp;sort_order=desc" base="public"}'>({$this->lang->words['online_link']})</a>
</p>
<br />
<p>
<span class='name'>{parse expression="implode( ",</span> <span class='name'>", $stats['NAMES'])"}</span>
</p>
<br>
</div>
<!--Active members at the top of a sidebar - end-->







1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users


This topic has been visited by 8 user(s)