Page Index Toggle Pages: 1 Send TopicPrint
Normal Topic Link to This Topic V1.2 for YaBB 2.5 (Read 2810 times)
Derek Barnstorm
God Member
*****
Offline



Posts: 1146
Location: Warwickshire
Joined: Mar 23rd, 2008
Gender: Male
Link to This Topic V1.2 for YaBB 2.5
Jan 13th, 2011 at 7:25pm
Print Post  
Link to This Topic V1.2

Description:
---------------
This Mod will add a 'Link to This Topic' box below threads in Message View (see screenshot), allowing users to click and copy the URL to a thread in HTML Code, BBCode, URL and Permalink (if enabled).

Credits:
----------
Thanks to Mick (www.info4alien.de) for the German and German_Du Language translations.

Screenshots:
-----------------
Message View:


Admin Center - Forum Settings - Show / Hide Items


Demo:
----------
http://ibrainstorm.net/modemos/forum/YaBB.pl?num=1291344117

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 default images directory in Binary mode.
4) Go to 'Admin Center - Forum Settings - Show / Hide Items' to enable this feature.

Note: I've included two mod files in the package, so if anyone has the same problem as Batchman describes here, install the mod appropriately named 'Link_to_This_Topic_V1_2-batchman.mod'.

Files to edit:
----------------
Admin/ManageTemplates.pl
Admin/ModList.pl
Admin/NewSettings.pl
Admin/Settings_Main.pl
Sources/Display.pl
Templates/default/Display.template
Templates/yabb21/Display.template

Zip package:
----------------
Link_to_This_Topic_V1_2.mod
Link_to_This_Topic_V1_2-batchman.mod
cgi-bin/yabb2/Languages/English/LinkTopic.lng
cgi-bin/yabb2/Languages/German/LinkTopic.lng
cgi-bin/yabb2/Languages/German_Du/LinkTopic.lng
html_root/yabbfiles/Templates/Forum/Default/linktopic.gif

History:
----------
1.0 - First Release - 1st September 2009
1.1 - Fixed issue with unwanted '&' symbols appearing with some peoples servers (Thanks to Carsten for pointing out the fix!) - 7th January 2010
1.1a - Fixed YaBB tag displaying in Template Configuration - 8th January 2010
1.2 - Updated for YaBB 2.5 - 13th January 2011
  

Link_to_This_Topic_V1_2.zip ( 24 KB | Downloads )
Back to top
 
IP Logged
 
Fps_Brian
Full Member
***
Offline



Posts: 130
Location: Beach Haven
Joined: Aug 14th, 2008
Gender: Male
Re: Link to This Topic V1.2 for YaBB 2.5
Reply #1 - Jan 18th, 2011 at 8:38pm
Print Post  
This looks awesome! Great work


I'm having issues with post names having a  ' or " in there... is there a way to fix this?
« Last Edit: Jan 18th, 2011 at 11:03pm by Fps_Brian »  

www.omgot.org
65+ mods installed
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.2 for YaBB 2.5
Reply #2 - Jan 18th, 2011 at 11:11pm
Print Post  
Hi Brian,

What exactly do you mean by "issues"? Are you having the same problem that Batchman describes here:

http://www.boardmod.org/yabb2/YaBB.pl?num=1251844213/1#1

If you are, then install this mod included in the package:

Link_to_This_Topic_V1_2-batchman.mod

Derek Barnstorm wrote on Jan 13th, 2011 at 7:25pm:
Note: I've included two mod files in the package, so if anyone has the same problem as Batchman describes here, install the mod appropriately named 'Link_to_This_Topic_V1_2-batchman.mod'.

  
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.2 for YaBB 2.5
Reply #3 - Jan 18th, 2011 at 11:13pm
Print Post  
Actually... Sorry - sounds like you're having a different problem - What's happening?
  
Back to top
 
IP Logged
 
Fps_Brian
Full Member
***
Offline



Posts: 130
Location: Beach Haven
Joined: Aug 14th, 2008
Gender: Male
Re: Link to This Topic V1.2 for YaBB 2.5
Reply #4 - Jan 18th, 2011 at 11:43pm
Print Post  
Let check the differences between the two...

Here is a screen shot of what I'm getting.


Yes, using the coding from his mod file corrected it! Thanks again
  

www.omgot.org
65+ mods installed
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.2 for YaBB 2.5
Reply #5 - Jan 18th, 2011 at 11:48pm
Print Post  
Which mod file did you install?

If you're not having the problem that Batchman had, then you should install this one:

Link_to_This_Topic_V1_2.mod

As you can see here, it should be working:

http://ibrainstorm.net/modemos/forum/YaBB.pl?num=1295393293

I'll have to check the other one out...
  
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.2 for YaBB 2.5
Reply #6 - Jan 18th, 2011 at 11:50pm
Print Post  
Fps_Brian wrote on Jan 18th, 2011 at 11:43pm:
Yes, using the coding from his mod file corrected it! Thanks again

Oh, very odd! It should be working fine...
  
Back to top
 
IP Logged
 
Fps_Brian
Full Member
***
Offline



Posts: 130
Location: Beach Haven
Joined: Aug 14th, 2008
Gender: Male
Re: Link to This Topic V1.2 for YaBB 2.5
Reply #7 - Jan 18th, 2011 at 11:52pm
Print Post  
I used a combine of 1.1  ( I think for 2.4 forums) and 1.2 (with Batchmans)


And here it is working 100% awesomelly!
  

www.omgot.org
65+ mods installed
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.2 for YaBB 2.5
Reply #8 - Jan 18th, 2011 at 11:58pm
Print Post  
Yeah, I wouldn't combine them if I was you - that'll be you your problem.

The code it looks for shouldn't have changed too much, but all of the code that is added to Display.pl I really would recommend using from 1.2.

Basically, in the 'batchman' compatible Mod it will replace ' with a blank space (nothing), but it doesn't look like you need to do that. Just use all of the code that is added to Display.pl from this latest Mod and you should be fine...
  
Back to top
 
IP Logged
 
Page Index Toggle Pages: 1
Send TopicPrint