michaeljgibson
Forum Replies Created
-
Forum: Plugins
In reply to: [Simple Membership] Simple Membership does not accurately respond to log in.In answer to the questions from mbrsolution, I have tried all the major browsers, edge, chrome, and firefox. I have spent days researching the cache – for all the ways to clear cache, I have cleared them or turned off the caching, and tried all variations multiple times. The login I am using to test is setup as a subscriber, and the protection on the content is configured to allow subscribers to see it. The user configuration and content protection are working, just not right away.
All that aside, what I have now found is that the problem appears to occur just on Bluehost. I tried a local install, and everything was good, and then I tried a similar test on IONOS, and that worked also. So I have to say that the problem is on Bluehost. They do have some cache configurations and settings that I have tried all variations of, but I still cant get it to work.
For one more point that might be of interest, I tried using another plugin, “User Registration”, that auto generated a couple pages, and the interesting point is that those pages worked just fine on Bluehost. The user was recognized on the first try as I switched to those pages.
- This reply was modified 1 day, 9 hours ago by michaeljgibson.
Just a follow up on this, I tried the same test on IONOS, and it worked just fine. So, I have to say the problem is with Bluehost, but unfortunately, I cant say anything more specific than that.
Hi threadi, Thank you for the fast response. Unfortunately, your suggestion does not work for me on the Bluehost test website. However I tried a simple local install with the same setup and it appears to work just fine in that case. So I am now assuming Bluehost is the problem and will try another hosting platform.
- This reply was modified 3 days, 9 hours ago by michaeljgibson.
Forum: Plugins
In reply to: [Simple Membership] Simple Membership does not accurately respond to log in.I have done some more playing around and testing with this and also tried another membership plugin as well as creating a shortcode that shows the current user:
<?php
function custom_shortcode_func()
{
ob_start();
$current_user = wp_get_current_user();
if($current_user->ID != 0)
{
if(isset($current_user->display_name))
{
echo 'Hello ' . $current_user->display_name;
}
// $current_user->user_firstname . ' ' . $current_user->user_lastname . '<br />';
}
$output = ob_get_clean();
return $output;
}
add_shortcode('current_user', 'custom_shortcode_func');
?>The problem is the same with the other plugin and the shortcode. To see the user info or restricted content, I have to refresh the page.
As far as I know, I have all caching turned off, but obviously there is something going on with caching the pages.
I think that I figured out the problem. It appears to be related to my using the password manager “LastPass”. If I turn LastPass off, then the problem goes away.
I had the same problem initially. I found that I couldn’t see the menu because it was the same color (white) as the background. Changing the colors fixed the problem.