• Resolved Danstano

    (@danstano)


    I need to show the form to logged in users by default instead of the message that requires them to be registered. So that the user is prompted to login/register after seeing and filling out the form. Is this possible?

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

    (@antoineh)

    No, this is not possible. The plugin needs a user ID to store the predictions.

    Only if you’re able to store the predictions in a temp variable and hook into the save action you might be able to change the default flow of the plugin. I’ve never tried it, so not even sure if it is possible.

    Thread Starter Danstano

    (@danstano)

    I did not mean saving the predictions. I just need to display the html form. Basically I want the user to see what’s going on. Without seeing the form, the message alone doesn’t tell the user what it’s inside. I want to display the form, whether data is saved or not is not an issue. When they click the save button, they can now be told to register/login but after they see and can interact with the form.

    Plugin Author AntoineH

    (@antoineh)

    Well that’s basically what I am saying. After clicking the save button, the plugin’s flow needs to change and this can only be done by changing the code or finding a hook that can alter the behaviour.

    A simple solution is to use a plugin that can show content based on your logged in status and show a screenshot of the form for people that are not logged in. The predictions page is a normal WP Page that can hold your own content.

    You can create custom banner that will include some text and pictures and upon clicking it , redirect to registration or sign in Screen

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘How to show prediction form for logged out users’ is closed to new replies.