(FSY21) Members Online Today v3.1 by FuSoYa
Started by RisingPhoenix, May 28 2006 12:01 PM
16 replies to this topic
#1
Posted 28 May 2006 - 12:01 PM
Has anyone been able to get this mod to work on the portal I have tried to edit some of the Unreal Portal code to get it to work, but had no sucess. I like the option of knowing who is viewing the board at the moment, but i also like to know who has viewed my board for the entire day. I have it installed for my board if you don't know what im talking about here is the link look at the bottom.
http://www.ba4life.c...dex.php?act=idx
If someone can point me in the right direction on what needs to be edited to make it show up on the portal statistics. I would greatly appreciate it.
Thanks
http://www.ba4life.c...dex.php?act=idx
If someone can point me in the right direction on what needs to be edited to make it show up on the portal statistics. I would greatly appreciate it.
Thanks
#2
Posted 29 May 2006 - 01:24 PM
just know php!
Open /cache/lang_cache/en/lang_uportal.php and look for the following near the top:
Add above:
Save and upload.
Then open /sources/action_public/uportal.php and look for the following:
Add below:
Save and upload.
Here is the image!
Open /cache/lang_cache/en/lang_uportal.php and look for the following near the top:
//2.1.0
Add above:
// (FSY21) Members Online Today v3.1 mod by FuSoYa $lang['online_today'] = "Members Online Today:"; $lang['online_today_none'] = "No members have been online yet today"; $lang['online_most_ever'] = "Most members ever online in one day was <b><#COUNT#></b>, last accomplished on <b><#DATE#></b>"; $lang['online_today_list'] = "The following members have visited today:"; $lang['last_active'] = "Last Active"; $lang['mot_expand'] = "Expand"; $lang['mot_collapse'] = "Collapse";
Save and upload.
Then open /sources/action_public/uportal.php and look for the following:
//----------------------------------- // Add in show online users //----------------------------------- if($GLOBALS['setting']['activemembers']) $stats_html .= $this->statfunc->active_users();
Add below:
//-----------------------------------------
// (FSY21) Members Online Today v3.1 mod by FuSoYa
//-----------------------------------------
if ($this->ipsclass->member['g_view_mot'] && $this->ipsclass->vars['show_mot'])
{
$stats_html .= $this->statfunc->most_online();
}Save and upload.
Here is the image!
#4
Posted 13 September 2006 - 07:06 PM
RisingPhoenix did you manage to get this to work as it does not for me, it does nothing at all, can you help me please. I use IPB 2.1.7 the mod works great just the coding provided by redalert19882000 does not. And I would like it to be available on my Portal.
Thank you
Gerry
Thank you
Gerry
#8
Posted 16 September 2006 - 05:03 PM
Alright Gerry here is what you need to do to make it work.
Open /cache/lang_cache/en/lang_uportal.php and look for the following near the top:
Add above:
Save and upload.
Then open /sources/action_public/uportal.php and look for the following:
add below
Let me know if this works!!!!
Open /cache/lang_cache/en/lang_uportal.php and look for the following near the top:
//2.1.0
Add above:
// (FSY21) Members Online Today v3.2 mod by FuSoYa $lang['online_today'] = "Members Online Today:"; $lang['online_today_none'] = "No members have been online yet today"; $lang['online_most_ever'] = "Most members ever online in one day was <b><#COUNT#></b>, last accomplished on <b><#DATE#></b>"; $lang['online_today_list'] = "The following members have visited today:"; $lang['last_active'] = "Last Active"; $lang['mot_expand'] = "Expand"; $lang['mot_collapse'] = "Collapse";
Save and upload.
Then open /sources/action_public/uportal.php and look for the following:
//----------------------------------- // Add in show online users //----------------------------------- if($GLOBALS['setting']['activemembers']) $stats_html .= $this->statfunc->active_users();
add below
//-----------------------------------------
// (FSY21) Members Online Today v3.2 mod by FuSoYa
//-----------------------------------------
if ( $this->ipsclass->vars['show_mot'] && in_array( $this->ipsclass->member['mgroup'], explode( ',', $this->ipsclass->vars['g_view_mot'] ) ) )
{
require_once( ROOT_PATH.'sources/lib/func_mot.php' );
$mot = new func_mot;
$mot->ipsclass =& $this->ipsclass;
$stats_html .= $mot->most_online();
}Let me know if this works!!!!
#14
Posted 17 December 2006 - 06:03 PM
huh.. I've installed (FSY22) Members Online Today v3.2 mod yesterday, and I have uportal 2.2.0 v2, ipb2.2.0..
but I just can't see that //2.1.0 in my /cache/lang_cache/en/lang_uportal.php?
Any idea? ;]
--
I've added variables at the end of list
Like this:
and second moding like RisingPhoenix said. Works now
Thanks RP.
One more question, Dean & Logan announced D22-Shoutbox release for tommorow, with great things in it. wondering if its possible something like this, maybe custom block or whatever, to have it on portal? PLEASE! ;]
but I just can't see that //2.1.0 in my /cache/lang_cache/en/lang_uportal.php?
Any idea? ;]
--
I've added variables at the end of list
Like this:
'guest' => "Guest", 'custom_content' => "Custom Content", 'online_today' => "Members Online Today:"; 'online_today_none' => "No members have been online yet today"; 'online_most_ever' => "Most members ever online in one day was <b><#COUNT#></b>, last accomplished on <b><#DATE#></b>"; 'online_today_list' => "The following members have visited today:"; 'last_active' => "Last Active"; 'mot_expand' => "Expand"; 'mot_collapse' => "Collapse"; ); ?>
and second moding like RisingPhoenix said. Works now
Thanks RP.
One more question, Dean & Logan announced D22-Shoutbox release for tommorow, with great things in it. wondering if its possible something like this, maybe custom block or whatever, to have it on portal? PLEASE! ;]
Edited by lucidservant, 17 December 2006 - 11:34 PM.
#16
Posted 21 December 2006 - 11:54 PM
Gerry, on Dec 20 2006, 03:18 AM, said:
Dont worry about the 2.1.0 just add it to the top of the file. just under the explanation Box. Shoutbox will already show on the Portal as it is going to be a componant therefore you can have it on any page, you just set it in the ACP. 
this is answer on my shoutbox question to you? ;]]]]]
1 user(s) are reading this topic
0 members, 1 guests, 0 anonymous users













