Viewing 8 replies - 1 through 8 (of 8 total)
  • What I’d do is start by testing whether the Form Craft plugin works on your site. Until you’ve got that sorted, I wouldn’t even think about complicating things with s2Member.

    If you take it one step at a time, it will be much easier to identify the cause of any problems.

    Thread Starter Magellan456

    (@magellan456)

    Hello KTS915,

    Form Craft works well. I’m already using it. I don’t,have a problem here, it’s more of an objective i’m tryin to achieve.

    If Form Craft works well, can’t you use its own conditional logic to show whatever it is you want to show without using s2Member shortcodes?

    Thread Starter Magellan456

    (@magellan456)

    I’m actually speaking with them about what can be done. In the meantime, From what you know, how would i write the condition ? I believe that it’s an AND condition with two ANDS. I Wonder if that’s possible.

    Well, assuming you can get a PHP status that you can use, I think you are going to need to use the ezPHP plugin, and then use actual PHP in your posts.

    You could then do something like this:

    [php]if( is_user_logged_in() && form_craft_php() ){ [/php]
    Your content goes here.
    [php] } [/php]

    Using the PHP shortcodes, rather than regular PHP tags, means that you can enter this in the visual tab (or switch between the visual and text tabs) without the code getting messed up.

    Thread Starter Magellan456

    (@magellan456)

    Thank you for getting back to me KTS915. I’ve received my answer from the plugin author and the logic is only related to the plugin, not the page. However, Formcraft also uses WordPress hooks and filters as you can see here.

    Maybe I can achieve the goal with those. If you have some spare time and would like to dig this with me, I’d be really grateful.

    That’s really beyond my competence, but it looks like you need to use the formcraft_after_save hook and put your code to run your video instead of the ...

    Thread Starter Magellan456

    (@magellan456)

    Thank you very much for taking the time to analyze this. Since it’s also beyond my knowledge, I think I will hire a WordPress developer to help me through this.

Viewing 8 replies - 1 through 8 (of 8 total)
  • The topic ‘s2if after a poll’ is closed to new replies.