collapse

* Simple Portal Archived Forum

This is an Archive Forum.

The content in this forum may be out-of-date or have been superseded by newer information, and links in forum pages to other sites may not work.
This forum contains archives for future reference.

Visit our thread at Simple Machines Forum for current support.

SMF 2.1 users: EhPortal is a ported version of Simple Portal specifically designed for the SMF 2.1 branch.
Please visit web-develop.ca to download EhPortal and for its support.

* User Info

 
 
Welcome, Guest. Please login or register.

* Who's Online

  • Dot Guests: 412
  • Dot Hidden: 0
  • Dot Users: 0

There aren't any users online.

* Shoutbox

Refresh History
  • Shoutbox is not for support!
  • {OCS}MasterSeal: Yup, Still adore SP
    April 21, 2019, 07:08:06 PM
  • {OCS}MasterSeal: STILL love SP :)
    November 24, 2018, 05:05:50 AM
  • ♦ Ninja ZX-10RR ♦: <3 aegersz
    September 13, 2018, 03:36:09 PM
  • aegersz: I STILL <3 LOVE SimplePortal
    September 13, 2018, 07:11:39 AM
  • aegersz: o LOVE you guys - Simple Portal rocks !
    May 09, 2018, 05:18:59 AM
  • Chen Zhen: our apologies for the site being down.. please read server issues topic
    March 22, 2018, 05:32:38 AM
  • {OCS}MasterSeal: LOL PLEASE forget I just posted that. I found the answer in my own dang post back in 2015. lol sorry!
    July 04, 2017, 10:47:55 PM
  • {OCS}MasterSeal: I know this SB isnt' for support, but I just have a general question. Who would I contact to find out where SP stores its block info? Is it DB driven or files? I searched the site but came up with nothing. probably my fault any insight is appreciated.
    July 04, 2017, 10:43:36 PM
  • ♦ Ninja ZX-10RR ♦: Excuse me but what does Simpleportal have to deal with that?
    February 05, 2017, 08:21:14 PM
  • WhiteEagle: of course IMHO that site appears to be dead :(
    February 04, 2017, 01:08:05 PM
  • WhiteEagle: If I can get that, then I'll use it for that site...
    February 04, 2017, 01:07:35 PM
  • WhiteEagle: decided to not use SMF for any projects, unless I can get a copy of the premium version of the fanfiction archive plugin
    February 04, 2017, 01:06:54 PM
  • expertdecisions: cloudflare
    January 28, 2017, 08:01:47 AM
  • aegersz: SM release 2.0.13 !
    January 12, 2017, 06:00:13 AM
  • raffo: Tks Emanuele, even if I didn't understand the fix :D
    November 07, 2016, 02:01:20 AM
  • emanuele: [link]
    November 01, 2016, 12:43:50 PM
  • emanuele: raffo: the English support board is a good place. ;)
    November 01, 2016, 12:43:38 PM
  • raffo: Where can I find the fix for the shoutbox?
    November 01, 2016, 05:06:09 AM
  • {OCS}MasterSeal: To the SP team, I make a point to come here and thank you as much as possible for your work.  so again, THANK YOU!
    October 28, 2016, 10:38:05 AM
  • emanuele: That's indeed funny, the limit is present only in the patch and not the full install.
    October 22, 2016, 06:14:58 PM

* Recent Posts

Adding Forums Button to Nav bar by jirapon
[August 01, 2019, 09:07:12 AM]


Re: Board Icons by ♦ Ninja ZX-10RR ♦
[July 30, 2019, 04:03:41 PM]


MOVED: Czech translation???? by ♦ Ninja ZX-10RR ♦
[July 30, 2019, 03:04:51 PM]


Board Icons by jirapon
[July 30, 2019, 07:28:44 AM]


Re: Thankyou Simpleportal, by ♦ Ninja ZX-10RR ♦
[July 29, 2019, 09:41:29 AM]

Installation errors? Mod incompatibilities? Upgrade problems? Make your way over to the Install and Upgrade Support board for all your solutions!

Author Topic: Who's Online Unknown Action  (Read 30036 times)

0 Members and 1 Guest are viewing this topic.

Offline avepeachy

  • Semi Newbie
  • *
  • Posts: 9
  • Obligatory Extra
    • Canon World of Harry Potter
  • SMF Version: 2.0.2
  • SP Version: 2.3.5
