• Resolved Murillo Ferrari

    (@murilloferrari)


    Hello, @antoineh.

    Is there a way to create a log to register EVERY prediction made by users?

    I mean, what I want is a way to “track” their action in my Pool, so, IF needed, I can compare their inputs with their action registered in this LOG…

    I have a pool with 70 user and 4 of them zeroed the 1st match because only one of the scores were saved in the DB (and they garanteed their input was complete)…

    I was using the “hide save button” option…

    Thanks,

    The page I need help with: [log in to see the link]

Viewing 7 replies - 1 through 7 (of 7 total)
  • Plugin Author AntoineH

    (@antoineh)

    hi @murilloferrari,

    No, unfortunately there is no log in the plugin that keeps track of every save. There are some activity logging plugins, but I do not know if those can also track changes in tables that are not part of the standard WP tables.

    Thread Starter Murillo Ferrari

    (@murilloferrari)

    Thanks, @antoineh.

    I’m still testing logging plugins to track users predictions…

    I’m running 2 different WC Prediction sites with your plugin (with pretty much the same configs).

    What is bothering and intriguing me is the fact that in only ONE of them some users have this issue where a side of their prediction is not properly saved (and I wasn’t able yet to find a common ground in those cases to figure out a fix the problem…)

    (Uma coisa que todos parecem ter em comum: esses usuários fizeram apostas com seus celulares – e aqui no Brasil o sinal pode ser intermitente…)

    Plugin Author AntoineH

    (@antoineh)

    Bad connections can indeed be a problem for asynchronous saves. There is a loading animation when you change a value (to indicate that the field is being saved), but if it is ignored or not seen and the user clicks away from the page, then there is a chance that the save request did not finish/fire in time.

    If you want to disable frontend AJAX saves, then add the following to your wp-config:
    define( 'FOOTBALLPOOL_FRONTEND_AJAX', false );

    But then users will have to click the save button to save their predictions and it won’t be done automatically anymore.

    Thread Starter Murillo Ferrari

    (@murilloferrari)

    @antoineh,

    Again, I appreciate very, very much your AMAZING support.

    The last paragraph of my previous message, in English, was: (One thing they all seem to have in common: these users placed bets with their cell phones – and here in Brazil the signal can be intermittent…)

    I think you figure it out because your reply was 100% in line with this point.

    We have a “council” in our World Cup Prediction sites and they opted to keep the asynchronous saves.

    We will, however, reinforce the fact that it is necessary to wait for the end of the animation to guarantee the saving of guesses.

    Thanks again. Best Wishes,

    @antoineh is it possible to add time of entry in pool_wprw_predictions db table so this can be shown on the prediction page i.e. the time when user made the predictions. I had similar issues when user that didnt make any prediction (nothing saved in db) contesting that he did made a prediction and blaming the system instead for not saving.

    Plugin Author AntoineH

    (@antoineh)

    @af3 If the system is the problem, then adding a timestamp to the table won’t make any difference since adding the timestamp would also happen at the same time of the save. But your user said that the system didn’t save ??

    I’ll check if I can create something that will display the time of the last save for the user combined with a full log of save actions (some sort of audit trail). But I don’t expect to have something ready in the near future.

    Yeah, some users will blame anything ?? The timestamp is just a way like what you said, an audit trail — this will help the users to understand what happened even if not 100%.

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘Log every user prediction’ is closed to new replies.