View Full Version : pesky smilies space?
i cant seem to find the answer. i looked everywhere.
i want to remove that space in between smilies.. and i cant see it. is in a .php script, not in templates. anyone not as lazy as me that could answer to this? ;)
here, at vB.org, you see that space even better when you post a reply or a new thread. it bugs me!!! hehe..
a picture is worth 1000 words? there you go...
btw, thanks for taking the time to read this post.
Admin
03-12-2002, 04:17 AM
Don't think you can remove that, it's just part of the table. Try making the cellpadding/spacing (whatever it's called) lower in the template of these smilies.
if i look at the html code, there is a & nbsp; html code added there. is gotta be somewhere firefly. i looked all over the places, i could not find it.
here it is the code here at vB.org:<td><a href="javascript:smilie(':sleep:')"><img src="images/newsm/sleeping.gif" alt="Sleeping" border="0"></a>& nbsp;</td>
Admin
03-12-2002, 09:22 AM
I think I know how to fix this... I think, not sure.
Freddie Bingham
03-12-2002, 02:06 PM
eh? It's in the getclickysmilies() function in functions.php$smiliebits .= "<td>".$smilieArray[$count++]." </td>\n";change it to $space = iif($j==($smcolumns-1), '', ' ');
$smiliebits .= "<td>".$smilieArray[$count++]."$space</td>\n";Now be nicer to the others who ask for help :)
Admin
03-12-2002, 02:11 PM
Yeah that, replace that with this:
$smiliebits .= "<td>".$smilieArray[$count++].iif($smcolumns==$j+1, "", " ")."</td>\n";
thank you thank you thank you..... :D
freddie, pm me about the "nicer" thing.. curious.. i'm always nice to people..
Ok, I'd likd to do something similar only my problem is the clickable smilies display with NO space preceding their insertion. In other words
test text:) space after the smilie but not before it.
I tried doing this:
" <td>".$smilieArray
IE: inserting an in front of the <td> bracket similar to the way the actual code has an next to the </td> but unfortunately I didn't get the results I was looking for.
What code do I have to insert so that when a user clicks on a clickable smilie that the smilie is posted into the thread with a space IN FRONT OF the smilie (there by seperating it from the word preceding it). I'm hoping this will be something basic & simple. Thanks.
vBulletin® v3.8.12 by vBS, Copyright ©2000-2025, vBulletin Solutions Inc.