Jump to content


(FSY21) Members Online Today v3.1 by FuSoYa


  • You cannot reply to this topic
16 replies to this topic

#1 RisingPhoenix

    Advanced Member

  • Administrators[Admin]
  • PipPipPip
  • 249 posts
  • Gender:Male
  • Location:Fort Benning, GA
  • Interests:I am currently in the US Army. I am not a coder. I am really familiar with Unreal Portal and IPB. So if it isn't in reference to something I have on my site ba4life.com then there isn't much I can do to help you.<br /><br />I am a normal user like most of you. Please don't invade my personal life by asking me questions that can already be found on this website.

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
Posted Image
MultiGaming Clan Playing Games since 1997

#2 redalert19882000

    Advanced Member

  • Members
  • PipPipPip
  • 54 posts

Posted 29 May 2006 - 01:24 PM

just know php!

:P :P

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!


Posted Image

#3 RisingPhoenix

    Advanced Member

  • Administrators[Admin]
  • PipPipPip
  • 249 posts
  • Gender:Male
  • Location:Fort Benning, GA
  • Interests:I am currently in the US Army. I am not a coder. I am really familiar with Unreal Portal and IPB. So if it isn't in reference to something I have on my site ba4life.com then there isn't much I can do to help you.<br /><br />I am a normal user like most of you. Please don't invade my personal life by asking me questions that can already be found on this website.

Posted 29 May 2006 - 03:38 PM

Thanks im learning it I knew what had to be added just wasn't sure where.
Posted Image
MultiGaming Clan Playing Games since 1997

#4 Gerry

    Advanced Member

  • Members
  • PipPipPip
  • 71 posts
  • Gender:Male
  • Location:St Helens - UK -

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

#5 RisingPhoenix

    Advanced Member

  • Administrators[Admin]
  • PipPipPip
  • 249 posts
  • Gender:Male
  • Location:Fort Benning, GA
  • Interests:I am currently in the US Army. I am not a coder. I am really familiar with Unreal Portal and IPB. So if it isn't in reference to something I have on my site ba4life.com then there isn't much I can do to help you.<br /><br />I am a normal user like most of you. Please don't invade my personal life by asking me questions that can already be found on this website.

Posted 14 September 2006 - 05:15 PM

Yes I did get it to work you can see it on my site BA4LIFE

Make sure you have installed the mod completely.

Go back and check your edits, then place the code that redalert posted.
Posted Image
MultiGaming Clan Playing Games since 1997

#6 Gerry

    Advanced Member

  • Members
  • PipPipPip
  • 71 posts
  • Gender:Male
  • Location:St Helens - UK -

Posted 15 September 2006 - 07:09 PM

I have followed everything to the letter and it does not work for me im afraid.

Thanks for your help buddy

Gerry

#7 Gerry

    Advanced Member

  • Members
  • PipPipPip
  • 71 posts
  • Gender:Male
  • Location:St Helens - UK -

Posted 16 September 2006 - 04:20 PM

Now I know why it does not work, reading redalerts script above it is for version 3.1 and I have version 3.2 installed, can you think of any reason there is a difference, and if you are on Redalert could you look for me please.

Thanks

Gerry

#8 RisingPhoenix

    Advanced Member

  • Administrators[Admin]
  • PipPipPip
  • 249 posts
  • Gender:Male
  • Location:Fort Benning, GA
  • Interests:I am currently in the US Army. I am not a coder. I am really familiar with Unreal Portal and IPB. So if it isn't in reference to something I have on my site ba4life.com then there isn't much I can do to help you.<br /><br />I am a normal user like most of you. Please don't invade my personal life by asking me questions that can already be found on this website.

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:

//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!!!!
Posted Image
MultiGaming Clan Playing Games since 1997

#9 Gerry

    Advanced Member

  • Members
  • PipPipPip
  • 71 posts
  • Gender:Male
  • Location:St Helens - UK -

Posted 16 September 2006 - 05:10 PM

Hey man your da man, thank you very very much buddy, you are da man

Thank you

Gerry

#10 RisingPhoenix

    Advanced Member

  • Administrators[Admin]
  • PipPipPip
  • 249 posts
  • Gender:Male
  • Location:Fort Benning, GA
  • Interests:I am currently in the US Army. I am not a coder. I am really familiar with Unreal Portal and IPB. So if it isn't in reference to something I have on my site ba4life.com then there isn't much I can do to help you.<br /><br />I am a normal user like most of you. Please don't invade my personal life by asking me questions that can already be found on this website.

Posted 16 September 2006 - 05:12 PM

:) No problem sorry wasn't aware there was a version 3.2 or I could have helped you do it earlier.
Posted Image
MultiGaming Clan Playing Games since 1997

#11 agnwstos

    Member

  • Members
  • PipPip
  • 16 posts

Posted 26 September 2006 - 05:42 AM

View Postredalert19882000, on May 29 2006, 02:24 PM, said:

Here is the image!
Posted Image



could you tell me from which site is this image ??
if you want via pm system. :D


ThankS

#12 Sweetz

    Member

  • Members
  • PipPip
  • 11 posts

Posted 26 September 2006 - 11:51 PM

Awesome RisingPhoenix thank you.I had been waiting for this to be released.Looks great on the portal.

#13 Gerry

    Advanced Member

  • Members
  • PipPipPip
  • 71 posts
  • Gender:Male
  • Location:St Helens - UK -

Posted 09 December 2006 - 08:37 AM

And still works with 2.2 as well, nice one :rolleyes:

#14 lucidservant

    Member

  • Members
  • PipPip
  • 22 posts

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:
'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.


#15 Gerry

    Advanced Member

  • Members
  • PipPipPip
  • 71 posts
  • Gender:Male
  • Location:St Helens - UK -

Posted 19 December 2006 - 07:18 PM

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. :rolleyes:

#16 lucidservant

    Member

  • Members
  • PipPip
  • 22 posts

Posted 21 December 2006 - 11:54 PM

View PostGerry, 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. :rolleyes:

this is answer on my shoutbox question to you? ;]]]]]

#17 NFBSLowrider

    Newbie

  • Members
  • Pip
  • 8 posts

Posted 08 August 2008 - 12:52 PM

nice post RisingPhoenix, a FAQ needs to be made for this mod. and your post should be in it. only took me 3 days to find this post lol





1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users