Please upgrade here. These earlier versions are no longer being updated and have security issues.
HackerOne users: Testing against this community violates our program's Terms of Service and will result in your bounty being denied.
[SOLVED]This plugin fail!!!
This plugin don't work for me. I can enable it and "like" button does appear. But it come with error 404 when clicking. My forum path is http://myhost.etc/subdir/ but lajkuj's like button bring it to http://myhost.etc/discussion/lajkuj/1
1
Comments
Line 85, replace:
$RedirectURL = Url("discussion/{$DiscussionID}#Item_{$CommentID}");
With:
$RedirectURL = "discussion/{$DiscussionID}#Item_{$CommentID}";
Line 90, replace:
$RedirectURL = Url("discussion/{$DiscussionID}");
With:
$RedirectURL = "discussion/{$DiscussionID}";
Line 131, replace:
$Sender->AddJSFile($this->GetWebResource('lajkuj.js'));
With:
$Sender->AddJSFile('plugins/Lajkuj/lajkuj.js');
Line 174, replace:
$Src .= '<a href="/discussion/lajkuj/' . $Url . '">Like</a>';
With:
$Src .= '<a href="'.Url('/discussion/lajkuj/'.$Url). '">'.T('Like').'</a>';
Line 193, replace:
$Src .= '<a href="/discussion/lajkuj/' . $Url . '">Like</a> ' . $CountLikes . ' others like this.';
With:
$Src .= '<a href="'.Url('/discussion/lajkuj/'.$Url). '">'.T('Like').'</a> ' . $CountLikes . ' '.T('others like this.');
T('some text')
for localizationIt's working for me, but beyond that, what is the use for it? I was looking for something to help me keep track of my "likes" as opposed to bookmarking a thread.
Addendum:
This works in some forums, but not others.