Message Before Sticky Thread Title
1
This adds "Important: " (default) beofre all sticky threads.
The word can be changable by admin settings.
Can be enabled/disabled.
This mod assumes that you have "Sticky Threads XXL" installed.
DemonSlayer
http://www.the-chronicles.com/cgi-bin/YaBB/YaBB.cgi
Sources/MessageIndex.pl
if ($mnum == $curnum) { $threadclass = 'sticky'; }
if ($mnum == $curnum) { $threadclass = 'sticky'; $before=$importantxt; }
Display "$importantxt" before sticky thread titles?
What text to display before sticky thread titles?
# Set as 0 or 1 if box was checked or not
push(@onoff, "important");
# If empty fields are submitted, set them to default-values to save yabb from crashing
$bdayshowtop = $FORM{'important'} || 0;
$importantxt = $FORM{'importantxt'} || 'Important: ';
\$enable_ubbc = $enable_ubbc; # Set to 1 if you want to enable UBBC (Uniform Bulletin Board Code)
\$important = $important; # Set to 1 if want to display birthdays at the top of the fourm index
\$importantxt = qq~$importantxt~; # Text to display when you click AIM in member list.