{"id":812,"date":"2008-04-14T19:22:10","date_gmt":"2008-04-14T17:22:10","guid":{"rendered":"http:\/\/notizblog.org\/?p=812"},"modified":"2020-06-07T20:40:57","modified_gmt":"2020-06-07T18:40:57","slug":"singleuser-noserub","status":"publish","type":"post","link":"https:\/\/notiz.blog\/2008\/04\/14\/singleuser-noserub\/","title":{"rendered":"SingleUser NoseRub"},"content":{"rendered":"\n<p>Eigentlich wollte ich <a href=\"https:\/\/web.archive.org\/web\/20091026135343\/http:\/\/noserub.com\/\">NoseRub<\/a> schon vor ner ganze Weile mal testen, jetzt habe ich die seit vorgestern erh\u00e4ltliche <a href=\"https:\/\/web.archive.org\/web\/20080924163937\/http:\/\/noserub.com:80\/blog\/archives\/52-NoseRub-0.6-released.html\">Version 0.6<\/a> zum Anlass genommen, NoseRub mal auf meinem Server zu installieren: <a href=\"https:\/\/pfefferle.org\">pfefferle.org<\/a><\/p>\n\n\n\n<p>Wer NoseRub, wie ich als SingleUser-System auf seinem Server\/Webspace hosten will (anstatt als Service wie <a href=\"https:\/\/web.archive.org\/web\/20100507140906\/http:\/\/identoo.com:80\/\">Identoo.com<\/a>) muss nur zwei Dinge beachten:<\/p>\n\n\n\n<h4 class=\"wp-block-heading\">NoseRub Registration Type<\/h4>\n\n\n\n<p>Zuerst sollte man sicherstellen dass sich keiner bei NoseRub registrieren kann, dazu einfach die Datei &#8222;<code>app\/config\/noserub.php<\/code>&#8220; \u00f6ffnen und den <code>NOSERUB_REGISTRATION_TYPE<\/code> auf <code>none<\/code> setzen.<\/p>\n\n\n<pre class=\"wp-block-code\" aria-describedby=\"shcb-language-1\" data-shcb-language-name=\"JavaScript\" data-shcb-language-slug=\"javascript\"><span><code class=\"hljs language-javascript\">define(<span class=\"hljs-string\">'NOSERUB_REGISTRATION_TYPE'<\/span>, <span class=\"hljs-string\">'none'<\/span>);<\/code><\/span><small class=\"shcb-language\" id=\"shcb-language-1\"><span class=\"shcb-language__label\">Code-Sprache:<\/span> <span class=\"shcb-language__name\">JavaScript<\/span> <span class=\"shcb-language__paren\">(<\/span><span class=\"shcb-language__slug\">javascript<\/span><span class=\"shcb-language__paren\">)<\/span><\/small><\/pre>\n\n\n<h4 class=\"wp-block-heading\">SocialStream durch &#8222;My Profile&#8220; ersetzen<\/h4>\n\n\n\n<p>Im zweiten Schritt kann man die Startseite (SocialStream) durch sein eigenes Profil ersetzen. Hierzu muss man in der &#8222;<code>app\/config\/routes.php<\/code>&#8220; einfach nur die Zeile<\/p>\n\n\n<pre class=\"wp-block-code\" aria-describedby=\"shcb-language-2\" data-shcb-language-name=\"PHP\" data-shcb-language-slug=\"php\"><span><code class=\"hljs language-php\">Router::connect(<span class=\"hljs-string\">'\/'<\/span>, <span class=\"hljs-keyword\">array<\/span>(<span class=\"hljs-string\">'controller'<\/span> =&gt; <span class=\"hljs-string\">'identities'<\/span>, <span class=\"hljs-string\">'action'<\/span> =&gt; <span class=\"hljs-string\">'social_stream'<\/span>));<\/code><\/span><small class=\"shcb-language\" id=\"shcb-language-2\"><span class=\"shcb-language__label\">Code-Sprache:<\/span> <span class=\"shcb-language__name\">PHP<\/span> <span class=\"shcb-language__paren\">(<\/span><span class=\"shcb-language__slug\">php<\/span><span class=\"shcb-language__paren\">)<\/span><\/small><\/pre>\n\n\n<p>&#8230;mit&#8230;<\/p>\n\n\n<pre class=\"wp-block-code\" aria-describedby=\"shcb-language-3\" data-shcb-language-name=\"PHP\" data-shcb-language-slug=\"php\"><span><code class=\"hljs language-php\">Router::connect(<span class=\"hljs-string\">'\/'<\/span>, <span class=\"hljs-keyword\">array<\/span>(<span class=\"hljs-string\">'controller'<\/span> =&gt; <span class=\"hljs-string\">'identities'<\/span>, <span class=\"hljs-string\">'action'<\/span> =&gt; <span class=\"hljs-string\">'index'<\/span>, <span class=\"hljs-string\">'username'<\/span> =&gt; <span class=\"hljs-string\">'USERNAME'<\/span>));<\/code><\/span><small class=\"shcb-language\" id=\"shcb-language-3\"><span class=\"shcb-language__label\">Code-Sprache:<\/span> <span class=\"shcb-language__name\">PHP<\/span> <span class=\"shcb-language__paren\">(<\/span><span class=\"shcb-language__slug\">php<\/span><span class=\"shcb-language__paren\">)<\/span><\/small><\/pre>\n\n\n<p>&#8230;ersetzen und statt <strong>USERNAME<\/strong> den eigenen Benutzernamen eintragen. Das wars eigentlich schon.<\/p>\n\n\n\n<p>Viel Spa\u00df beim ausprobieren \ud83d\ude42<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Eigentlich wollte ich NoseRub schon vor ner ganze Weile mal testen, jetzt habe ich die seit vorgestern erh\u00e4ltliche Version 0.6 zum Anlass genommen, NoseRub mal auf meinem Server zu installieren: pfefferle.org Wer NoseRub, wie ich als SingleUser-System auf seinem Server\/Webspace hosten will (anstatt als Service wie Identoo.com) muss nur zwei Dinge beachten: NoseRub Registration Type [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"webmentions_disabled_pings":false,"webmentions_disabled":false,"activitypub_content_warning":"","activitypub_content_visibility":"","activitypub_max_image_attachments":4,"activitypub_interaction_policy_quote":"anyone","activitypub_status":"","footnotes":""},"categories":[2],"tags":[478,5171,534,571,573,465],"class_list":{"0":"post-812","1":"post","2":"type-post","3":"status-publish","4":"format-standard","6":"category-web","7":"tag-dataportability","8":"tag-fediblog","9":"tag-lifestream","10":"tag-noserub","11":"tag-singleuser","12":"tag-social-network-portability","13":"h-entry","14":"hentry"},"_links":{"self":[{"href":"https:\/\/notiz.blog\/wp-api\/wp\/v2\/posts\/812","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/notiz.blog\/wp-api\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/notiz.blog\/wp-api\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/notiz.blog\/wp-api\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/notiz.blog\/wp-api\/wp\/v2\/comments?post=812"}],"version-history":[{"count":1,"href":"https:\/\/notiz.blog\/wp-api\/wp\/v2\/posts\/812\/revisions"}],"predecessor-version":[{"id":20156,"href":"https:\/\/notiz.blog\/wp-api\/wp\/v2\/posts\/812\/revisions\/20156"}],"wp:attachment":[{"href":"https:\/\/notiz.blog\/wp-api\/wp\/v2\/media?parent=812"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/notiz.blog\/wp-api\/wp\/v2\/categories?post=812"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/notiz.blog\/wp-api\/wp\/v2\/tags?post=812"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}