2005-07-09, 10:59 PM
Truncating spaces, that's what I would like to see in the 'Gold' release.
At the moment if one adds a few smilies to the text it looks like this.
Test text where it looks better like this Test text
And adding smilies within the text is even worse...
Suggestion:
Modify this Line in /inc/functions_post to include the extra spaces:
And modify the db_inserts.php file (Smilie Section Click-Code) to this..
In other words "add" a space either side of the 'clickable code'... as that makes it look "uncluttered" when including the smilies within the text..
And of course the Script that 'calls' the additional (more) smilies, would have to have the spaces added also.
But......... Truncating the double spaces would be the key to NOT making it worse than what it is.. ??
Only a suggestion..
At the moment if one adds a few smilies to the text it looks like this.
Test text where it looks better like this Test text
And adding smilies within the text is even worse...
Suggestion:
Modify this Line in /inc/functions_post to include the extra spaces:
$message = str_replace($smilie['find'], [color=red]" <img [/color]src=\"".$smilie['image']."\" align=\"middle\" border=\"0\" alt=\"$smilie[find]\" [color=red]/> ", [/color]$message);
And modify the db_inserts.php file (Smilie Section Click-Code) to this..
$inserts[] = "INSERT INTO `mybb_smilies` (`sid`, `name`, `find`, `image`, `disporder`, `showclickable`) VALUES (1, 'Smile', [color=red]' :) '[/color], 'images/smilies/smile.gif', 1, 'yes');";
In other words "add" a space either side of the 'clickable code'... as that makes it look "uncluttered" when including the smilies within the text..
And of course the Script that 'calls' the additional (more) smilies, would have to have the spaces added also.
But......... Truncating the double spaces would be the key to NOT making it worse than what it is.. ??
Only a suggestion..