View All Button
1.0
This mod places a little "all" button beside the page numbers for threads only if there is more than one page. Clicking it causes all replies to a multi-page thread to be shown.
This mod changes your language file, defaultly english.lng. If you are using another language of YaBB, be sure to copy the following text into your own langauge file.
$txt_sb{'1001'} = "all";
For help, go to http://www.auroris.net/boardmod, or you may contact me at ICQ #79459540, or e-mail auroris@softhome.net.
Stephen Bertrand
http://www.auroris.net
Sources/Display.pl
# Build the page links list.
if ($INFO{'showall'} eq "true") { $maxmessagedisplay = $mreplies + 1; }
$pageindex .= $start == 0 ? qq~ ~ : qq~« ~;
if ($maxmessagedisplay < $mreplies) { $pageindex .= " $txt_sb{'1001'} "; }
Sources/MessageIndex.pl
$pages = qq~« $pages »~;
$pages = qq~« $txt_sb{'1001'} $pages »~;
english.lng
1;
$txt_sb{'1001'} = "all";