• Welcome to Tux Reports: Where Penguins Fly. We hope you find the topics varied, interesting, and worthy of your time. Please become a member and join in the discussions.
Resource icon

HOWTO: Fix Links in TaigaChat Pro

Compatible XenWord Versions
2.1
Compatible WP Versions
  1. 4.2
Compatible XF Versions
  1. 1.4
Visible Branding
No
This may fix some of the linking issues experienced with TaigaChat Pro.

Step 1: Open the Post.php file located /path/to/community/library/Dark/TaigaChat/DataWriter/DiscussionMessage/Post.php

Step 2: Make a copy of the file.

Step 3: Go to lines 58 - 67 and replace with the following:

PHP:
if($isThread){
    $activityMessage = new XenForo_Phrase('dark_posted_new_thread_in_x_x', array(
        'forum' => "[url='".XenForo_Link::buildPublicLink("canonical:forums", $node)."']".$node['title']."[/url]",
        'thread' => "[url='".XenForo_Link::buildPublicLink("canonical:threads", $thread)."']".$title."[/url]",
    ), false);    
} else {
    $activityMessage = new XenForo_Phrase('dark_replied_to_x', array(
        'thread' => "[url='".XenForo_Link::buildPublicLink("canonical:posts", $this->_newData['xf_post'])."']".$title."[/url]",
    ), false);                    
}

Step 4: Save

Step 5: Test

Please let me know if this works on your site or you have a better solution.
Author
LPH
Views
463
First release
Last update
Rating
0.00 star(s) 0 ratings

More resources from LPH

Top