e
Forum Replies Created
-
Thank you Christian! Have a great day ??
Forum: Plugins
In reply to: [WooCommerce Bulk Discount] Table Pricing on the product pageThis is a much needed feature, right now users don’t realise bulk discounts exist until they go to the Checkout page.
Forum: Plugins
In reply to: [Contact Form 7] [Plugin: Contact Form 7] Modify posted data before sending@ toomaat
Each form has an ID:
$wpcf7_data->id
so once you know the ID of the Apply forms you can put a conditionalif($wpcf7_data->id == 123)
and take action only for that formForum: Plugins
In reply to: [Contact Form 7] [Plugin: Contact Form 7] Modify posted data before sendingHi strigga,
You can do pretty much anything, some examples:
1) if the user typed in the word “support” or “help” you could change the recipient to [email protected], but if it found “business enquiry” forward it to [email protected].
2) Same goes for a City field, if the user is in London you could send the email to the London branch.
3) Or if the form was submitted on a weekend, when the offices are closed, you can send a confirmation email like “Thanks for your email, unfortunately we are out of the office, will get back to you on Monday“.
4) If there is a budget field and the user types in “1,000” then forward it to [email protected], but if the user types in “10,000,000” then the boss will probably want to deal with that juicy client himself.
There’s plenty of examples really, the idea is to have fewer forms on the site (or even just one) which then through some smart coding can do custom actions or change certain things.
Forum: Plugins
In reply to: [Contact Form 7] [Plugin: Contact Form 7] email to multiple recipients?Sorry, the code above will not work for you.
If you want the user to type in the emails and then resend emails you need to change the CF7 object’s recipient like this:
$WPCF7_ContactForm->mail['recipient'] = "[email protected],[email protected],[email protected],[email protected],[email protected],";
Here’s a more detailed explanation on how to create your plugin and add your custom code (you’ll need to know a bit of PHP): Creating a WordPress plugin
Got it! Check here:
Forum: Plugins
In reply to: [Contact Form 7] [Plugin: Contact Form 7] Is Conditional Redirect Possible?Hi EfremJ,
Here’s an article with exactly your example:
WordPress Contact Form 7 Hook Unofficial Developer Documentation and Examples
See Changing email recipient dynamically depending on code
Forum: Plugins
In reply to: [Contact Form 7] [Plugin: Contact Form 7] Modify posted data before sendingOk, finally got it. It turns out the WPCF7 thing is an Object with Arrays inside so it should be called like:
$wpcf7_data->mail['recipient'] = "Mark <[email protected]>";
Hope that helps ??
Forum: Plugins
In reply to: [Contact Form 7] [Plugin: Contact Form 7] email to multiple recipients?Yes, type a comma after each one:
John <[email protected]>,Mark <[email protected]>
Forum: Plugins
In reply to: [Contact Form 7] [Plugin: Contact Form 7] dynamic email messageBump! Bump! Also interested in this, is there any way to change the data before sending?
Forum: Plugins
In reply to: [BackType Connect] This plugin appears to be unsupportedYes, this plugin has been retired. It’s a shame because it worked really well but the company cannot keep up with such a high demand:
Unfortunately, because of the demanding needs of the plugin (to update conversations in a timely fashion) and limited resources we won’t be able to support it any longer.
There are two alternatives/fixes to it:
1) Use Disqus (powered by BackType)
2) Update the plugin to reflect the new BackType APIOfficial blog article (and steps to fix the plugin): https://blog.backtype.com/2010/10/retiring-the-backtype-connect-wordpress-plugin/
Forum: Plugins
In reply to: [WP-Members Membership Plugin] Style/customize emailsSounds great Chad,
Version 2.7 is going to bring a lot of improvements! It’s good to know we can, for now, customize the …email.php file without risking an accidental data loss when upgrading ??
Thanks for your effort on the plugin, it is honestly the best one I’ve found around the plugin database and your dedication to it is greatly valued.Can’t wait for WP-Members 2.7… ??
Cheers for all
Forum: Plugins
In reply to: [WP-Members Membership Plugin] Allow users to choose own passwordThanks for the quick response Chad,
This will probably turn me back in fully implementing the plugin as my target audience is non-technical at all and requiring a user to “(1) register (2) go to email and activate account (3) login with encrypted hard-to-remember password (4) find the account profile link in the website and (5) edit the account profile to change password to something he/she can remember” is such a complicated process that most of the non-techy users will just login once, do what they need to do and abandon the password change process (I personally consider a huge security issue to send an email to the user with the plain password in there, but that is another issue discussed in WP trac).
Because of this large tedious process, websites loose a big amount of returning users, specially in non-technical environments where people are more reluctant to use computers and navigate through complicated steps like the above mentioned.
Anyway, you’ve done a great job with the plugin and I will be definitely looking forward to version 2.7 and onwards.
Thanks for your time!
Forum: Hacks
In reply to: Class function calling another class as global (wrong scope?)The code belonged to a former developer, and wasn’t intended for WP. Just rewritten everything again to have a logical OOP structure that creates particular objects inside methods when needed, etc. Also adapted it to use functions so they are accessible through WP without hacks and everything keeps simplified, logical, scalable and secure
Forum: Plugins
In reply to: Error activating Breadcrumb NavXTHi lilblogger,
1and1 uses PHP4 by default and Breadcrumb NavXT needs PHP5.
The solution is to add:
AddType x-mapp-php5 .php AddHandler x-mapp-php5 .php
Into your .htaccess file. This will force 1and1 to use PHP5 and will fix the plugin error.
Cheers,
Xavi