• Hey, below is an Question from me.

    “This will be very easy in next wpDiscuz 3.0 Supercharged version”. We are on 3.2.5 now. How can i add it now?

    Best regards
    Jens

    ——————————————

    Hey,

    is there a way to add a checkbox with Text and a link in it next to the Submit button? Or can be loaded the default added thinks to the comment section (the hooks used: https://github.com/inpsyde/Akismet-Privacy-Policies/wiki/Hook-Documentation)? In my example for the Plugin “Akismet Privacy Policies”.

    Best regards

    ———————————————

    gVectors Team

    Hi wassereimer,
    I’m sorry but there isn’t an easy way to do this change. Current comment form doesn’t get all form variables automatically. This will be very easy in next wpDiscuz 3.0 Supercharged version. It comes with form variable serialization and all new fields in comment form will be sent to server w/o any issue. So please wait for 3.0 to do this customization.

    https://wordpress.org/plugins/wpdiscuz/

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

    (@gvectors-team)

    Hi wassereimer,
    As far as I see our support had said it would be easy to add a ceckbox in 3.0 version, because of whole form serializing. Yes, it’s correct.

    So please wait for 3.0 to do this customization.

    And as far as I see, he thought that this customization should be done by you. Have you tried to add a checkbox?

    BTW. If you need to get some information about asked new feature, that’s not necessary to copy/past our emails here. A simple “Any update on this…?” question would be enough to get answer.

    Thread Starter wassereimer

    (@wassereimer)

    Hey gVectors Team,

    on witch way should i do it? It does not work automaticly. The Plugin normaly adds the checkbox to the comment section above the submit button. But wpDiscuz doesn´t use the hooks i think. And to add the do_action hook into the comments.php will not work. Because you don´t use the theme files.

    Sorry, i dind´t know that you can find the original post/question to answer it now. 🙂

    Plugin Author gVectors Team

    (@gvectors-team)

    You should not use comments.php . This file is being loaded through <?php comments_template() ?> function, we load wpDiscuz directly in this function without comments.php. You should add the checkbox in wpdiscuz/utils/class.WpdiscuzHelper.php file, function formBuilder() before comment submit button:

    <input type="button" class="wc_comm_submit button alt"  value="<?php echo $this->optionsSerialized->phrases['wc_submit_text']; ?>" name="submit">

    Thread Starter wassereimer

    (@wassereimer)

    When i add

    <?php do_action( ‘akismet_privacy_policies’ ); ?>

    above the submit button it doesn´t work correct. When i submit a comment, the form doesn´t verify if the checkbox is checked or not.

    Plugin Author gVectors Team

    (@gvectors-team)

    Ok, it can not do such things automatically. You’re asking for Akismet – wpDiscuz integration code. I thought you only need to get checkbox submit data, then you’ll do other Akismet part yourselves. You should have some JS and PHP skills to do such an integration. If you can’t do this, we’ll add this in our to do list and work on this once we got some free time. I’ll update this topic once I got some news for you.

    Thread Starter wassereimer

    (@wassereimer)

    Thank you – but you must not do it.

    I really love your plugin. But there must be an easy way to make such a small customisation. If this is not possible your plugin will never get to the goal where it belongs – Very high active installations.

    I also have another plugin that should have a checkbox above the submit button. You couldn´t do a workaround or an integration for every plugin that normaly adds checkboxes and other things automaticly.

    The other plugin is “Subscribe to Comments Reloaded”. Why i don´t want to use your notification system? Because i don´t want to have two boxes (one for subscription and one comment area). I love the design und functionality from wpDiscuz but i want to use it in another way. If you make such those things possibile you would have a really great plugin. If you also add a post notification system to the plugin you would have THE BEST plugin for wordpress. There is no good plugin for all these things (self-hosted). Keep on the good work! You are on a very good way. 🙂

    Plugin Author gVectors Team

    (@gvectors-team)

    Thank you very much wassereimer,
    Your point of view is very interesting, and yes it would help to grow this plugin for sure. We’ll think about this.

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘Add Checkbox to Submit Button’ is closed to new replies.