Lack of interest Alternative to "Viewing unknown page" phrase on current visitors page

This suggestion has been closed automatically because it did not receive enough votes over an extended period of time. If you wish to see this, please search for an open suggestion and, if you don't find any, post a new one.

xf_phantom

Well-known member
It would be nice, if the admins would get a better message (e.g.the controllername) instead of the default "viewing unknown page" phrase on the current visitors page.

Once you have several addons, it's really hard to find the controller without a custom getSessionActivityDetailsForList function causing this message.
 
Last edited:
Upvote 2
This suggestion has been closed. Votes are no longer accepted.
Current Visitors isn't an unknown page, though. The activity phrase for it is, "Viewing list of online users."
 
If you are viewing a page that doesn't define the session activity, it displays "Viewing Unknown Page." The suggestion has nothing to do with the phrase for when you are viewing the page.
 
If you are viewing a page that doesn't define the session activity, it displays "Viewing Unknown Page." The suggestion has nothing to do with the phrase for when you are viewing the page.

Well, that I understand, but Current Visitors does define session activity, doesn't it?
 
A possible solution would be to implement it into http://xenforo.com/community/threads/add-template-title-to-debuginfo.57480/ (if such cool debugbar make it ever into the core:D )

Replacing the current code with
PHP:
  public static function getSessionActivityDetailsForList(array $activities)
  {
  if (XenForo_Application::debugMode()){
  return 'getSessionActivityDetailsForList not implemented in ' . get_called_class();
  }
  return parent::getSessionActivityDetailsForList($activities);
  }
would also be a HUGE improvement:P
 

Attachments

  • activity3.webp
    activity3.webp
    12.8 KB · Views: 23
  • activity2.webp
    activity2.webp
    10.3 KB · Views: 22
  • activity1.webp
    activity1.webp
    19 KB · Views: 21
Last edited by a moderator:
Back
Top Bottom