Welcome to Centmin Mod Community
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 Active Member

    415
    50
    28
    Apr 11, 2015
    Ratings:
    +98
    Local Time:
    5:52 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

    55,189
    12,251
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +18,829
    Local Time:
    12:52 PM
    Nginx 1.27.x
    MariaDB 10.x/11.4+
    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 Active Member

    415
    50
    28
    Apr 11, 2015
    Ratings:
    +98
    Local Time:
    5:52 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

    55,189
    12,251
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +18,829
    Local Time:
    12:52 PM
    Nginx 1.27.x
    MariaDB 10.x/11.4+
    well scrape + text file include = less overhead :)
     
  5. negative

    negative Active Member

    415
    50
    28
    Apr 11, 2015
    Ratings:
    +98
    Local Time:
    5:52 AM
    1.9.10
    10.1.11
    Yes! but u can't share :ROFLMAO: