IP.Board Tutorials

Members online like xenforo

Submitted by theezy, , Thread ID: 859

Thread Closed
theezy
Closed Account
Level:
0
Reputation:
7
Posts:
191
Likes:
12
Credits:
128
30-01-2015, 09:24 AM
#1
This tutorial (that i made !) will show you how to put a sidebar block with members online like on xenforo.

Go on your template > boardIndexTemplate and search :

Code:
<if test="sideBarEnabled2:|:$this->templateVars['sidebar_enabled']">
        <div id='index_stats' class='ipsLayout_right clearfix' <if test="sidebarclosed2:|:IPSCookie::get('hide_sidebar') == '1'">style='display: none'</if>>


Add after :

Code:
<!-- Members online -->
<div class='ipsSideBlock clearfix'>
<h3>Members online</h3>
<div class='_sbcollapsable'>
<if test="activeNames:|:count($stats['NAMES']) && $this->settings['show_active']">
<p>
<span class='name'>{parse expression="implode( ",</span> <span class='name'>", $stats['NAMES'] )"}</span>
</p>
</if>
</br>
<p>Online :<if test="showActive:|:$this->settings['show_active'] && $this->memberData['gbw_view_online_lists']">{parse expression="sprintf( $stats['TOTAL'] )"}</if>
<if test="$this->settings['show_active']"><p class='statistics_brief desc'>
{parse expression="sprintf( $this->lang->words['active_users_detail'], $stats['MEMBERS'], $stats['GUESTS'], $stats['ANON'] )"}
<if test="onlineListEnabled:|:$this->settings['allow_online_list']"></if>
</p></if></p>

</div>
</div>
<!-- Members online END -->

Save and done !

RE: Members online like xenforo

Thor
Novice
Level:
0
Reputation:
0
Posts:
25
Likes:
5
Credits:
98
14-02-2015, 07:14 PM
Warned
#2
Thank you. That's really amazing!

RE: Members online like xenforo

Mr_Joker
YouR JuSt G4Y
Level:
0
Reputation:
3
Posts:
795
Likes:
51
Credits:
493
15-02-2015, 04:32 AM
Warned
#3
Thanks for this needed it for my forum Smile

RE: Members online like xenforo

thehunters
Novice
Level:
0
Reputation:
0
Posts:
25
Likes:
0
Credits:
6
14-05-2015, 08:42 AM
#4
actually , there's a plugin to do this thing.. in ips 4.0.x

RE: Members online like xenforo

Oxygen
<div class="postbit-usertitle">
Prime
Level:
0
Reputation:
35
Posts:
608
Likes:
62
Credits:
1.47K
14-05-2015, 08:47 AM
#5
14-05-2015, 08:42 AM
thehunters Wrote:
actually , there's a plugin to do this thing.. in ips 4.0.x

Better to just do this then a extra plugin.
[Image: UeTXrZ5.png]

RE: Members online like xenforo

thehunters
Novice
Level:
0
Reputation:
0
Posts:
25
Likes:
0
Credits:
6
14-05-2015, 08:58 AM
#6
the plugin is called "Who Was Online"... free on ips site

RE: Members online like xenforo

zardkim
Newbie
Level:
0
Reputation:
0
Posts:
14
Likes:
0
Credits:
15
02-06-2015, 03:01 AM
#7
wow~!
really thanks~! very good tip

RE: Members online like xenforo

emreyldz
Novice
Level:
0
Reputation:
0
Posts:
28
Likes:
1
Credits:
18
10-12-2015, 02:20 AM
#8
thank for share man ^^

RE: Members online like xenforo

BebeGFX
Junior Member
Level:
0
Reputation:
0
Posts:
72
Likes:
11
Credits:
48
22-01-2016, 11:35 PM
#9
Nice, thank you man.
CONTACT:
YAHOO: Bebe.MDFK
STEAM: yo_yonutzy2010

RE: Members online like xenforo

11-02-2017, 06:13 PM
#10
I agree who say this is better than having an extra plugin. Thanks a lot.

Users browsing this thread: 1 Guest(s)