Brian
Forum Replies Created
-
Forum: Plugins
In reply to: [WP eCommerce] Conflict with WordPress 4.9Client of mine has the same problem. For now, we are disabling WPeC, then making edits, then reactivating. Ugh, but manageable until a fix is in place. Which is… when?
IF IT HELPS:
The browser inspector reports an Inactivity Timeout in admin-ajax.php (“Description: Too much time has passed without sending any data for document.”)Health Check plugin reported it as a loopback timeout. (“The loopback request to your site failed, this may prevent WP_Cron from working, along with theme and plugin editors.<br>Error encountered: (0) cURL error 28: Operation timed out after 10000 milliseconds with 0 bytes received”)
Their hosting is WP dedicated on GoDaddy.
Forum: Plugins
In reply to: [Sidebar Widgets by CodeLights] Modal popup triggered from menu item?Think I found the answer to my question. Sharing in case it helps others. You’re going to create a widget that will be hidden until the trigger item is clicked.
1) Create a popup widget somewhere in your theme’s widget locations that’ll appear on all pages (in my case, a footer widget). Leave the widget title blank (If you enter a widget name, it’ll show on screen — alternatively, you could probably use a title and then set it to display: none in CSS.)
2) In the Trigger tab of that widget, set the trigger to “Custom Element Click” and provide a unique CSS selector name (e.g. :.learn-more-modal). Remember this name; you’ll need it later. Save the widget, of course…
3) Go to WP Admin > Appearance > Menus. Click the Screen Options tab at the upper right of the page, then check the box for CSS Classes. All of the menu items should now show an extra box for custom CSS class names.
4) Add a new Custom Link menu item, or modify an existing one. Set the URL as “#” (or other anchor selector), the text to whatever you want people to see, and the CSS Class as the selector name from Step 2. Here, you do not use the initial period (e.g. “learn-more-modal” with no period in front). Save the menu.
That should do it. The widget hides in wait on all pages that load that widget, and when someone clicks the menu item, the popup is revealed.
Forum: Plugins
In reply to: [Contact Form 7] Form Error When Sender Email is Gmail.comFollow up: I got the form working. Two problems, as it turned out.
1) I was using BCC in the additional headers to send to a GMail address. Looks like that means that the deliverability of the form entry is dependent on both the primary TO email as well as any others, such as my BCC. So removing the BCC address got the form working.
2) It turns out that something in the HTML body of the email that was being sent was getting rejected (presumably by GMail servers — see #1 above). If I switched the form email out of HTML content type, it worked with the BCC intact; then once I cleaned up the HTML, it’s now working in HTML mode with the BCC intact.
Recently, we switched the site to HTTPS, but the email HTML referenced an image (logo) using HTTP. I’m guessing now, but apparently, something in GMail servers reads the incoming email body… and if it doesn’t like some part of it, the email is rejected. Once I switched the image ref to https:// — no more errors.
Hope this helps someone else.
Forum: Plugins
In reply to: [WooCommerce] Grouped Products Display problem after 3.06 updateLooks like 3.07, released today, solves the problem for me. Thanks, everybody!
Forum: Plugins
In reply to: [WP eCommerce] User File Upload — Only Certain File Types?Quick follow up: the file upload works now.
However, in Admin > Store Sales > Sales Log Details, the URL to the file is incomplete. (Missing the siteURL and upload path variables, one assumes…)
I’m seeing http://adfile.png
… but I’d expect to see http://sitename.org/wp-content/uploads/wpsc/user_uploads/adfile.png
http://s23.postimg.org/qzhh24hbv/wpec_saleslog.jpg
I see this line in purchaselogs.class.php, line 269:
$image = "<a href='" . esc_url ( WPSC_USER_UPLOADS_URL . $file['file_name'] ) . "' >";Assuming the two variables are not getting set somehow… but that’s the limit of my tiny brain. Appreciate any additional help…
Forum: Plugins
In reply to: [WP eCommerce] User File Upload — Only Certain File Types?Quick follow up — the code change works. However, in the Admin > Store Sales > Sales Log Details, the path to the file is incomplete. It is missing the site URL and file upload location (from a variable, one assumes).
So I’m seeing http://adfile.pdf
…but would expect to see http://sitename.org/wp-content/uploads/wpsc/user_uploads/adfile.pdf
[url=http://postimg.org/image/dvbwpfp9z/][img]http://s23.postimg.org/dvbwpfp9z/wpec_saleslog.jpg[/img][/url]
Forum: Plugins
In reply to: [WP eCommerce] User File Upload — Only Certain File Types?Perfect! Thank you for this.
Forum: Plugins
In reply to: [Delightful Downloads] Suggestion to improve securityAbsolutely agree with this. Would love to see this as an option in a future release. For now, I’ve created a similar .htaccess file inside /wp-content/uploads/delightful-downloads/ with the following (replacing “example” with the site domain):
# BEGIN Restrict Access to stop direct download <IfModule mod_rewrite.c> RewriteCond %{HTTP_REFERER} !example\.com [NC] RewriteRule ^(.*)$ / [R=301,L] </IfModule> # END RestrictSo in the event that the referer is not the correct site, I’m just bouncing people to the site Home Page, with no explanation. If you choose to include something like this, perhaps the plugin might go a step further and rewrite to an error page with custom message text.
Still, kudos for a nice plugin!
Forum: Plugins
In reply to: [The Events Calendar] Redirect Event to page or external URL?Thanks, Leah. Adding it now.
For anyone else following this thread, the correct link is http://tribe.uservoice.com/forums/195723-feature-ideas
Forum: Plugins
In reply to: [The Events Calendar] Redirect Event to page or external URL?Thanks, Leah… and understood — free is free, and my nonprofit client is grateful for the fantastic plugin.
Kathy, it turns out there might be a simple solution: the plugin Quick Page/Post Redirect includes an option to work with custom posts. Just turned it on in a test instance and it looks like a winner.
Haven’t tested very thoroughly yet, and I’m always a bit hesitant to add more and more plugins… but this might do it for us, for now.
When they need to use an outside page, I’ll be advising my client’s event creators to 1) create a shell event that has the minimum: title, date(s), and the barest of description text (so the calendar popup or list views can function); and 2) set the redirect options to Active, add the URL, and set to 301 Permanent.
The good folks at The Tribe might consider integrating something similar in a future release (perhaps as a paid plugin), but that’s their call.
Appreciate the extra info.
Sounds like a flexible directory function is a common request. Rather than bury it in a plugin that’s primarily for adding extra fields, perhaps a standalone plugin (or core feature of the main plugin) makes sense.
Makes sense, it’s just a little more work to set up.
Also, as a future suggestion, you might consider an option to set default restrictions for any new content. (My client will be posting member-only blog entries, and they must remember to set every post as restricted — I’m betting they’ll forget about half the time.)
Okay, I’m so not a developer, and I get itchy hacking code. Apologies in advance if I’ve broken any PHP rules, but the edit below seems to work. Please advise if I’ve missed something:
Edit to wp-content/plugins/tablepress-row-filter/tablepress-row-filter.php, Line 98 (I added the second check for not zero):
if ( empty( $render_options['filter'] ) && ( $render_options['filter'] ) !== '0' )Again, love this product!
By the way, not in the documentation that I could see, but these are the parameters the addon uses:
filter [the search string, required]
filter_full_cell_match [defaults to false]
filter_case_sensitive [defaults to false]
filter_columns [defaults to all, or a column number, or numbers (e.g. 1,3,15)]Forum: Plugins
In reply to: [StageShow] Dollar Sign in Emails is ASCIIOne more quick update, and then I’ve exhausted my limited capabilities: in settings, I unchecked the option to include currency symbol in box office output. That removes the dollar sign everywhere, including on the email… which is perhaps okay for now.
Still, if there’s a better solution, I’d love to hear it.