Touda
Forum Replies Created
-
Thanks! That worked, though the user must take the extra step of clicking on the Save button.
Could be a way to automatically send the form just when the link is visited? I think most double opt-in work that way. It would be preferred, because some people could think that just by clicking on the link they received by email they have already confirmed.
Maybe through some Javascript…
onLoad... form.submit()or something like that?Is there a way to show just a message on that page like “Thank you, you’ve been confirmed” (and have the hidden field automatically changed in the background) instead of showing the form and having the user to click on the Save button?
I changed the approach. Using your plugin’s special classes I’ll try to change the field from within a custom template and then have the user click on a “Save and confirm” button.
At the begining of a custom template for using with the
[pdb_record]I’m trying this:$this->set_value("confirmed","Yes");(“Confirmed” is the name of the hidden field I’ve created for this purpose.)
But it doesn’t work. It even prevents the other fields to be shown :-/ Nothing is shown with this template when I add that line at the beginning of the code.
BTW, xnau:
There’s a broken link on https://xnau.com/work/wordpress-plugins/participants-database/using-the-participants-database-plugin/ (see where “Single Record Templates” link points).
Now I’ve got to send the new signer to his/her
[pdb_record]page, but…Is there a way to show just a message on that page like “Thank you, you’ve been confirmed” (and have the hidden field automatically changed in the background) instead of showing the form and having the user to click on the Save button?
Oops! I think this was the reason for the missing link in email: https://wordpress.org/support/topic/record_link-not-being-emailed-or-displayed 🙂
I’m trying but I must be doing something wrong because no link is shown in the email message the user receives when signing up (Signup Response Email):
I’ve included this text:
<p>Please confirm your signature by clicking on this link: [record_link]</p>Do I have the wrong syntax there for the shortcode?
Forum: Plugins
In reply to: [Contact Form 7] Multi redirect based on value😀 Typical! The problem was that logical operator in Javascript is
==, not=(which is assignation), so…on_sent_ok: "if (document.forms[0]["nameofthefield"].value=='Literal value of the option we like to catch') {location = 'http://www.ourdomain.tld/url-of-the-redirection-page';}"will do the trick!
Hope this helps.
Forum: Plugins
In reply to: [Contact Form 7] Multi redirect based on valueI’ve being doing tests like this:
on_sent_ok: "if (document.forms[0]["nameofthefield"].value='Literal value of the option we like to catch') {location = 'http://www.ourdomain.tld/url-of-the-redirection-page';}"But it does not work as it should: it always jumps to that page, no matter the value catched by that if.
I’ve also tried:
on_sent_ok: "if (document.forms[0]["nameofthefield"].value='Literal value of the option we like to catch') {location = 'http://www.ourdomain.tld/url-of-the-redirection-page';} else {void();}"but it this case it never goes to that page!
I must doing something wrong, but I can’t see what :-/
I hope somebody can get the correct JS code for this.
Forum: Plugins
In reply to: [Contact Form 7] Multi redirect based on valueI have the same question. I’ve seen at http://contactform7.com/redirecting-to-another-url-after-submissions/ that we can make redirections.
But what if they are conditional depending on values selected by the user on the submitted form?
First thing I guessed was to try and put an
ifstatement on theon_sent_ok: "location = 'http://example.com/';"but then I saw that Contact Form 7 has no name for forms, so we can’t do validation based on theformname.fieldname.value approach… I guess it could be done through theforms[numberofforminthepage]but it would be dangerous if new forms are added to the page in the future.I think there should be an easier way to do it…
This posts’ title is quite bad: gives no info. Should be “Publicly accessible config, backup, or log file found” or something like that. I’ll create a new post with that title to redirect people here.
If this problem only arises after Wordfence modifies that files after WAF configuration it’s clearly a bug in this last update and feature by Wordfence. Very disappointing!
We shouldn’t be forced to manually repair something that Wordfence spoiled. So, I ask for a new and urgent update that fixes this bug and fixes those files permissions.
If not built-in, I think it could be worked out through the Thank you email sending, letting the user go to
[record_link]and there, putting a special checkmark field, something like Confirmed, which he/she could check or uncheck (if his/her email was abused).This field could be created as a hidden field when the user signs up and its value set to NO.
Anyway, I hope there is an easier solution than this.
Forum: Plugins
In reply to: [SpeakOut! Email Petitions] How to make a field a required fieldI’m wondering just the same. As there seem to be no author’s support here, I guess I’ll have to hack the code myself to get it.
Forum: Themes and Templates
In reply to: [Hueman] Custom CSS in child theme not workingOh, I can’t believe it’s that silly mistake! Fool of me! 🙁
Sorry and thank you for letting me now. Sometimes when you code, you just don’t see those things.
God bless copy-paste! 😀
Sorry about my first message: I didn’t mean Buddypress but bbPress. Sorry! I use to confuse them! 😀
Could Maps Marker simply locate WP users on a map? (no connection to Buddypress)