perfectweb
Forum Replies Created
-
Manually refreshing rules solved the problem for me too. Thanks @viablethought!
That worked perfectly. Thank you!
No I did not contact Constant Contact plugin author. Are you not willing to look at this?
Forum: Plugins
In reply to: [BackWPup – WordPress Backup & Restore Plugin] Downloads stop at 32MBI solved the problem. I was only having the problem on hosting using LiteSpeed servers. LiteSpeed will abort processes pretty quickly unless you add a no-abort directive to your htaccess file, which fixed the problem for me. This is what I added to my htaccess:
# BEGIN litespeed noabort RewriteEngine On RewriteRule .* - [E=noabort:1] # END litespeed noabortI have learned from my hosting company that zip files do not store permissions, so when they are expanded, files are in a neutral state and get assigned default permissions. For anyone else with this problem, the solution is simply to use the .tar.gz file format for your backups, because the .tar.gz files preserve permissions.
Forum: Plugins
In reply to: [Login Widget With Shortcode] Logout redirect ignores https settingThank you for the reply. I came up with another solution for the logout redirect, but thanks anyway!
Very helpful plugin! In case this thread scared anyone else into worrying they just accidentally sent out a bunch of emails, you can probably relax.
Using WordPress 4.5.2 and plugin version 1.8.9, I tested importing with monitored email accounts and made sure no emails were sent to users being imported. You still might want to consider the plugin mentioned above to disable all mail, but this plugin honored the “do not send” settings for me.
It’s always a good idea to include some test accounts in any import, so you can make sure yourself.
I second this request. I want to keep visitors on my custom login page when they enter the wrong credentials.
Forum: Plugins
In reply to: [WP Private Content Plus] Attachments not protected and extra divI took a look at the plugin’s WPPCP_Post_Attachments class (class-wppcp-post-attachments.php) and see how you are using the permissions to show or not show the download links, but are not using the permissions to control the download. A few extra lines in file_attachment_download() would prevent unauthorized downloads. See below.
i think users of your plugin are under the impression that managed file attachments are protected, and that someone could not post a link to the files that anyone else could use.
foreach ($post_attachments as $key => $attach_data) { if($attach_data['attach_id'] == $wppcp_file_id){ // echo "<pre>";print_r($attach_data);exit; if ($this->verify_download_permission($attach_data)){ $file_mime_type = isset($attach_data['mime']) ? $attach_data['mime'] : ''; if($file_mime_type != ''){ header('Cache-Control: public'); header('Content-Description: File Transfer'); header('Content-disposition: attachment;filename='.basename($file_dir)); header('Content-Type: '. $file_mime_type); header('Content-Transfer-Encoding: binary'); header('Content-Length: '. filesize($file_dir)); readfile($file_dir); exit; } } else { echo 'You need to <a href="'.wp_login_url().'">login</a> before downloading this file.'; exit(); } } }if you use “Reply-To: [your-email]” as additional header, make sure “your-email” is required (using asterisk) on Form, “[email* your-email]”
Forum: Fixing WordPress
In reply to: How to Fix WordPress deprecatedI was able to quickly fix a similar problem by taking the “functions.php” file from the newest twenty eleven theme and replacing the functions.php file in my custom theme. This only works if your theme’s functions.php file had not been customized.
The fix was to separate the 2 files I wanted to exclude into separate <Files> directives.
<Files "admin-ajax.php"> Satisfy any Order allow,deny Allow from all </Files> <Files "css/install.css"> Satisfy any Order allow,deny Allow from all </Files>