0
Welcome Guest! Login
0 items Join Now

SOLVED Who's Online Module

    • DouglasB's Avatar
    • DouglasB
    • Sr. Rocketeer
    • Posts: 107
    • Thanks: 2

    SOLVED Who's Online Module

    Posted 11 years 10 months ago
    • Hello,

      I was not sure where to post this question, so I thought I would try here. Hope that is ok.

      Regarding the 'Who's Online' module, currently it states this:

      We have XXX guests and XXX members online.

      What I would like to do is just show the number of guests that are browsing the website and not the number of members that are online. So like this:

      We have XXX guests online.

      Does anyone have any thoughts on how I would go about this mod?
      Thank you for your help.
    • ~Douglas
    • Who?'s Avatar
    • Who?
    • Preeminent Rocketeer
    • Posts: 25562
    • Thanks: 613
    • Joomla freelancer

    Re: SOLVED Who's Online Module

    Posted 11 years 10 months ago
    • You will have to change source code for the module and remove that part which counts for a number of active members online 8)
    • Check my services at: Mihha-Vision
    • DouglasB's Avatar
    • DouglasB
    • Sr. Rocketeer
    • Posts: 107
    • Thanks: 2

    Re: SOLVED Who's Online Module

    Posted 11 years 10 months ago
    • I figured that would be the case. Would you mind elaborating a bit?
      Code is not really my forte.
      Thank you for the reply Igor.
    • ~Douglas
    • Who?'s Avatar
    • Who?
    • Preeminent Rocketeer
    • Posts: 25562
    • Thanks: 613
    • Joomla freelancer

    Re: SOLVED Who's Online Module

    Posted 11 years 10 months ago
    • I honestly can't. I am not developer. Especially not core Joomla developer. Maybe you should ask the same question in official Joomla forum?
    • Check my services at: Mihha-Vision
    • Henning's Avatar
    • Henning
    • Preeminent Rocketeer
    • Posts: 29362
    • Thanks: 954
    • Volunteer

    Re: SOLVED Who's Online Module

    Posted 11 years 10 months ago
    • 1. you can create a folder called
      mod_whosonline
      in the html folder of the template.

      2. copy /modules/mod_whosonline/tmpl/default.php
      in this new-folder

      3. rename this file to extra.php (just an example)

      4. open that file

      find
      <p><?php echo JText::sprintf('MOD_WHOSONLINE_WE_HAVE', $guest, $member); ?></p>
      and replace it with
      <p>... we have <?php echo $guest; ?> online</p>
      (change the text to something you like)

      5. in the "Advanced Options" of theat module
      chnage
      "Alternative Layout" from "default" to "extra" ...
    • DouglasB's Avatar
    • DouglasB
    • Sr. Rocketeer
    • Posts: 107
    • Thanks: 2

    Re: SOLVED Who's Online Module

    Posted 11 years 10 months ago
    • Absolutely brilliant !!!
      Thank you Igor, and thank you Henning for your details on how to solve this. The module is working exactly as I had hoped for now.
      Did i mention brilliant !!! ?
    • ~Douglas

Time to create page: 0.056 seconds