Jump to content

Getting the who's online widget to display counts?


Go to solution Solved by opentype,

Recommended Posts

How can I get the who's online widget to display the counts for guests and members/anonymous etc.

I am struggling to find out how though I'm sure there's an option somewhere. I use the page builder and add the widget but it only shows the member online which right now is only me. Does not show the counts for the members or guests. How do I display the count?

Do I need to know some template knowledge or is it an option I'm not seeing? If so, can you provide the template code real fast. Thank you for helping if you can.

Link to comment
Share on other sites

17 minutes ago, Bradley Padgett said:

How can I get the who's online widget to display the counts for guests and members/anonymous etc.

I am struggling to find out how though I'm sure there's an option somewhere. I use the page builder and add the widget but it only shows the member online which right now is only me. Does not show the counts for the members or guests. How do I display the count?

Do I need to know some template knowledge or is it an option I'm not seeing? If so, can you provide the template code real fast. Thank you for helping if you can.

There is no built in option for that a.f.a.i.k. That will require custom coding.

A template edit only is not enough. The whosOnline.php file located at applications/core/widgets will have to be modified too.

Link to comment
Share on other sites

27 minutes ago, Miss_B said:

There is no built in option for that a.f.a.i.k. That will require custom coding.

A template edit only is not enough. The whosOnline.php file located at applications/core/widgets will have to be modified too.

If you go some route like this, it would be advised to do a plugin rather than modifying the core files (of course, self-hosted as the access is not there on Cloud). Modifying the core files will make things hard to upgrade and if any issue come from modifying core files, we will need the core files restored before providing support.

Link to comment
Share on other sites

1 minute ago, Jim M said:

If you go some route like this, it would be advised to do a plugin rather than modifying the core files (of course, self-hosted as the access is not there on Cloud). Modifying the core files will make things hard to upgrade and if any issue come from modifying core files, we will need the core files restored before providing support.

Of course. Modifying of files is not advisable.  What I meant to say above is that a template edit only was not enough, as the OP asked, but other stuff was required too. 

Link to comment
Share on other sites

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...