New topic in Next/Previous line [SP1.3/1.3.1 Final]
1.0
WHAT IS IT FOR?
This mod was invented because of the request in http://boardmod.yabbforum.com/yabb/YaBB.pl?board=hacks;action=display;num=1051493653. It was made in clean SP1.3.1, but I think that it will work in any version of YaBB.
It gives you an option to start new topic from the thread window, not the messageindex.
INSTALLATION INSTRUCTIONS
- apply the mod.
- upload all modified files.
- enjoy!
MODIFIED FILES
Sources/Display.pl
english.lng
Iceberg
mailto:viceberg@inbox.ru
Sources/Display.pl
if( $endthread eq $prevtopic && $gonext eq "") { $nav = qq~« $txt{'766'} | $txt{'766'} »~; }
if($endthread eq $prevtopic && $gonext ne "") { $nav = qq~« $txt{'766'} | $txt{'767'} »~; }
if ( $endthread ne $prevtopic && $gonext eq "") { $nav = qq~« $txt{'768'} | $txt{'766'} »~; }
if ($endthread ne $prevtopic && $gonext ne "") { $nav = qq~« $txt{'768'} | $txt{'767'} »~; }
if( $endthread eq $prevtopic && $gonext eq "") { $nav = qq~ $txt{'766'} | $txt{'767a'} | $txt{'766'} »~; }
if($endthread eq $prevtopic && $gonext ne "") { $nav = qq~ $txt{'766'} | $txt{'767a'} | $txt{'767'} »~; }
if ( $endthread ne $prevtopic && $gonext eq "") { $nav = qq~ $txt{'768'} | $txt{'767a'} | $txt{'766'} »~; }
if ($endthread ne $prevtopic && $gonext ne "") { $nav = qq~ $txt{'768'} | $txt{'767a'} | $txt{'767'} »~; }
english.lng
$txt{'767'} = "Next topic";
$txt{'767a'} = "New Topic";