Learn about Centmin Mod LEMP Stack today
Become a Member

Xenforo How to get the total online user count globally

Discussion in 'Forum software usage' started by negative, Mar 6, 2016.

  1. negative

    negative Member

    212
    20
    18
    Apr 11, 2015
    Ratings:
    +48
    Local Time:
    5:17 AM
    1.9.10
    10.1.11
    Hello (Especially to @eva2000 because he did that)

    I want to get online user count to sidebar or header line in xenforo, how is it possible ? Also, i wanna get the total online user count to my custom portal software too.

    For example; CentminMod.com LEMP Fully Optimized Nginx web stack for CentOS shows the total forum online user count at header of homepage. I want same, both forum header too.
    Ekran Resmi 2016-03-06 15.25.49.png
     
  2. eva2000

    eva2000 Administrator Staff Member

    28,987
    6,579
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +9,767
    Local Time:
    12:17 PM
    Nginx 1.13.x
    MariaDB 5.5
    For xenforo probably better ask on xenforo forum as no idea there. For centminmod.com site it's just shell scripting to scrape the member count off my forum index into a text file on server and include that number into my site via cronjob. Can't share my scripts though.
     
  3. negative

    negative Member

    212
    20
    18
    Apr 11, 2015
    Ratings:
    +48
    Local Time:
    5:17 AM
    1.9.10
    10.1.11
    Thank you anyway, i thought need to create a custom add-on for do this :)
     
  4. eva2000

    eva2000 Administrator Staff Member

    28,987
    6,579
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +9,767
    Local Time:
    12:17 PM
    Nginx 1.13.x
    MariaDB 5.5
    well scrape + text file include = less overhead :)
     
  5. negative

    negative Member

    212
    20
    18
    Apr 11, 2015
    Ratings:
    +48
    Local Time:
    5:17 AM
    1.9.10
    10.1.11
    Yes! but u can't share :ROFLMAO:
     
    • Like Like x 1