{"action":"created","issue":{"url":"https://api.github.com/repos/geekitude/dokuwiki-plugin-userhomepage/issues/11","labels_url":"https://api.github.com/repos/geekitude/dokuwiki-plugin-userhomepage/issues/11/labels{/name}","comments_url":"https://api.github.com/repos/geekitude/dokuwiki-plugin-userhomepage/issues/11/comments","events_url":"https://api.github.com/repos/geekitude/dokuwiki-plugin-userhomepage/issues/11/events","html_url":"https://github.com/geekitude/dokuwiki-plugin-userhomepage/issues/11","id":79350920,"number":11,"title":"A link to private user namespace when users are connected","user":{"login":"sganarel","id":2787919,"avatar_url":"https://avatars.githubusercontent.com/u/2787919?v=3","gravatar_id":"","url":"https://api.github.com/users/sganarel","html_url":"https://github.com/sganarel","followers_url":"https://api.github.com/users/sganarel/followers","following_url":"https://api.github.com/users/sganarel/following{/other_user}","gists_url":"https://api.github.com/users/sganarel/gists{/gist_id}","starred_url":"https://api.github.com/users/sganarel/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sganarel/subscriptions","organizations_url":"https://api.github.com/users/sganarel/orgs","repos_url":"https://api.github.com/users/sganarel/repos","events_url":"https://api.github.com/users/sganarel/events{/privacy}","received_events_url":"https://api.github.com/users/sganarel/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/geekitude/dokuwiki-plugin-userhomepage/labels/invalid","name":"invalid","color":"e6e6e6"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-05-22T08:25:42Z","updated_at":"2015-05-22T15:43:26Z","closed_at":null,"body":"Is it possible to put an hyperlink behind the name of the connected user (in the top menu bar) to give a quick access for the user's private namespace (to the start page) ?"},"comment":{"url":"https://api.github.com/repos/geekitude/dokuwiki-plugin-userhomepage/issues/comments/104694830","html_url":"https://github.com/geekitude/dokuwiki-plugin-userhomepage/issues/11#issuecomment-104694830","issue_url":"https://api.github.com/repos/geekitude/dokuwiki-plugin-userhomepage/issues/11","id":104694830,"user":{"login":"geekitude","id":8507657,"avatar_url":"https://avatars.githubusercontent.com/u/8507657?v=3","gravatar_id":"","url":"https://api.github.com/users/geekitude","html_url":"https://github.com/geekitude","followers_url":"https://api.github.com/users/geekitude/followers","following_url":"https://api.github.com/users/geekitude/following{/other_user}","gists_url":"https://api.github.com/users/geekitude/gists{/gist_id}","starred_url":"https://api.github.com/users/geekitude/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/geekitude/subscriptions","organizations_url":"https://api.github.com/users/geekitude/orgs","repos_url":"https://api.github.com/users/geekitude/repos","events_url":"https://api.github.com/users/geekitude/events{/privacy}","received_events_url":"https://api.github.com/users/geekitude/received_events","type":"User","site_admin":false},"created_at":"2015-05-22T15:43:26Z","updated_at":"2015-05-22T15:43:26Z","body":"Hi\r\n\r\nThis is not an issue.\r\n\r\nYou will have to manually change your template to add this, sorry but a plugin can't change that on it's own. Here's for example what you can do with Dokuwiki's default template : \r\n- open lib/tpl/dokuwiki/tpl_header.php file\r\n- replace these lines:\r\n    if (!empty($_SERVER['REMOTE_USER'])) {\r\n        echo '<li class=\"user\">';\r\n        tpl_userinfo(); /* 'Logged in as ...' */\r\n        echo '</li>';\r\n    }\r\nwith : \r\n    if ((tpl_getConf('userhomepageplugin')) and (!plugin_isdisabled('userhomepage')) and (!empty($_SERVER['REMOTE_USER'])) {\r\n        $userhomepageHelper = plugin_load('helper','userhomepage');\r\n        echo $userhomepageHelper->getComplexLoggedInAs();\r\n    } else {\r\n        echo '<li class=\"user\">';\r\n        tpl_userinfo(); /* 'Logged in as ...' */\r\n        echo '</li>';\r\n    }\r\n\r\nYou can find more helper functions in Helper section of plugin's official webpage.\r\n\r\nHope this helps"}}