micelestium
Forum Replies Created
Viewing 5 replies - 1 through 5 (of 5 total)
-
Forum: Plugins
In reply to: [Page Animations And Transitions] error after update to WP 4.5Had to check all my code, but got it to work again.
Thanks
Forum: Plugins
In reply to: [Simple LDAP Login] Can't Authenticate Without Refreshchange your httpd.conf on the server.
add or change to “Off”:
LDAPVerifyServerCert Off
restart your httpd
Forum: Plugins
In reply to: [Simple LDAP Login] Support for multiple AD Domainuse the ; (read the field instructions)
Forum: Plugins
In reply to: [Contact Form 7] Garlic.js and CF7: make field values persistentIt would be interesting to add something like garlic.js to Gravity Forms.
Forum: Plugins
In reply to: [Wp-Private] Checking user login from outside wordpressI use this code in my main directory to display files via Htaccess and WordPress login:
<?php require_once('wp-config.php'); if( is_user_logged_in() ): $file = ABSPATH.'wp-content/uploads/'.$_GET['img']; if (file_exists($file)) { $ftype = 'application/octet-stream'; $finfo = @new finfo(FILEINFO_MIME); $fres = @$finfo->file($file); if (is_string($fres) && !empty($fres)) { $ftype = $fres; } header('Content-Type: ' . $ftype); header('Content-Length: '.filesize($file)); header('Content-Disposition: filename='.basename($file)); flush(); readfile($file); } else { global $wp_query; $wp_query->set_404(); status_header(404); include( get_query_template( '404' ) ); } else: auth_redirect(); endif; die(); ?>It works well, but it loads to slow. I’m still working on a way to speedup te proces and not completely load the whole init.
Viewing 5 replies - 1 through 5 (of 5 total)