$o .= L10n::t('We would like to offer some tips and links to help make your experience enjoyable. Click any item to visit the relevant page. A link to this page will be visible from your home page for two weeks after your initial registration and then will quietly disappear.');
$o .= '<h4>' . L10n::t('Getting Started') . '</h4>';
$o .= '<ul>';
- $o .= '<li> ' . '<a target="newmember" href="help/guide">' . L10n::t('Friendica Walk-Through') . '</a><br />' . L10n::t('On your <em>Quick Start</em> page - find a brief introduction to your profile and network tabs, make some new connections, and find some groups to join.') . '</li>' . EOL;
+ $o .= '<li> ' . '<a target="newmember" href="help/Quick-Start-guide">' . L10n::t('Friendica Walk-Through') . '</a><br />' . L10n::t('On your <em>Quick Start</em> page - find a brief introduction to your profile and network tabs, make some new connections, and find some groups to join.') . '</li>' . EOL;
$o .= '</ul>';
$o .= '<h4>' . L10n::t('Settings') . '</h4>';
$o .= '<ul>';
/// @todo Add Authentication to enable fetching of non public content
// $requester = HTTPSignature::getSigner('', $_SERVER);
+ // At first we try the original post with that guid
$item = Item::selectFirst(['id'], ['guid' => $a->argv[1], 'origin' => true, 'private' => false]);
if (!DBA::isResult($item)) {
- System::httpExit(404);
+ // If no original post could be found, it could possibly be a forum post, there we remove the "origin" field.
+ $item = Item::selectFirst(['id', 'author-link'], ['guid' => $a->argv[1], 'private' => false]);
+ if (!DBA::isResult($item) || !strstr($item['author-link'], System::baseUrl())) {
+ System::httpExit(404);
+ }
}
$data = ActivityPub\Transmitter::createObjectFromItemID($item['id']);
{{* {{$langselector}} *}}
<div id="site-location">{{$sitelocation}}</div>
- <div id="banner">{{$banner}}</div>
+ <div id="banner">{{$banner nofilter}}</div>
</header>
<nav>
<ul>
<nav>
- <span id="banner">{{$banner}}</span>
+ <span id="banner">{{$banner nofilter}}</span>
<div id="notifications">
{{if $nav.network}}<a id="net-update" class="nav-ajax-update" href="{{$nav.network.0}}" title="{{$nav.network.1}}"></a>{{/if}}