streamworksaudio
Forum Replies Created
-
Forum: Plugins
In reply to: [WooDiscuz - WooCommerce Comments] database tablesThanks again.
So if I have removed the plugin, I can drop those tables?
Cheers
Forum: Plugins
In reply to: [WooDiscuz - WooCommerce Comments] database tablesSorry – one more question….
Are the tables that start with ‘wp_wpc_’ not created by this plugin?
Also, I see one comment in the wp_comments table that has a post type of woodiscuz_review – this review is displayed on my product page per normal however I have removed this plugin, will this affect the review?
Cheers
Forum: Plugins
In reply to: [WooDiscuz - WooCommerce Comments] database tablesPerfect – thanks for the clarification!
Forum: Plugins
In reply to: [Groups] Database TablesThat did it! 🙂
Thanks
Hi Daniel,
Sorry for the delay. I will have a look into this further when I get some time.
But in a nutshell – if it is easy and painless to use the plugin and AJAX to dynamically generate the content that populates a popup, then I would be interested.
Cheers
I assume that the plugin uses AJAX to retrieve the ‘content’ from the post (popup post type)? And I assume that the CSS class then uses Javascript to render the AJAX response? This is a question just so I have a better idea of the plugins process.
With the Remote Content extension, would this then allow me to have the AJAX call return whatever response from my custom function?
In other words… I create a blank Popup post (let’s give it an ID of 100). Then I create a button or link (or other clickable element) with the class of popup-100 -> this then (via Javascript) runs some AJAX that then runs a custom function and the response then populates the popup box?
Sorry for so many questions – I am just trying to see if this is possible. At the moment I am using a simple jQuery/PrettyPhoto plugin and with it I can pass some HTML (iframe etc), but I really just want to pull in the content of a post not a whole page that iframe would pull in.
Cheers
I think I found the problem.
Gravity Forms disables AJAX if reCAPTCHA is being used. The form seems to work after removing the reCAPTCHA field.
Cheers
Forum: Plugins
In reply to: [Maintenance] Logged in usersOK I am confused. Because one computer that was already logged in was still able to access the site after I had turned maintenance mode on. I did not make any changes to user roles with the plugin.
Forum: Plugins
In reply to: [Maintenance] Logged in usersSo do I have to set it up so that I block all user roles? I thought it would do that by default.
Forum: Plugins
In reply to: [Maintenance] Logged in usersThanks for the reply.
I was wondering on a couple computers, one was logged in as the admin and the other was logged in as ‘customer’ role. When I enabled the plugin and maintenance mode, the computer that was logged in as the customer was still able to browse the site.
What I thought it would do is give everybody the maintenance page even if they were already logged in.
Forum: Plugins
In reply to: [WooCommerce] How To Use Shortcode as Product Download LinkGreat idea! Glad we both found a way to make it work 😉
I was thinking of doing the same thing, using the SKU or Product ID for the file name – but I don’t think Rackspace allows changing the name of the file to be downloaded, so I have to pass the object name (the file name) for each product.
Cheers
Forum: Plugins
In reply to: [WooCommerce] How To Use Shortcode as Product Download LinkHi there,
This is an old post but I found it when I was too looking for a way to get shortcodes to work for file URLs, so I thought I would follow up with what i have learned.
I had created a shortcode that was able to pull a temp url via Rackspace’s Cloud API and wanted to use it as the File URL for my WooCommerce products. The shortcode worked everywhere except as the path to the file in WooCommerce.
The only way I could get it to work was to install the Amazon S3 Storage plugin. This allowed my shortcode to work. But to me this was crazy. Installing a plugin just to get a shortcode to work? Plus the files were not even on Amazon S3.
So…. after much digging, research, and plan ole fashioned thinking I came up with a solution.
You need to use the woocommerce_file_download_path filter hook to hook into a function that then runs the do_shortcode to get the URL.
Here is what I used.
## The WooCommerce hook to call the download file path ## add_filter( 'woocommerce_file_download_path', 'rackspace_download', 1, 3 ); ## The function that will run the shortcode to the temp. URL ## function rackspace_download( $file_path, $product_id, $download_id ) { return do_shortcode( $file_path ); }Here the woocommerce_file_download_path hook runs my function rackspace_download where I pass the arguments $file_path, $product_id, $download_id (not sure if I needed to pass them all, but did anyway even though I will only use the $file_path). The function then runs the shortcode (which is found in the $file_path variable).
I assume that you are putting the short code in the File URL field of the product. If so then this should work.
Cheers
Hi Lain,
Thanks – I have set everything up according to the guide and I tested the connection with Cyber Duck, and all works. However from the plugin I pasted my access keys to my wp-config.php file, and when I try to browse buckets it get the warning:
Error fetching buckets — Looks like we don’t have access to the buckets. It’s likely that the user you’ve provided access keys for hasn’t been granted the correct permissions.
Thoughts as to what I might be missing?
OK I think I see the error.
Amazon complained that “This policy contains the following error: The policy must contain a valid version string”. So I removed “”Version”: “2016-01-01″,” from the policy and that seemed to have worked.
Thanks for the reply, it helps a lot.
The free version has no limits on uploads. To be clear, the pro version does not add limits to any of the free version’s features. It only places limits on the additional features you get with the pro version.
If so, then the limit of the Pro version is only to uploading images that are already in your library?
Our media library is very small, only a handful of product images. So the Pro version would only count those files towards the license? Or would it cant all subsequent media library uploads?
Cheers