• Forum
  • FAQ
  • Docs
Notice: In order to post a support question you have to have an account and be logged in.
Register  or  Login
  1. I installed the plugin and it works and looks great, but how do I see the look of the actual site while I'm in "Under Construction" mode? My client and I will need to be able to still the the actual site, even though it's hidden using your plugin. Which URL do I use?

    envecreative
    3 years ago
  2. Hi,
    when you log in in the wp-admin you are able to see the site. This is the only way. Give the username and password to your client and then he/she would be able to see the site.

    Let me know if you need more assistance.

    Max
    3 years ago
  3. OK, thanks. Problem is that I don't want my client to have admin-level access to the backend of the site. So is there a way to add an additional user level (preferably something very limited like Subscriber) to those who can view the site without granting access to the entire backend structure? I'd really rather not have to worry about clients fiddling with the content.

    Thanks!

    envecreative
    3 years ago
  4. Hi,
    open the tf_maintenance-maintenance-plugin.php and find there this code:

    public function check_user_capability()
        {
            if ( is_super_admin() || current_user_can('manage_options') ) return true;
    
            return false;
        }

    and replace it with this one:

    public function check_user_capability()
        {
            if ( is_super_admin() || is_author() || current_user_can('manage_options') ) return true;
    
            return false;
        }

    Then create a new user from users menu and give author rights to that user. This user wouldn't be able to edit anything but would be able to view the site when would login to dashboard.

    Max
    3 years ago
  5. The user logged in to wp-admin?

    Max
    3 years ago
  6. Yes, he was logged into his account, and he has been changed to an author. His login info is below so you can test it out. Thanks!

    envecreative
    3 years ago
  7. Hi,
    sorry for a late response. I've found the solution for all users. The user can be even subscriber. Just find this code in tf_maintenance-maintenance-plugin.php :
    public function check_user_capability()
    {
    if ( is_super_admin() || current_user_can('manage_options') ) return true;

    return false;
    }
    and replace it with this one:
    public function check_user_capability()
    {
    if ( is_super_admin() || is_user_logged_in() || current_user_can('manage_options') ) return true;

    return false;
    }

    The site would be visible for all users that are logged in. I've tested and is work.

    Max
    3 years ago
  8. I've already made the changes for you and it works.

    Max
    3 years ago
  9. Need same thing. Not comfortable giving client access to full back-end, just want him to be able to log in & view the site - he is a difficult man and would most likely try to mess it up! Didn't expect it to be this difficult to show client the site for proof. I see the code above ; I'm trying to override w/

    public function check_user_capability()
    {
    if ( is_super_admin() || is_user_logged_in() || current_user_can('manage_options') ) return true;

    return false;
    }

    But the plugin editor won't let me override the file; It's giving me an error of "this file doesn't exist" .. Even though it does, because I have it opened in front of me.

    WaxLily
    2 years ago
  10. Hi,
    just connect to your ftp account and edit files from there and it would work for sure.

    Cheers,
    Max.

    Max
    2 years ago
  11. OK I will try it. Just don't want to break the php -- unfamiliar territory!

    WaxLily
    2 years ago
  12. OK my whole site is broken. Gone. I broke it .. NOOO! I tried putting back original code, but I must've screwed something up -- can't even log in to my WP dashboard!!!!

    PLEASE HELP. This should have been easier :(

    WaxLily
    2 years ago
  13. What is the point in using your Maintenance Mode plugin if this is how difficult it is? I could have simply put up my own "coming soon" page w/ a redirect & this would not be happening. I can't even work on my site now!!

    WaxLily
    2 years ago
  14. Please provide ftp details and I would fix. The plugin is not hard to use at all.

    Max
    2 years ago
  15. I just uploaded the original copy of the plugin I had backed up & everything seems fine now.

    Yes, the plugin is very simple and convenient, but in the future it would be nice to see the capability to add clients as subscribers so they can view progress w/o having full access to the dashboard. Seems obvious to me! Thanks for your response.

    WaxLily
    2 years ago
  16. +1 on this.

    beiker
    2 years ago

Add Reply

You must log in to post.

 

Add a new topic!

Chances are your issue is already answered, but if it’s not, you can always create a new topic.

Add new topic

Search forums

Searching for something specific? Type something and press Enter to search.