Hello, can someone please explain to me how the on page view update work?
I want to make an accomplisment system in my game, and currently the best way I can think of is to put an on page view update on my index.php to check if the player has met any achievement when he clicks on it.
On page view updates
- Jackolantern
- Posts: 10891
- Joined: Wed Jul 01, 2009 11:00 pm
Re: On page view updates
It took me a while to remember the name of the site, but here is the website that, as far as I know, named the "On-View method" (or at least a user there named "Bardic" did). It is also the website who's tutorials popularized this crons alternative in our own community. Anyway, here is the page in the tutorial that outlines the On-View method. I have never tried to implement it into a game unrelated to the rest of that site's tutorial, and am not sure if there would be things missing from it, but you should be able to get the general idea. Of course you can click "Tutorial" in the navigation bar to see other sections of the tutorial as needed
The indelible lord of tl;dr
Re: On page view updates
Thanks! Will give it a read