Forum Replies Created

Viewing 8 replies - 1 through 8 (of 8 total)
  • Thread Starter Steingard

    (@tsteingard)

    I discovered that this is already a feature of the plugin. The issue I have is that I am using Avada theme, which currently re-inserts this field when it inserts an Order Notes field into the Additional Fields during checkout. I have created a plugin to override this override and I’m going to contact the Avada developers about this bug, as it likely creates problems for other similar plugins.

    Thread Starter Steingard

    (@tsteingard)

    These edits to lines 455 and 458 seem to fix my issue. Please consider altering the plugin so that this fix is maintained.

    455 if ($field->type == "option" || ($field->type == "product" && (isset($quantities[$field->id]) || isset($product[2])))) {

    458 $quantity = 0;

    I’m curious to know why the quantity was set to 1? Was there another prior use case where 1 was necessary? Does this change have other implications?

    • This reply was modified 6 years, 5 months ago by Steingard.

    In the settings I only see “Display audio player on archive pages”. Nothing about the video player is mentioned.

    I was trying to edit the excerpt myself to get the result I want, but the documentation online isn’t leading me to the correct solution. So, I’ll leave my notes here on what I’m hoping for.

    Changes to the new excerpt layout:
    • If there is video included with the post, don’t show the series art at all. Video trumps all. Instead, display the video on the left column filling 2/3 of the width, and push the title and description over to fill the right-hand 1/3 of the excerpt. If there is no video, then the current layout makes sense to me.
    • I have had feedback from a couple of websites that use WP Sermon Manager where people have said that they need a “read more” style link at the bottom right of the excerpt. Apparently it’s not intuitive for everybody to know to click the title link. In my case, I would personally change the read more text to say, “Access sermon resources, sermon notes, and small group curriculum”, or “Download more sermon notes and curriculum”…but I understand that may not be for everybody, so I may do that in a jQuery tweak. Ideally I’d love to do it in an excerpt template change.

    The Changelog says “Change: Add new layouts to shortcode output”. I think the new layout looks great overall, but I had been using the fact that the shortcode output included the video and audio. Now that’s gone, I’m wondering if there is some additional way to control this new layout. I’m not seeing a View template file for it :s

    Josh, to solve your problem you can add the following CSS to your theme:
    #main .wpfc-sermon-image-img { padding-top: 0; }

    To add space between the listings, add this CSS:
    #main article.wpfc_sermon { margin-bottom: 30px; }

    I don’t know, then. I was having a problem on a Windows IIS server, so I advised my client to get his host to move to a Linux box with Apache/PHP/MySQL, and then I ran into this issue with the PHP “magic quotes” being turned on. So, I figured out how to turn it off, and voila.

    kingmedia, what are you seeing on your site? Are you getting the slashes before anything that has quotes on it? If so, then your issue is with Magic Quotes in PHP. If not, then you’ve got a completely different issue.

    I just have php_flag magic_quotes_runtime Off … no “set_” in there … so, I’m not sure what to say. Did you do a phpinfo(); on your site to see if your magic_quotes is even on?

    Figured it out! Thanks to jimre, who posted the information about the PHP feature of magic_quotes, I decided to do some reearch at php.net and found that only the magic_quotes_runtime should be turned off.

    When this piece of data regarding access permissions is pulled from the database magic_quotes_runtime was adding a backslash before the quote character, so a:5:{s:13:”administrator”… was turning into a:5:{s:13:\”administrator\”…. What is WP to do with this random bit of information? Return an error of course!

    So, I turned ONLY the magic_quotes_runtime feature off through the .htaccess file within /wordpress/, and voila. Turning off the magic_quotes_gpc ended up shutting down the site all together… so a bit of Trial and Error was involved, but my issue is now resolved.

    Since moving over from an IIS server to a fresh Linux with Apache 2 Handler (not sure what ‘handler’ means) + PHP 5.0.4 installation… I am now getting this error when attempting to log in to the Admin area.

    It is pulling from the same old database that was not altered in the move, so I tried re-installing WordPress thinking that it might have some ‘calibrating’ features unique for the server upon install and that the old files wouldn’t work. After 3 or 4 re-installs, my issues remain and I am finding little consolation on these support forums for this error.

    I do not have a broken string as illamental did, so that didn’t help. So, my client’s site is down until I can rectify the issue. My guess is that it’s something to do with Apache or PHP (since that’s the only thing that changed in the move), but I have no idea what.

    Edit: Since posting this, I checked out this post which had been resolved. However… their solution with the .htaccess file did not solve my issue. I am going to contact my host to see if they can disable that PHP function from their end.

Viewing 8 replies - 1 through 8 (of 8 total)