This is a mod for YaBB 2.2
More language files and additional discussion from the Y2.1 version of this mod can be found
in the original topic.This mod allows you to create anchors within your posts, and link to those anchors, so that you can break up your posts/topics into various sections.
To use this mod, you will simply use the following tag to generate the anchor:
[anchor=Testing]This is a test anchor[/anchor]
and the following tags to link to that anchor (as long as you are linking from within the same page):
[link goto=Testing]This is a link that will lead you to the anchor "Testing"[/link]
Unlike other forum software, where it is virtually impossible to create links that will open in the same window (since the "url" tag always creates a blank target), YaBB makes it easy to open links in the same window by using the "link" tag instead. This mod makes use of that link tag, and takes it one step further by making it really easy to link to anchors that you've created in your topic.
You might also want to find the following in your Sources/Post.pl (yours may look slightly different, which is why I did not include this alteration in this mod):
<div style="width: 484px; clear: both;">
<div style="width: 391px; float:left;">
and replace the widths with values that are approximately 25 to 30 pixels wider (in this example, that would be 514 and 421).
Changelog:
From 0.1b
Ported this mod over to Y2.2
From 0.1a
Added two new UBBC buttons to Post page.
You can see this mod in action over at:
http://dcevolution.net/cgi-bin/yabb/YaBB.pl?num=1129386190/0#1