Daniel Maier
Forum Replies Created
-
Hi Becky @imagely,
I used a different email address on the support email message.
Yes, I did receive the message. Thank you!I tried re-processing the minified file with igw.js and it didn’t work. The issue persists.
- This reply was modified 9 years, 8 months ago by Daniel Maier.
- This reply was modified 9 years, 8 months ago by Daniel Maier.
Here’s the entire igw.js file:
(function($){ setTimeout(function(){ $(function(){ window.get_igw_dimensions = function(){ var $button = $('.ngg-add-gallery'); var href = $button.attr('href'); var win = jQuery(top); var winWidth = win.width(); var winHeight = win.height(); var popupWidth = 1200; var popupHeight = 600; var minWidth = 800; var minHeight = 600; var maxWidth = winWidth - (winWidth * 0.05); var maxHeight = winHeight - (winHeight * 0.05); if (maxWidth < minWidth) { maxWidth = winWidth-10 } if (maxHeight < minHeight) { maxHeight = winHeight-10 } if (popupWidth > maxWidth) { popupWidth = maxWidth; } if (popupHeight > maxHeight) { popupHeight = maxHeight; } return { width: popupWidth, height: popupHeight, top: (winHeight-popupHeight)/2, left: (winWidth-popupWidth)/2 }; }; window.fix_tb_dimensions = function(){ var $button = $('.ngg-add-gallery'); var href = $button.attr('href'); var dimensions = get_igw_dimensions(); href = href.replace(/width=\d+/, 'width='+dimensions.width.toString()); href = href.replace(/height=\d+/, 'height='+dimensions.height.toString()); $button.attr('href', href); }; fix_tb_dimensions(); // Restore Thickbox functionality window.wp_tb_position = window.tb_position; window.tb_position = function(){ var src = $("#TB_window iframe").attr('src'); if (src && src.match('attach_to_post')) { var dimensions = get_igw_dimensions(); $("#TB_window").css({ width: dimensions.width.toString()+ "px", height: dimensions.height.toString()+"px", 'top': dimensions.top.toString()+"px", 'left': dimensions.left.toString()+"px" }); $('#TB_window iframe').css({ width: '100%', height: '93%' }); } else { window.wp_tb_position(); } }; }); }); })(jQuery);I see that on line 18 and 19 the following is missing semicolon after maxWidth and maxHeight:
if (maxWidth < minWidth) { maxWidth = winWidth-10 } if (maxHeight < minHeight) { maxHeight = winHeight-10 }Also after window.fix_tb_dimensions function you immediately call the function “fix_tb_dimensions();”. Is this correct?
Forum: Plugins
In reply to: [Login Lockdown & Protection] Windows and II 7Would like to note that if you delete the plugin the tables are left in the database as well. I’m not sure if without making the suggested changes above the plugin drops those tables upon deletion or not.
Forum: Plugins
In reply to: [Login Lockdown & Protection] Windows and II 7This worked for me on IIS:
Comment/remove these lines (420-421):
$activatestr = str_replace(WP_PLUGIN_DIR . "/", "activate_", __FILE__); add_action($activatestr, 'loginLockdown_install');Add after those lines:
register_activation_hook( __FILE__, 'loginLockdown_install' );Thank you @samsimpleclick!
- This reply was modified 9 years, 8 months ago by Daniel Maier.
Forum: Plugins
In reply to: [Login Lockdown & Protection] Windows and II 7@dudleyits have you tried Simple History (https://wordpress.org/plugins/simple-history/) to log stuff in WordPress…
Forum: Plugins
In reply to: [Login Lockdown & Protection] Windows and II 7I’m having the same issues. The plugin is not working on Windows Server (IIS).
I will try the suggested changes. Thanks!
Forum: Plugins
In reply to: [Rename wp-login.php] Another plugin with identical descriptionThanks commenting on this @mjjojo and @jonathanwaters!
Thank you Pär, your work is very appreciated!
Whew, that’s excellent that you were able to replicate it. I was thinking I was the only one!
Thank you for looking further into this, Pär.
Thanks Pär, I’m still having that issue. Every second hundreds of log entries are being saved.
Hi Pär,
Were you able to get NextGEN Plus to test?
I am still having thousands of entries every moment:
Other less than a minute ago
Updated nextgen gallery – display type “NextGen Pro Mosaic”
Other less than a minute ago
Updated nextgen gallery – display type “NextGEN Pro Grid Album”
Other less than a minute ago
Updated nextgen gallery – display type “NextGEN Pro List Album”
Other less than a minute ago
Updated nextgen gallery – display type “NextGEN Pro Masonry”
Other less than a minute ago
Updated nextgen gallery – display type “NextGEN Pro Film”
Other less than a minute ago
Updated nextgen gallery – display type “NextGEN Pro Blog Style”
Other less than a minute ago
Updated nextgen gallery – display type “NextGEN Pro Thumbnail Grid”
Other less than a minute ago
Updated nextgen gallery – display type “NextGEN Pro Horizontal Filmstrip”
Other less than a minute ago
Updated nextgen gallery – display type “NextGEN Pro Slideshow”
Other less than a minute ago
Updated nextgen gallery – display type “NextGEN Basic Extended Album”Thank you!
I have NextGEN Plus, I can let you borrow that for testing. I’m sending you an email now…
Pär Thernström, let me know if you want a CSV export of the logs so you can take a look.
The trigger is “SimplePostLogger”.
Thank you!