Page Index Toggle Pages: 1 [2]  Send TopicPrint
Hot Topic (More than 10 Replies) Link to This Topic V1.1a for YaBB 2.4 (Read 9848 times)
Greydane
New Member
*
Offline


I Love YaBB 2!

Posts: 18
Joined: Feb 22nd, 2012
Re: Link to This Topic V1.1a for YaBB 2.4
Reply #15 - Sep 15th, 2013 at 4:03am
Print Post  
Hi Derek:  Is there a fix for the apostrophe in the Subject title or do we just remove it manually.

Thanks Bruce

I like the mod by the way.
  
Back to top
 
IP Logged
 
Derek Barnstorm
God Member
*****
Offline



Posts: 1146
Location: Warwickshire
Joined: Mar 23rd, 2008
Gender: Male
Re: Link to This Topic V1.1a for YaBB 2.4
Reply #16 - Sep 16th, 2013 at 12:35pm
Print Post  
Hi Bruce,

You shouldn't have the same problem as Batchman had, so in Display.pl find:

Code
Select All
		<td class="windowbg2"><input type="text" id="link_html" style="width: 98%" onclick="this.select();" value='\<a href="$scripturl?num=$mnum" target="_blank"\>$msubthread\</a\>' title="$link_topic_txt{'06'}" readonly="readonly" /></td> 


And change to:

Code
Select All
		<td class="windowbg2"><input type="text" id="link_html" style="width: 98%" onclick="this.select();" value="&lt;a href=&quot;$scripturl?num=$mnum&quot; target=&quot;_blank&quot;&gt;$msubthread&lt;/a&gt;" title="$link_topic_txt{'06'}" readonly="readonly" /></td> 


Find:

Code
Select All
		<td class="windowbg2"><input type="text" id="link_bbcode" style="width: 98%" onclick="this.select();" value='\[url=$scripturl?num=$mnum\]$msubthread\[/url\]' title="$link_topic_txt{'07'}" readonly="readonly" /></td> 


And change to:

Code
Select All
		<td class="windowbg2"><input type="text" id="link_bbcode" style="width: 98%" onclick="this.select();" value="&#91;url=$scripturl?num=$mnum&#93;$msubthread&#91;/url&#93;" title="$link_topic_txt{'07'}" readonly="readonly" /></td> 

  
Back to top
 
IP Logged
 
Greydane
New Member
*
Offline


I Love YaBB 2!

Posts: 18
Joined: Feb 22nd, 2012
Re: Link to This Topic V1.1a for YaBB 2.4
Reply #17 - Sep 16th, 2013 at 1:31pm
Print Post  
Thanks Derek:
That change worked!! Grin
  
Back to top
 
IP Logged
 
Page Index Toggle Pages: 1 [2] 
Send TopicPrint