Quote:
Originally Posted by DjTaz
lol ok - fair point - try this :
In Vbshout.php around line 260 (ish) find :
Code:
if ($Shout['data']['italic'])
{
$Shout['style'] .= 'font-style:'.$Shout['data']['italic'].';';
}
and under it add in the following :
Code:
/////////////////////////////
//// SHOUTBOX WORDWRAP /////
//// BY DJTAZ ///////////////
$wrapafter=25;
if ($Shout['s_shout'])
{
$Shout['s_shout'] = wordwrap($Shout['s_shout'], $wrapafter , "<br />" ,1);
}
// END SHOUTBOX WORDWRAP ////
/////////////////////////////
Change the 25 to have the max amount of characters that you want
|
thank you.
its working almost good. unfortunatelly it's not parsing links corectly. They comes as pure tekst not as link. Same with smilies - they appear as text (link to the smile is shown not smile) in a shoutbox.