Author |
Message |
Pride
Regular


Joined: Oct 22, 2003
Posts: 59
|
Posted:
Wed Mar 03, 2004 10:00 am |
|
I added a bunch of custom smilies to my site, some wider than the normal, but my Emotions block stays the same size and squishes the smilies so you cant see what they are. Same thing happens when you click "View More Emoticons".
Is there a way to make the size dynamic or at least twice as wide? |
|
|
|
 |
Raven
Site Admin/Owner

Joined: Aug 27, 2002
Posts: 17088
|
Posted:
Wed Mar 03, 2004 9:37 pm |
|
Can you provide a link so we know exactly what and where you are talking about? |
|
|
|
 |
Pride

|
Posted:
Thu Mar 04, 2004 6:48 am |
|
|
|
 |
Raven

|
Posted:
Thu Mar 04, 2004 7:14 am |
|
Can you set up a user's account for me and pm me the name/pass? I can't get to that link because it's for registered users only. |
|
|
|
 |
Pride

|
Posted:
Thu Mar 04, 2004 7:39 am |
|
|
|
 |
Raven

|
Posted:
Thu Mar 04, 2004 8:10 am |
|
In modules/Forums/templates/subSilver/posting_body.tpl (or whatever forum template you are using) on or about line 269, locate this codeCode: <table width="100" border="0" cellspacing="0" cellpadding="5">
<tr align="center">
<td colspan="{S_SMILIES_COLSPAN}" class="gensmall"><b>{L_EMOTICONS}</b></td>
</tr>
| Modify the table statement to meet your needs. |
|
|
|
 |
Pride

|
Posted:
Thu Mar 04, 2004 8:31 am |
|
I found what you mentioned, but I am using your destrib.
Code:
<!-- END switch_privmsg -->
<tr><td class="row1" width="22%"><span class="gen"><b>{L_SUBJECT}</b></span></td><td class="row2" width="78%"> <span class="gen"><input type="text" name="subject" size="45" maxlength="60" style="width:450px" tabindex="2" class="post" value="{SUBJECT}" /></span></td></tr><tr><td class="row1" valign="top"><table width="100%" border="0" cellspacing="0" cellpadding="1"><tr><td><span class="gen"><b>{L_MESSAGE_BODY}</b></span></td></tr><tr>
<td valign="middle" align="center"><br /><table width="200" border="0" cellspacing="0" cellpadding="2">
<tr align="center"><td colspan="{S_SMILIES_COLSPAN}" class="gensmall"><b>{L_EMOTICONS}</b></td></tr>
<!-- BEGIN smilies_row -->
<tr align="center" valign="middle">
<!-- BEGIN smilies_col -->
<td><a href="javascript:emoticon('{smilies_row.smilies_col.SMILEY_CODE}')"><img src="{smilies_row.smilies_col.SMILEY_IMG}" border="0" alt="{smilies_row.smilies_col.SMILEY_DESC}" title="{smilies_row.smilies_col.SMILEY_DESC}" width="15" height="15" /></a></td>
<!-- END smilies_col -->
</tr>
<!-- END smilies_row -->
<!-- BEGIN switch_smilies_extra -->
<tr align="center">
<td colspan="{S_SMILIES_COLSPAN}"><a href="{U_MORE_SMILIES}" onclick="window.open('{U_MORE_SMILIES}', '_phpbbsmilies', 'HEIGHT=500,resizable=no,scrollbars=yes,WIDTH=500');return false;" target="_phpbbsmilies" class="nav">{L_MORE_SMILIES}</a></td></tr>
<!-- END switch_smilies_extra -->
|
I see how to modify the table size, but the icons stay the same size. Is it a row height issue, or are the smilies compressed into a 5X5 pixel box or something? |
|
|
|
 |
Raven

|
Posted:
Thu Mar 04, 2004 8:35 am |
|
Since they work on my machine and on hundreds of others, it has to related to your theme, imo. It looks like your theme has its own Forums/templates folder. That is where you will need to look to make changes. |
|
|
|
 |
Pride

|
Posted:
Thu Mar 04, 2004 8:40 am |
|
Not a prob, I realize that you use your own personal time to help me out... and it is appreciated.
The strange thing is, the normal smilies (that are simply XxX round) are fine, but anything with a wider width is having the problems... I will try to figure it out.
Thanks for your efforts! |
|
|
|
 |
Pride

|
Posted:
Thu Mar 04, 2004 8:46 am |
|
LOL Found it... just for everyone else's reference:
Code:
<td><a href="javascript:emoticon('{smilies_row.smilies_col.SMILEY_CODE}')"><img src="{smilies_row.smilies_col.SMILEY_IMG}" border="0" alt="{smilies_row.smilies_col.SMILEY_DESC}" title="{smilies_row.smilies_col.SMILEY_DESC}" width="15" height="15" /></a></td>
<!-- END smilies_col -->
|
Remove the Code: width="15" height="15"
| altogether |
|
|
|
 |
|