Who's Online Unknown Action
« on: May 08, 2012, 10:48:38 PM »
EDIT: It wasn't the shoutbox, it is simpleportal period.

I am running SMF 2.0.2 and SimplePortal 2.3.5

Whenever I have simpleportal enabled on my forum, ALL of my member actions under Who's Online are displayed as "unknown action." Is there any way to return the list functionality? Myself and my members use this feature frequently and I don't want to lose simpleportal just to return it.
« Last Edit: May 15, 2012, 06:05:26 PM by avepeachy »
<><

Offline avepeachy

  • Semi Newbie
  • *
  • Posts: 9
  • Obligatory Extra
    • Canon World of Harry Potter
  • SMF Version: 2.0.2
  • SP Version: 2.3.5
Re: Who's Online Unknown Action
« Reply #1 on: May 15, 2012, 06:06:07 PM »
Anyone? Bueller? Bueller?
<><

Offline Normally

  • Jr. Member
  • **
  • Posts: 53
  • Gender: Male
  • SMF Version: 2.0.2
  • SP Version: 2.3.5
Re: Who's Online Unknown Action
« Reply #2 on: May 15, 2012, 06:09:47 PM »
I have the same.


Stef.

Offline abvs

  • Semi Newbie
  • *
  • Posts: 17
  • SMF Version: 2.0.7
  • SP Version: 2.3.5
Re: Who's Online Unknown Action
« Reply #3 on: May 28, 2012, 07:26:19 AM »
also have this problem...

Offline Kryzen

  • Localizer
  • Language
  • *
  • Posts: 826
  • Gender: Male
  • SMF Version: 2.0.11
  • SP Version: 2.3.6
Re: Who's Online Unknown Action
« Reply #4 on: May 28, 2012, 07:42:40 AM »
I can't reproduce this problem on this site and I don't have access to my local Simple Portal installation right now, but what blocks are enabled? Do you have any other mods installed?

Offline Normally

  • Jr. Member
  • **
  • Posts: 53
  • Gender: Male
  • SMF Version: 2.0.2
  • SP Version: 2.3.5
Re: Who's Online Unknown Action
« Reply #5 on: June 06, 2012, 07:39:33 PM »
If you want i can give you a administrator account?
Than you can see what happens.

Stef.

Offline AngelinaBelle

  • Comrade
  • *
  • Posts: 4870
  • Gender: Female
  • SMF Version: 2 RC3
  • SP Version: 2.3.2
Re: Who's Online Unknown Action
« Reply #6 on: June 07, 2012, 08:57:20 AM »
As you can see, on this site, Who's online gives information about most users online:
http://simpleportal.net/index.php?action=who;start=0;show=all;sort=user

The issue may have to do with the actions chosen.  It may have to do with other mods installed. It may take some time to track down the problem.
Please to keep this website running, if you like SimplePortal, make a
one-time subscription. Thank you for your support.

Have you tried the SimplePortal documentation?

Offline Aimee

  • Semi Newbie
  • *
  • Posts: 12
  • SMF Version: 2.0.2
  • SP Version: 2.3.5
Re: Who's Online Unknown Action
« Reply #7 on: June 22, 2012, 04:30:54 AM »
I have this problem too.  I'll see what I can find internally.

The site I'm now doing has a bunch of packages:
Stars And Badges      2.2
AjaxChat Integration   3.2.2b
WYSIWYG Quick Reply   2.3
SMF 2.0.2 Update      1.0
Order Custom Profile Fields    1.1.1
Member NotePad      2.0.2
Karma Description Mod   2.7.1
Tapatalk SMF 2.0 RC4/RC5/Final Plugin   3.0.0
Switch Permissions   1.0
Member Color Link      3.1
SMFShop         3.1.7
Post Unapproval      1.1.4
Aeva Media      1.4w
SimplePortal      2.3.5
SMF Staff Page      1.7
SMF Bay         2.0rc1
Member Awards      2.2.3
SMF Links      2.3.2
Topic Solved      1.1.1
Bookmarks      2.3

Thank you!
« Last Edit: July 10, 2012, 07:53:50 AM by Aimee »

Offline AngelinaBelle

  • Comrade
  • *
  • Posts: 4870
  • Gender: Female
  • SMF Version: 2 RC3
  • SP Version: 2.3.2
Re: Who's Online Unknown Action
« Reply #8 on: June 22, 2012, 07:59:15 AM »
That is a very long list of mods.

