Quote
Testing ...
Quote
The shoutbox_panel.php module truncates things at 25 characters, but the smiles are wider than standard characters.
$shout_message = preg_replace("/([^\s]{25})/", "$1\n", $shout_message);
echo "<br>\n<span class='shoutbox'>".parsesmileys($data['shout_message'])."</span><br>\n";
echo "<br>\n<span class='shoutbox' style='width:160px; word-wrap: break-word'>".parsesmileys($data['shout_message'])."</span><br>\n";
echo "<br>\n<span class='shoutbox' style='display: block; width:160px; word-wrap: break-word;'>".parsesmileys($data['shout_message'])."</span><br>\n";
$shoutbox_width=( (test for panel) ? $theme_width_r : $theme_width_l) -15;
Category Forum
Bugs and Errors - 6Labels
None yet
Statistics
0 participants
Notifications
You are not receiving notifications from this thread.
Related Questions