Dark/TiagaChat/DataWriter/DiscussionMessage/Post.php
Change the following:
[code] if($isThread){$activityMessage = new XenForo_Phrase(‘dark_posted_new_thread_in_x_x’, array(
‘forum’ => "[url=’".XenForo_Link::convertUriToAbsoluteUri(XenForo_Link::buildPublicLink("forums", $node), true)."’]".$node[‘title’]."[/url]",
‘thread’ => "[url=’".XenForo_Link::convertUriToAbsoluteUri(XenForo_Link::buildPublicLink("threads", $thread), true)."’]".$thread[‘title’]."[/url]",
), false);
} else {
$activityMessage = new XenForo_Phrase(‘dark_replied_to_x’, array(
‘thread’ => "[url=’".XenForo_Link::convertUriToAbsoluteUri(XenForo_Link::buildPublicLink("posts", $this->_newData[‘xf_post’]), true)."’]".$thread[‘title’]."[/url]",
), false);
}
[/code]
This builds a url path based on boardUrl rather than AbsoluteUri.
[code] if($isThread){$activityMessage = new XenForo_Phrase(‘dark_posted_new_thread_in_x_x’, array(
‘forum’ => "[url=’".XenForo_Application::get(‘options’)->boardUrl . ‘/’ .XenForo_Link::buildPublicLink("forums", $node)."’]".$node[‘title’]."[/url]",
‘thread’ => "[url=’".XenForo_Application::get(‘options’)->boardUrl . ‘/’.XenForo_Link::buildPublicLink("threads", $thread)."’]".$thread[‘title’]."[/url]",
), false);
} else {
$activityMessage = new XenForo_Phrase(‘dark_replied_to_x’, array(
‘thread’ => "[url=’".XenForo_Application::get(‘options’)->boardUrl . ‘/’.XenForo_Link::buildPublicLink("posts", $this->_newData[‘xf_post’])."’]".$thread[‘title’]."[/url]",
), false);
}
[/code]