Author Topic: Who is Online?  (Read 481 times)

Jason Anderson

  • Newbie
  • *
  • Posts: 25
    • View Profile
    • Virtual United States Army Aviation
Who is Online?
« on: December 01, 2017, 01:40:43 AM »
I want to see about adding a block that echos the users that are currently logged into our VA website.
vGEN Jason Anderson
Chief of Staff / Founder
Virtual United States Army Aviation
http://www.vusaa.org

BilKapek

  • Full Member
  • ***
  • Posts: 171
    • View Profile
    • Freedom Sim
Re: Who is Online?
« Reply #1 on: December 01, 2017, 05:52:13 PM »
I want to see about adding a block that echos the users that are currently logged into our VA website.


Hi Jason
here is a piece of code that should be able to help you
last_login.php

Sam.

VAM

  • Administrator
  • Hero Member
  • *****
  • Posts: 1327
    • View Profile
    • virtual Airlines Manager
Re: Who is Online?
« Reply #2 on: December 27, 2017, 10:45:19 PM »
I want to see about adding a block that echos the users that are currently logged into our VA website.


Hi Jason
here is a piece of code that should be able to help you
last_login.php

Sam.

good script & php  :)

FYI: I am changing all the sql request to do not use mysqli , but will use PDO this is part of the 2.6.3 that is on final stage
VAM Creator and programmer.

BilKapek

  • Full Member
  • ***
  • Posts: 171
    • View Profile
    • Freedom Sim
Re: Who is Online?
« Reply #3 on: January 03, 2018, 09:50:30 PM »
hi Alex
in the process of modifying my web also to update PHP-PDO
with Singleton Patterns design
to limit the number of instances with mysql during simultaneous visits, I do not know if you'll do it like that my
I recommend this process (especially for customers with low hosting).

Sam.

VAM

  • Administrator
  • Hero Member
  • *****
  • Posts: 1327
    • View Profile
    • virtual Airlines Manager
Re: Who is Online?
« Reply #4 on: January 25, 2018, 08:24:04 AM »
hi Alex
in the process of modifying my web also to update PHP-PDO
with Singleton Patterns design
to limit the number of instances with mysql during simultaneous visits, I do not know if you'll do it like that my
I recommend this process (especially for customers with low hosting).

Sam.

I'm working since some weeks ago to remove mysqli and to use PHP-PDO, this is the main part of VAM HotFix 03 for VAM 2.6 I had to modify almost all the php files, so the workload is huge. I have completed this in 95%

In the mean time I added some security to SQL connection to avoid a possibel SQL injection. Also the password encrytion is modified in this HF03, and becasue now all the sql statemets pass via a function included in a php I added the posibility to log/debud all the queries done in VAM.

I am really eager to relase this to all of you. Beta testers will be asked very soon


VAM Creator and programmer.

Jason Anderson

  • Newbie
  • *
  • Posts: 25
    • View Profile
    • Virtual United States Army Aviation
Re: Who is Online?
« Reply #5 on: May 06, 2019, 04:38:34 AM »
Any update to the 2.6 Hotfix mentioned here from Alejandro?
vGEN Jason Anderson
Chief of Staff / Founder
Virtual United States Army Aviation
http://www.vusaa.org