smelsworst
Forum Replies Created
-
Forum: Plugins
In reply to: [Basic Google Maps Placemarks] conflict with "Page Builder" pluginsGah… also an issue for me with SiteOrigin Page Builder. Little help!?
As a stop-gap I’m looking for ways to just not have the map icons show anything when clicked.. at least then it’s not as confusing for the users.
yep.. exactly. i hooked in in my functions.php file to force custom invoice number being fired on change of status and it’s worked a treat since. well, I still wittness the odd emailed invoice here and there going out without an invoice number, but it’s maybe a percent of orders, where it used to be all of them and used to constantly play havoc when printing invoices.
Forum: Plugins
In reply to: [Swift SMTP (formerly Welcome Email Editor)] So … where is the re-send optionSean, that old feature would be great to have again.. while there are a number of re-send welcome email style plugins, and force reset plugins, none of them play well with your customiser.
Hrm.. if anything woocommerce_order_status_processing, as that’s the one that is effectively a ‘draft’ transaction.. status it has before the payment type is chosen/finalised (bacs = on-hold; paypel/etc = processing; and then I’ve got a couple of custom gateways).. I’ve done all four to be safe 🙂
THANKS.
marking this as resolved.
Okay… that’s solved a WORLD of headaches. I have 4 different statuses to do it for and have just repeated the function four times, which works, but is ugly from a code perspective.
Is there a more elegant way to delcare
add_action when ‘woocommerce_order_status_completed’ or ‘woocommerce_order_status_on-hold’ or ‘woocommerce_order_status_processing’ (etc)?
much thanks from the php n00b 🙂
Nice.. I’ll try it out and see what happens.
THANKS!!!!
*bump*
BUMP – plugin author!?
Forum: Plugins
In reply to: [Print Invoice & Delivery Notes for WooCommerce] Security VulnerabilityThis is a SIGNIFICANT vulnerability as it violates privacy laws. Please advise of expected timeframe for a fix.
Seconded.
Hey Michael,
There’s a workaround:
1. adjust the format of the invoice / order confirmation email(s) / remove the product table and all of the invoice data from it.
2. then update the text for the “print” link that appears in the emails to something like “To view your invoice please click here”.At the moment I’ve hardcoded step 2 in the plugin files.. which means I’ll (potentially) have to redo it when the plugin is updated.
It would be GREAT though if Piffpaffpuff could tell us a hook that we’d be able to use to adjust the print label & link in the emails, so that we could just update the theme functions file, rather than the raw code…
Forum: Plugins
In reply to: [Print Invoice & Delivery Notes for WooCommerce] View Example as HTMLBrilliant! thanks
It’s probably a little dependent upon which plugins are installed/etc.. but the main things are:
DB Changes:
– wp_site: update values for domain and path
– wp_blogs: update values for domain and path for each sub-site/blog
– wp_x_options (one for each sub-site/blog, where x is the blog-id): update values for option_name like ‘siteurl’, option_name like ‘home’, option_name like ‘upload_url_path’ and there’ll be others if you’ve got things like woocommerce, etc. installed, but the user can also update these via the network admin>sites>SITE_NAME>edit>settings themselves..wp-config.php will need to be updated:
define(‘DOMAIN_CURRENT_SITE’, ‘NEWVALUE’);
define(‘PATH_CURRENT_SITE’, ‘NEWVALUE’);the rest of the multisite lines in wp-config.php should not need to be changed.
AND, seems that many users (myself included) have issues with the .htaccess file, so that might also need to be updated, see here: http://codex.ww.wp.xz.cn/Multisite_Network_Administration#.htaccess_and_Mod_Rewrite
once you’ve done that it “should” work, but for me, it’s still not – likely something up with the rewrite rules in .htaccess. time for the ametur to step out of the way and pay for a professional!
hope that helps.
NS Cloner is awesome for copies of blogs/sites within a network, but the use case I’m describing is about copying/backing-up/moving the network (incl. to a different server or directory). From what I can tell (and god knows I’ve tried!), NS Cloner isn’t up to that task.
I think Duplicator can do the job, it’s just not plug-and-play like it is on single sites – so admins have to be happy to jump into the DB. after running installer.php
I resolved mine by doing a manual move of my network, I haven’t retested with Duplicator but I have a suspicion the plugin works ‘fine’ for moving a multisite network, except that the user just has to go into their DB and update a number of links that Duplicator doesn’t get, namely:
– wp_blogs
– wp_site
– wp_options
_ wp_x_options (one for each blog in the network)Ben