Ok, a sepearte setting for the old yabb template is easy.
First: Open the
ShoutAdmin.pl and
<search for>
$shout_height = $FORM{'shout_height'} || "350";
</search for>
<add after>
$shout_width_y21 = $FORM{'shout_width_y21'} || "315";
$shout_height_y21 = $FORM{'shout_height_y21'} || "350";
</add after>
<search for>
\$shout_height = "$shout_height";
</search for>
<add after>
\$shout_width_y21 = "$shout_width_y21";
\$shout_height_y21 = "$shout_height_y21";
</add after>
<search for>
<tr valign="middle">
<td align="left" class="windowbg2">$shout_txt{'52'}</td>
<td align="left" class="windowbg2"><input type="text" name="shout_height" size="5" value="$shout_height" /> $shout_txt{'60'}</td>
</tr>
</search for>
<add after>
<tr valign="middle">
<td align="left" class="windowbg2">$shout_txt{'51_1'}</td>
<td align="left" class="windowbg2"><input type="text" name="shout_width_y21" size="5" value="$shout_width_y21" /> $shout_txt{'60'}</td>
</tr>
<tr valign="middle">
<td align="left" class="windowbg2">$shout_txt{'52_1'}</td>
<td align="left" class="windowbg2"><input type="text" name="shout_height_y21" size="5" value="$shout_height_y21" /> $shout_txt{'60'}</td>
</tr>
</add after>
Second: Open the
Shoutbox.lng and
<search for>
'51' => 'Shoutbox overall width <b>(minimum 275 pixels)</b>',
'52' => 'Shoutbox overall height',
</search for>
<replace>
'51' => 'Shoutbox overall width in combination with the <b><font color="red"> "default" Template</b></font>?<b>(minimum 275 pixels)</b>',
'51_1' => 'Shoutbox overall width in combination with the <b><font color="red"> "yabb21" Template</b></font>?<b>(minimum 275 pixels)</b>',
'52' => 'Shoutbox overall height in combination with the <b><font color="red"> "default" Template</b></font>?',
'52_1' => 'Shoutbox overall height in combination with the <b><font color="red"> "yabb21" Template</b></font>?',
</replace>
Finally replace in the shoutbox part from your yabb21 boardindex.template the three (3)
$shout_width
entrys with
$shout_width_y21
and the one (1)
$shout_height
entry with
$shout_height_y21
Set the different values in your shoutbox settings and save it. That was it.