nikdow
Forum Replies Created
-
Forum: Plugins
In reply to: [Facebook Plugin: WP Social] show posts from all authorsI should add the address of the page showing the feed:
https://australian-cyclists-party.org/Forum: Fixing WordPress
In reply to: WP Update Triggered Password Email For All UsersMy 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.
Forum: Fixing WordPress
In reply to: WP Update Triggered Password Email For All UsersI 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.
Forum: Plugins
In reply to: [WP Photo Album Plus] direct use of wppaDoAjaxRenderI 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.15I have the live server doing automatic updates, so I should update my dev copy too!
Forum: Plugins
In reply to: [WP Photo Album Plus] direct use of wppaDoAjaxRenderSmall 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'];
inwppa-functions.phpso 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";Forum: Plugins
In reply to: [WP Photo Album Plus] direct use of wppaDoAjaxRenderForgot to mark as resolved.
Forum: Plugins
In reply to: [WP Photo Album Plus] direct use of wppaDoAjaxRenderThanks 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!
Forum: Plugins
In reply to: [WooCommerce] Woocommerce Product Thumbnail Size@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.
Forum: Plugins
In reply to: [Seamless Donations is Sunset] session already startedYes, I’ve upgraded to the latest which overwrote my changes and no error messages. Thanks for that!
Forum: Plugins
In reply to: [Import Users from CSV] error after activatinghaving 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.Forum: Plugins
In reply to: [Seamless Donations is Sunset] session already startedAlso added same to line 385