The Support Forums will be in read-only mode for a scheduled maintenance window on 01 September 2016 14:00 UTC - 20:00 UTC. More information.

Set Subscriber Access To Profile Page Only (1 post)

  1. lovelyangelforyou
    Posted 9 years ago #


    I need to limit the access of subscriber to only the profile page. As it is by default they are able to access the Dashboard(index.php) and Profile(profile.php). Though I only want them to see Profile Page. And maybe a Tab next to it that takes them back to homepage for the website. I dont want them to see the index.php.
    I know this is possible. I am looking for it as well.

    By subscriber I mean user registered as Role Subscriber

    However editing the menu.php to following, does hide the dashboard link from the subscriber, however I dont want then to see the index page at all.
    //$menu[0] = array(__('Dashboard'), 'read', 'index.php');
    $menu[10] = array(__('Dashboard'), 'read', 'index.php');

    While just putting this code, I think I can add something like
    $menu[0] = array(__('Homepage'), 'read', 'mysiteurl');
    Let me try that. [Edit : This Works]

    However I am still thinking on how to stop access to index.php from subscriber.

Topic Closed

This topic has been closed to new replies.

About this Topic