TheBecoming
Forum Replies Created
-
Forum: Plugins
In reply to: [WPC Name Your Price for WooCommerce] Invalid price. Please try again!Running into the same issue. Even if I put in the step interval of .01. Apparently this plugin will only accept whole numbers when adding to the cart.
For a quick and dirty solution that will get overwritten on an update:
includes/wpc-core.php Line 210Change:
if ( ( $woonp_min && ( $woonp_price < $woonp_min ) ) || ( $woonp_max && ( $woonp_price > $woonp_max ) ) || ( $woonp_mod != intval( $woonp_mod ) ) ) {To this:
if ( ( $woonp_min && ( $woonp_price < $woonp_min ) ) || ( $woonp_max && ( $woonp_price > $woonp_max ) ) || ( !is_float($woonp_mod) ) ) {then save the file. It changes the check, if not a whole number: $woonp_mod != intval( $woonp_mod ) to if not a float number (whole or number with decimal).
I didn’t look through the rest of the code but this change fixed it for me so I can have numbers like 100.01 or 100.
Forum: Plugins
In reply to: How to add page attributes to Edit Job page?Came across your topic. You probably either figured it out or moved on, but for others, this might help: http://wordpress.stackexchange.com/questions/204657/apply-template-to-custom-post-type
I am having a similar problem. When I send email from the Contact Form 7, the email should be sender@domain.com but instead it comes through as cPanelUserName@Servername (cPanelUserName@vps.domain.com). Looking at the logs and source, sender@domain.com is in the header info, all other header info is correct. But for some reason, the from email address is overwritten. I’m guessing it is something in WHM/cPanel but I can’t figure out what.
Most of the time email is accepted, but for server with very strict anti spam reject the email. cPanelUserName@vps.domain.com is not a valid email address or sub domain so the email gets rejected.
I tried this plugin: https://wordpress.org/plugins/easy-wp-smtp/
Email now sends! Logs say the email was accepted by the other server.I set it up as if I was sending email through Outlook or Thunderbird.
You info will be different but something similar to:
From Email Address: sender@domain.com
From Name: My NAME!
SMTP Host: mail.domain.com
Type of Encription: None SSL TLS
SMTP Port: 25, 26, 587, or what ever you port for sending email is.
SMTP Authentication: Yes
SMTP username: sender@domain.com
SMTP Password: PASSWORDHope this works for you.
Forum: Plugins
In reply to: [MailPoet Newsletters (Previous)] Don't Change URL's in the NewsletterWould you at least be able to point me to the line or some general area where the urls are being changed?