Forum Replies Created

Viewing 11 replies - 106 through 116 (of 116 total)
  • Thread Starter nikdow

    (@nikdow)

    I should add the address of the page showing the feed:
    https://australian-cyclists-party.org/

    My customers were getting emails about the email address changing as well. So now, I check to see if the externally obtained email address is different to the existing WP record, and only update the WP user record if it has changed.

    This problem has been quite hard to pin down and I’m still not certain that all those pesky emails have been suppressed. If someone does change their email address in the external system, the next time (could be a while later) that they login to WP they will get an update email. Still a bit annoying and I can’t see how that can be suppressed.

    I am seeing the problem as well, with a custom external auth plugin, that gets the username/password from an external db and updates the user details every time they login.

    Seeing as the password is external to WP and can’t be changed from within WP, I can suppress the pw change email as per the temporary fix above, and that will be my permanent solution. It’s impossible for my plugin to know if the password is being changed or not, since changes to the password occur elsewhere.

    Something like this could be happening in Membermouse and other auth plugins.

    Thread Starter nikdow

    (@nikdow)

    I was about to write 6.2.5 which is on the LIVE server,
    but I see that on my development server it is 6.1.15

    I have the live server doing automatic updates, so I should update my dev copy too!

    Thread Starter nikdow

    (@nikdow)

    Small issue, it’s also optimal to provide the wppa-size parameter (maximum image width) otherwise there is a PHP warning caused by this line:
    $wppa['fullsize'] = $_GET['wppa-size'];
    in wppa-functions.php

    so I now have:

    var ajaxurl = $scope.data.siteurl + "/wp-content/plugins/wp-photo-album-plus/wppa-ajax-front.php?" +
                        "action=wppa&wppa-action=render&wppa-cover=0&wppa-album=" + $scope.item.album + "&wppa-occur=1&wppa-size=640";

    Thread Starter nikdow

    (@nikdow)

    Forgot to mark as resolved.

    Thread Starter nikdow

    (@nikdow)

    Thanks very much for the help, really appreciated.
    Got it working in the AJAX / Popup framework as follows:

    The popup template includes:

    <div id="wppa-container-1"></div>

    When creating the member data via AJAX (or via the initial page load – same JSON), I locate the members’ albums using:

    " LEFT JOIN $wpdb->prefix" . "wppa_albums wppa ON u.user_login=wppa.owner"

    In the query I also include
    “wppa.id as album,”

    and pass this to the JSON data:

    foreach ( $rows as $row ) {
            $item = array (
                   ...,
                   'album'=> $row->album,
            );
    }

    The popup load is:

    $scope.show = function(item, $) {
                $ = jQuery;
                $scope.item = item;
                $scope.album_requested = false; // prevent angular making multiple calls
                $scope.$on('ngDialog.opened', function(e, $dialog) {
                    if ( $scope.album_requested ) return;
                    $scope.album_requested = true;
                    var ajaxurl = $scope.data.siteurl + "/wp-content/plugins/wp-photo-album-plus/wppa-ajax-front.php?" +
                        "action=wppa&wppa-action=render&wppa-cover=0&wppa-album=" + $scope.item.album + "&wppa-occur=1";
                    wppaDoAjaxRender( 1, ajaxurl, '' )
                })
                ngDialog.open( {
                    template: 'templateId',
                    className: 'ngdialog-theme-default',
                    scope: $scope
                });
            };

    Note that each member has only one album so the query join will find only one (or no) albums. If this were not so I would have to do a lazy join instead.

    Thanks again, donation will follow!

    @terrytsang is right – we have posted about this on our blog at http://www.cbdweb.net/woocommerce-and-image-sizes/ which also links to the Woocommerce documentation. Unfortunately, even paid themes from WooThemes don’t appear to use the available hook to set the image sizes on theme activation, so this procedure is a must every time you set up a WooCommerce site.

    Thread Starter nikdow

    (@nikdow)

    Yes, I’ve upgraded to the latest which overwrote my changes and no error messages. Thanks for that!

    having the same problem. Wamp PHP 5.5

    I tried
    error_reporting = E_ALL & ~E_NOTICE & ~E_STRICT
    in php.ini but that didn’t change anything.
    Had to delete the plugin via file manager.

    Thread Starter nikdow

    (@nikdow)

    Also added same to line 385

Viewing 11 replies - 106 through 116 (of 116 total)