Ravens PHP Scripts: Forums
 

 

View next topic
View previous topic
This forum is locked: you cannot post, reply to, or edit topics.   This topic is locked: you cannot edit posts or make replies.    Ravens PHP Scripts And Web Hosting Forum Index -> Raven's v7.0 Customized Distro
Author Message
Pride
Regular
Regular


Joined: Oct 22, 2003
Posts: 59

PostPosted: Wed Mar 03, 2004 10:00 am Reply with quote

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?
 
View user's profile Send private message
Raven
Site Admin/Owner


Joined: Aug 27, 2002
Posts: 17077

PostPosted: Wed Mar 03, 2004 9:37 pm Reply with quote

Can you provide a link so we know exactly what and where you are talking about?
 
View user's profile Send private message
Pride
PostPosted: Thu Mar 04, 2004 6:48 am Reply with quote

Only registered users can see links on this board! Get registered or login!

Hopefully that link works... basically it is when starting a new topic in my forums
Only registered users can see links on this board! Get registered or login!
 
Raven
PostPosted: Thu Mar 04, 2004 7:14 am Reply with quote

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
PostPosted: Thu Mar 04, 2004 7:39 am Reply with quote

PMed you
 
Raven
PostPosted: Thu Mar 04, 2004 8:10 am Reply with quote

In modules/Forums/templates/subSilver/posting_body.tpl (or whatever forum template you are using) on or about line 269, locate this code
Code:
           <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
PostPosted: Thu Mar 04, 2004 8:31 am Reply with quote

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
PostPosted: Thu Mar 04, 2004 8:35 am Reply with quote

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
PostPosted: Thu Mar 04, 2004 8:40 am Reply with quote

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
PostPosted: Thu Mar 04, 2004 8:46 am Reply with quote

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
 
Display posts from previous:       
This forum is locked: you cannot post, reply to, or edit topics.   This topic is locked: you cannot edit posts or make replies.    Ravens PHP Scripts And Web Hosting Forum Index -> Raven's v7.0 Customized Distro

View next topic
View previous topic
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You can attach files in this forum
You can download files in this forum


Powered by phpBB © 2001-2007 phpBB Group
All times are GMT - 6 Hours
 
Forums ©