If you want to figure out the problem, you could try uninstalling mods in the reverse order they were installed, looking each time to see if/when the problem goes away.

Please give this a try.
Please to keep this website running, if you like SimplePortal, make a
one-time subscription. Thank you for your support.

Have you tried the SimplePortal documentation?

Offline Aimee

  • Semi Newbie
  • *
  • Posts: 12
  • SMF Version: 2.0.2
  • SP Version: 2.3.5
Re: Who's Online Unknown Action
« Reply #9 on: June 22, 2012, 09:30:02 AM »
Ok; I can do that on my development system.

Here's some more info on what I've seen so far.

Who's Online seems to work ok; the problem is that the url_list from which it's working (about line 325 in Who.php) does not have the right level of detail -- as though every shoutbox update (mine is set to 30 seconds) supersedes the post/display info.  Maybe that helps you, but I'll also try to track it back to the origin of the url_list.

Thanks so far.

Offline AngelinaBelle

  • Comrade
  • *
  • Posts: 4870
  • Gender: Female
  • SMF Version: 2 RC3
  • SP Version: 2.3.2
Re: Who's Online Unknown Action
« Reply #10 on: June 22, 2012, 11:04:52 AM »
Tracking it back to the url_list could help you make sense of it. 

And remember -- this is not just about Simple Portal. Whois works fine on SimplePortal.net, for example.

It seems like it is some collision with some other thing. Or a larger collision between a number of mods.
Or dependant on one or more settings.
If you can narrow it down, you'll have a lot more to go on.

Could be a pain to figure out; good luck!
Please to keep this website running, if you like SimplePortal, make a
one-time subscription. Thank you for your support.

Have you tried the SimplePortal documentation?

Offline Aimee

  • Semi Newbie
  • *
  • Posts: 12
  • SMF Version: 2.0.2
  • SP Version: 2.3.5
Re: Who's Online Unknown Action
« Reply #11 on: June 22, 2012, 04:09:32 PM »
Ok the salient part is in the writeLog function in Subs.php, which uses session info to write to {db_prefix}log_online from session data, which is then re-read in Who's Online.

I'm starting to think that it's related to the following effect:  If I let my browser sit and just watch the shoutbox, the user never "falls off the bottom" of Who's Online, whereas it used to in 2.3.3.  It's as though the shoutbox now automatically and actively issues a shoutbox-refresh statement rather than passively waiting for more content.  Stated differently, Who's Online is accurate until the first shoutbox refresh.

Should be able to remove modules this weekend.

Offline Metacritter

  • Newbie
  • Posts: 4
  • SMF Version: 2.0.2
  • SP Version: 2.3.5
Re: Who's Online Unknown Action
« Reply #12 on: June 22, 2012, 06:50:46 PM »
I am seeing the same effect on my 2.0.2-2.3.5 forum with very few mods.

Tracing past the writeLog() function, I noticed this in my index.php smf_main()

Shouldn't writeLog() be inside the "// Don't track stats of portal xml actions" block?  Stepping over the code skips that block from a shoutbox refresh but not from a page load, so the detection appears to be working as the comment indicates.

Lines 192-205 of index.php
Code: [Select]
    // Do some logging, unless this is an attachment, avatar, toggle of editor buttons, theme option, XML feed etc.
    if (empty($_REQUEST['action']) || !in_array($_REQUEST['action'], array('dlattach', 'findmember', 'jseditor', 'jsoption', 'requestmembers', 'smstats', '.xml', 'xmlhttp', 'verificationcode', 'viewquery', 'viewsmfile')))
    {
        // Log this user as online.
        writeLog();

        // Don't track stats of portal xml actions.
        if (empty($_REQUEST['action']) || $_REQUEST['action'] != 'portal' || !isset($_GET['xml']))
        {
            // Track forum statistics and hits...?
            if (!empty($modSettings['hitStats']))
                trackStats(array('hits' => '+'));
        }
    }



