Dandello Forum AdministratorYaBB Modder Offline I love YaBB 2.7! Posts: 2234 Location: The Land of YaBB Joined: Feb 12th, 2014 Gender: Mood: Annoyed Zodiac sign: Link to This Topic Dec 31st, 2014 at 10:32pm Mark & QuoteQuote Link to This Topic for YaBB 2.6.11 Version: 1.5 Author: Derek Barnstrom Description ----------- This mod adds a 'Link to This Topic' box below threads in Message View. Installation ------------ 1) Modify YaBB files using BoardMod or manually. 2) Upload modified files to your server in ASCII mode. 3) Upload linktopic.gif to the ModImages directory in Binary mode. 4) Upload LinkTopic.lng to Languages/English/Mods in ASCII mode. 5) Go to 'Admin Center - Forum Settings - Show / Hide Items' to enable this feature. Files to edit ------------- Admin/ManageTemplates.pm Admin/ModList.pm Admin/NewSettings.pm Admin/Settings_Main.pm Sources/Display.pm Templates/default/Display.template Note: the html in this version has been separated out and put into Display.template. Link_to_This_Topic_2611.zip ( 4 KB | 116 Downloads ) link_to_this_topic_German_files.zip ( 3 KB | 129 Downloads ) Perfection is not possible. Excellence, however, is excellent. WWW IP Logged
Batchman Full Member Offline I Love YaBB! Posts: 165 Location: Somewhere just East of Crazy Joined: Jul 25th, 2014 Gender: Mood: Depressed Zodiac sign: Re: Link to This Topic Reply #1 - Jan 5th, 2015 at 11:36pm Mark & QuoteQuote Um ... I am not 100% sure, but I think this is throwing in some ampersands (&) that do not belong .... LinkToProbs.jpg ( 81 KB | 109 Downloads ) If you don't know where you are, but you don't care, you're not lost ... you're exploring! IP Logged
Dandello Forum Administrator Offline I love YaBB 2.7! Posts: 2234 Location: The Land of YaBB Joined: Feb 12th, 2014 Gender: Mood: Annoyed Zodiac sign: Re: Link to This Topic Reply #2 - Jan 6th, 2015 at 3:13am Mark & QuoteQuote The problem is that mod_security fix - it's turning all the html entities in the form query string from things like < into & In Display.template find Code (Perl) <td class="windowbg2"><label for="link_html"><span class="small" style="font-weight: bold; cursor: pointer; white-space: nowrap;">{yabb link_topic_txt02}:</span></label></td> <td class="windowbg2"><input type="text" id="link_html" class="small" style="width: 98%; cursor: pointer;" onclick="this.select();" value="<a href="$scripturl?num={yabb mnum}" target="_blank">{yabb msubthread}</a>" title="{yabb link_topic_txt06}" readonly="readonly" /></td> </tr><tr> <td class="windowbg2"><label for="link_bbcode"><span class="small" style="font-weight: bold; cursor: pointer;">{yabb link_topic_txt03}:</span></label></td> <td class="windowbg2"><input type="text" id="link_bbcode" class="small" style="width: 98%; cursor: pointer;" onclick="this.select();" value="[url=$scripturl?num={yabb mnum}]{yabb msubthread}[/url]" title="{yabb link_topic_txt07}" readonly="readonly" /></td> and replace with Code (Perl) <td class="windowbg2"><label for="link_html"><span class="small" style="font-weight: bold; cursor: pointer; white-space: nowrap;">{yabb link_topic_txt02}:</span></label></td> <td class="windowbg2"><input type="text" id="link_html" class="small" style="width: 98%; cursor: pointer;" onclick="this.select();" value="<a href='$scripturl?num={yabb mnum}' target='_blank'>{yabb msubthread}</a>" title="{yabb link_topic_txt06}" readonly="readonly" /></td> </tr><tr> <td class="windowbg2"><label for="link_bbcode"><span class="small" style="font-weight: bold; cursor: pointer;">{yabb link_topic_txt03}:</span></label></td> <td class="windowbg2"><input type="text" id="link_bbcode" class="small" style="width: 98%; cursor: pointer;" onclick="this.select();" value="[url=$scripturl?num={yabb mnum}]{yabb msubthread}[/url]" title="{yabb link_topic_txt07}" readonly="readonly" /></td> Perfection is not possible. Excellence, however, is excellent. WWW IP Logged
Batchman Full Member Offline I Love YaBB! Posts: 165 Location: Somewhere just East of Crazy Joined: Jul 25th, 2014 Gender: Mood: Depressed Zodiac sign: Re: Link to This Topic Reply #3 - Jan 6th, 2015 at 6:41am Mark & QuoteQuote That small replacement did, indeed, fix everything perfectly. Computers ... can't live with them, can't take over the world without them! If you don't know where you are, but you don't care, you're not lost ... you're exploring! IP Logged
pyragony54 Language Offline I Love YaBB! Posts: 852 Location: Йошкар-Ола Joined: May 25th, 2014 Gender: Mood: Dead Zodiac sign: Re: Link to This Topic Reply #4 - Feb 17th, 2016 at 12:35pm Mark & QuoteQuote Updatet for YaBB 2.6.12 Link_to_This_Topic_2612.zip ( 4 KB | 119 Downloads ) Link_to_this_topic_German_files_2612.zip ( 2 KB | 118 Downloads ) if (idea == 'none') {use (manuals) && (Google | | search)}if ($ answer == 0) {post (question)} IP Logged