Forum Replies Created

Viewing 9 replies - 1 through 9 (of 9 total)
  • Thread Starter xzackly

    (@xzackly)

    Hi Davood,

    Closing the loop here. There was an issue with my htaccess file, that the kind folks at Dreamhost fixed for me. That solved all the issues—-including apparently, the issues my site was having communicating with WP to authenticate users.

    The CSA said:

    I then turned my attention to getting HTTPS to work consistently and I
    think I was finally able to do that once I updated your .htaccess
    anti-hotlink code to use HTTPS.

    I’m a little confused as how an issue that predated the switch to https could be fixed in this way, but also: just glad it’s working. Tested it a few times and the issue is no longer occurring.

    I doubt anyone else will run into this same issue, but just in case: that was the fix.

    Thanks again for your assistance.
    Zack

    Thread Starter xzackly

    (@xzackly)

    Thanks again Davood,

    I’m using that plug-in, and it didn’t throw any plug-in related errors. I haven’t gotten into debug mode, as switching to https has broken all my image links and I’m fighting that battle first (with support from my host). I did, earlier, disable all plug-ins and that didn’t fix the issue, but it’s worth trying again through HealthCheck.

    I’m beginning to suspect it’s something to do with Jetpack; a muddled or conflicting account issue?

    We’ll see if Dreamhost can help me un-bork everything and get my site working right. They’ve been super helpful and right now I’m just trying to stay out of their way.

    But I appreciate you continuing to keep an eye on me, and trying to help me, even though clearly I’m just making things worse…

    Hope you’re doing well.
    z

    Thread Starter xzackly

    (@xzackly)

    Okay. Getting there. My panel was adding a WWW and WP was removing it so I was caught in a loop. Now I’m back in and I’ve installed the RIGHT Health Check plug-in this time.

    Here’s what I’m seeing:

    The REST API encountered an error Performance
    The REST API is one way WordPress, and other applications, communicate with the server. One example is the block editor screen, which relies on this to display, and save, your posts and pages.

    The REST API request failed due to an error.
    Error: [] cURL error 28: Operation timed out after 10001 milliseconds with 0 bytes received

    Your site could not complete a loopback request Performance
    Loopback requests are used to run scheduled events, and are also used by the built-in editors for themes and plugins to verify code stability.

    The loopback request to your site failed, this means features relying on them are not currently working as expected.
    Error encountered: (0) cURL error 28: Operation timed out after 10000 milliseconds with 0 bytes received

    Thread Starter xzackly

    (@xzackly)

    Ah. I didn’t see that option. I’d try it now, but I appear to be locked out of wp-admin. I’m guessing it’s the new cert not quite settled in yet? Or hopefull that’s it. I keep logging in and it punts me back to the login page.

    Will report back after I regain access…

    Thread Starter xzackly

    (@xzackly)

    Thanks Davood.

    I installed WP HealthCheck and it flagged that my site didn’t have https set up, so I ordered a cert through my host, and that’s active now. I also flushed the object cache. I didn’t get any other errors.

    Ran another comment test and there’s been no change.

    I appreciate any other assistance you can provide! Is there some way to reset the approved commenter list? I’m wondering if the db got corrupted or in some other way disconnected from WP so those logins aren’t registering…?

    Thread Starter xzackly

    (@xzackly)

    Thanks for the response.

    I tried adding the above code to both photo-gallery/update/style.css and to my theme’s style.css, (since I wasn’t clear which was correct), applied ‘show on hover’ to the gallery, cleared my browser cache, and did a hard reload but didn’t see any effect.

    Then I messed with the rbga values a bit just to see if the effect was too faint, but nope.

    I’ve been poking around and I found a bunch of .css hover effect libraries, but I lack the skills to apply them to photo-gallery. There are many ways in which my problem could be solved — that being that captions on hover are sometimes illegible due to variations in image color/brightness. A background field could be added, the image could convert to greyscale, the image could decrease in luminosity… or pretty much any of these could be applied: http://imagehover.io/

    Happy to experiment with you. I’d think something like this would be a good feature to include in photo-gallery?

    Thread Starter xzackly

    (@xzackly)

    okay. reporting on SOME success in case others want to try the same thing.

    your code works but only BEFORE one uses the tag list to sort the images. once the sort function is applied, the list order reverts to an unsorted list.

    here’s what I’ve done (with much help from a friend at PiP Coders)

    I added:

    /**
     * Implement the custom sort for gallery search 
     */
    function gallery_sort_search_enqueue() {
      if ( is_page( 'i-like-to-watch' ) ) {
        wp_enqueue_script( 'gallery_sort_search', get_template_directory_uri() . '/js/gallery_sort_search.js');
      } 
    }
    add_action( 'wp_enqueue_scripts', 'gallery_sort_search_enqueue' );

    to the end of the functions.php file of the theme I’m using (a modified version of Oxygen).

    then I uploaded your code in a file called gallery_sort_search.js in my theme’s js/ folder.

    so you can see that the tags sort alphabetically here: http://www.standbyformindcontrol.com/i-like-to-watch/

    but if you use the sort function, no love.

    if you have any additions/edits to your code that will carry over once the sort function is applied, that would be tidy.

    Thread Starter xzackly

    (@xzackly)

    Awesome! Thanks.

    I will attempt to do as you say but if you (or anyone else) has a moment to explain how to call a frontend .js file, that will save me a lot of googling. I’m not afraid of code but I also don’t code.

    I think what you’re saying is that I need to add some code to standbyformindcontrol.com/i-like-to-watch/ that calls a new file i’d create that includes the above code. I bet I can make that work through trial and error.

    But thanks. I bet something like this would be a reasonable addition to future builds.

    Thread Starter xzackly

    (@xzackly)

    yeah. i’m set to Pacific but it’s showing UTC time. not a big deal or anything; call it a low-priority feature request.

    looking forward to making some more quizzes. thanks again.

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