Forum Replies Created

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

    (@caroldeck)

    Ok thanks Michael, I’ll give it a go.

    Thread Starter caroldeck

    (@caroldeck)

    Well… At the time it seemed like it would make it easier to retrieve the postmeta data, and it worked. But I am guessing there is a better way to do this?

    Thread Starter caroldeck

    (@caroldeck)

    If I remove&& in_array('_cmb_film_client_multi_name',$updated) from the first IF statement in my function, then the fields get unserialized. Not sure why that would be.

    This made me aware of another problem (of my own making I guess) – with the data unserialized, the Meta Box in the back end doesn’t show all the fields that were checked, just the first one. I guess I need a better way to handle this searialized data ??

    Thread Starter caroldeck

    (@caroldeck)

    Exactly – trying to get one record for each post id/meta_value combo.

    I don’t know how I can tell if the function is even getting executed? All I know is that if I look at the database in PHPmyadmin after doing a save, the postmeta record has not been unserialized.

    I honestly can’t remember when I updated the plugin vs. when the problem started. It’s the kind of problem I noticed because I updated a record in the backend – not something I do too often.

    Thanks for you help Michael.

    I had already checked .htaccess – nothing in there but the basic WordPress code. I ended up having to restore the site to a backup version (WordPress 3.4.2) and then was able to successfully update. Thanks for all your assistance!

    Hi… I’m helping Laurie with her site. Laurie’s site is not using the iTheme Security plugin. I have tried all the following to no avail :

    (1) disabled all plugins
    (2) uploaded WordPress 4.0 via FTP
    (3) renamed Laurie’s theme so that the site could default to another theme
    (4) removed all the custom functions from Laurie’s functions.php

    None of this helped. When I try to login I get booted back to the login screen with the username and password fields emptied out, no error message.

    Thread Starter caroldeck

    (@caroldeck)

    ok.. thanks. I do prefer the non-hacky way – could you give me a hint as to how to use the wpfc_events filter to do this?

    Thread Starter caroldeck

    (@caroldeck)

    I had to tweak the code a bit – the overlay wasn’t behaving properly on firefox. So, the code in $.fn.wpcf7AjaxLoader is now :

    if ($(this).attr(“disabled”) == “disabled”) {
    var parent = $(this);
    var overlay = $(‘<div id=”disable-button-overlay” />’).css({‘position’:’absolute’,’top’:0,’left’: 0,’width’: parent.outerWidth(),’height’: parent.outerHeight(),’zIndex’: 10000,’backgroundColor’: ‘#fff’,’opacity’: 0}).click(function () {return alert(‘Please check off the required fields above.’);});
    $(this).after(overlay);
    }

    Also, the submit button should be surrounded by a <div> (not a <label>) which is positioned “relative” (probably it makes more sense to do that in the javascript, but I got lazy)

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