[Edit: From here down.  Tested and reporting a fix on my install]
Changed the placement of writeLog(), confirmed that I'm back to the behavior I expected to see from 2.3.3.  (No "Who's Online" time bump for users idling on a page containing an auto-refreshing shoutbox, normal bumps for normal navigation.) 
Code: [Select]
// Do some logging, unless this is an attachment, avatar, toggle of editor buttons, theme option, XML feed etc.
if (empty($_REQUEST['action']) || !in_array($_REQUEST['action'], array('dlattach', 'findmember', 'jseditor', 'jsoption', 'requestmembers', 'smstats', '.xml', 'xmlhttp', 'verificationcode', 'viewquery', 'viewsmfile')))
{
// Don't track stats of portal xml actions.
if (empty($_REQUEST['action']) || $_REQUEST['action'] != 'portal' || !isset($_GET['xml']))
{

// Log this user as online.
writeLog();

// Track forum statistics and hits...?
if (!empty($modSettings['hitStats']))
trackStats(array('hits' => '+'));
}
}

Aimee, I notice that you talked about prior behavior in 2.3.3.  Did you skip 2.3.4?  I jumped versions from 2.3.3 to 2.3.5.  I wonder if this causes issues with how the install is applied?
« Last Edit: June 22, 2012, 07:28:00 PM by Metacritter »

Offline Aimee

  • Semi Newbie
  • *
  • Posts: 12
  • SMF Version: 2.0.2
  • SP Version: 2.3.5
Re: Who's Online Unknown Action
« Reply #13 on: June 22, 2012, 08:55:46 PM »
You're onto something.  If the session data is loaded differently than in 2.3.3, which I've seen it is, then it could confuse the code you've highlighted and other code dependent on the session objects such as the contents of Who's Online.

When I saw that 2.3.5 said to uninstall SP entirely, I took that to mean 2.3.5 is, like, self-contained.

Further, I've seen that my guests (spiders, mostly) both age out and work in who's online correctly.
« Last Edit: June 22, 2012, 09:53:45 PM by Aimee »

Offline Aimee

  • Semi Newbie
  • *
  • Posts: 12
  • SMF Version: 2.0.2
  • SP Version: 2.3.5
Re: Who's Online Unknown Action
« Reply #14 on: June 22, 2012, 09:54:41 PM »
Yes, Metacritter, I skipped 2.3.4.  Just now I went back to 2.3.3, then did 2.3.4, then 2.3.5.  Same weird symptoms; no difference.

Made the (very sensible) change you suggested, and everything is good now  :)

This is Solved for me!  Thank you very much!

Offline Metacritter

  • Newbie
  • Posts: 4
  • SMF Version: 2.0.2
  • SP Version: 2.3.5
Re: Who's Online Unknown Action
« Reply #15 on: June 22, 2012, 10:02:48 PM »
That's great!  And thank you very much!  Without your pointer on where to start looking, this would surely have taken me ages to figure out.  :)
Yes, Metacritter, I skipped 2.3.4.  Just now I went back to 2.3.3, then did 2.3.4, then 2.3.5.  Same weird symptoms; no difference.

Made the (very sensible) change you suggested, and everything is good now  :)

This is Solved for me!  Thank you very much!

Offline Normally

  • Jr. Member
  • **
  • Posts: 53
  • Gender: Male
  • SMF Version: 2.0.2
  • SP Version: 2.3.5
Re: Who's Online Unknown Action
« Reply #16 on: July 10, 2012, 07:01:19 AM »
Thanks,

This works very good.

Stef.

Offline avepeachy

  • Semi Newbie
  • *
  • Posts: 9
  • Obligatory Extra
    • Canon World of Harry Potter
  • SMF Version: 2.0.2
  • SP Version: 2.3.5
Re: Who's Online Unknown Action
« Reply #17 on: July 23, 2012, 03:15:23 PM »
I think this may have gone off course... My problem isn't with displaying who's online, it's with displaying their actions.

When I click to view who's online and see what they are doing, their action is displayed as "action unknown." I would like to be able to see the actions again.
<><

Offline Aimee

  • Semi Newbie
  • *
  • Posts: 12
  • SMF Version: 2.0.2
  • SP Version: 2.3.5
Re: Who's Online Unknown Action
« Reply #18 on: July 23, 2012, 04:44:38 PM »
Uh, no, it's right.  The contents of my Who's Online became pointless until I made the change above.

Offline avepeachy

  • Semi Newbie
  • *
  • Posts: 9
  • Obligatory Extra
    • Canon World of Harry Potter
  • SMF Version: 2.0.2
  • SP Version: 2.3.5
Re: Who's Online Unknown Action
« Reply #19 on: July 30, 2012, 04:13:33 PM »
I made the change above as well and I am still encountering the same problem of a majority of my members being displayed with unknown action under the Who's Online.
<><