PHP Web Host - Quality Web Hosting For All PHP Applications $35/month $250/year (Unlimited) - $25/month - 200,000 impressions - Your Ad Could be Here - Click For Details
  Login or Register
 • Home • Downloads • Your Account • Forums • 

View next topic
View previous topic


Google
 
Web RavenPHPScripts (This Site)
This forum is locked: you cannot post, reply to, or edit topics.   This topic is locked: you cannot edit posts or make replies.
Author Message
Pride
Regular
Regular


Joined: Oct 22, 2003
Posts: 59

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

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: 16986
Location: Kansas

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

Can you provide a link so we know exactly what and where you are talking about?
View user's profile Send private message Visit poster's website AIM Address Yahoo Messenger
Pride
Regular
Regular


Joined: Oct 22, 2003
Posts: 59

PostPosted: Thu Mar 04, 2004 6:48 am Reply with quote Back to top

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


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


Joined: Aug 27, 2002
Posts: 16986
Location: Kansas

PostPosted: Thu Mar 04, 2004 7:14 am Reply with quote Back to top

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.
View user's profile Send private message Visit poster's website AIM Address Yahoo Messenger
Pride
Regular
Regular


Joined: Oct 22, 2003
Posts: 59

PostPosted: Thu Mar 04, 2004 7:39 am Reply with quote Back to top

PMed you
View user's profile Send private message
Raven
Site Admin/Owner


Joined: Aug 27, 2002
Posts: 16986
Location: Kansas

PostPosted: Thu Mar 04, 2004 8:10 am Reply with quote Back to top

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.
View user's profile Send private message Visit poster's website AIM Address Yahoo Messenger
Pride
Regular
Regular


Joined: Oct 22, 2003
Posts: 59

PostPosted: Thu Mar 04, 2004 8:31 am Reply with quote Back to top

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


Joined: Aug 27, 2002
Posts: 16986
Location: Kansas

PostPosted: Thu Mar 04, 2004 8:35 am Reply with quote Back to top

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.
View user's profile Send private message Visit poster's website AIM Address Yahoo Messenger
Pride
Regular
Regular


Joined: Oct 22, 2003
Posts: 59

PostPosted: Thu Mar 04, 2004 8:40 am Reply with quote Back to top

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!
View user's profile Send private message
Pride
Regular
Regular


Joined: Oct 22, 2003
Posts: 59

PostPosted: Thu Mar 04, 2004 8:46 am Reply with quote Back to top

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
View user's profile Send private message
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.

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
Forums ©
 

All logos and trademarks in this site are property of their respective owner.
The comments are property of their posters, all the rest © 2002-2011 by Raven

You can syndicate our news using the file xml

CSE HTML Validator Helped Clean up This Page! [Valid RSS] valid RSS 2.0 Valid robots.txt Stop Spam Harvesters, Join Project Honey Pot

Website engines core code is © copyright by PHP-Nuke but has been heavily patched and modified by myself and others.
PHP-Nuke is a free software released under the GNU/GPL.


:: fisubice phpbb2 style by Daz :: PHP-Nuke theme by www.nukemods.com ::
:: fisubice Theme Modified by the RavenNuke™ Team ::

:: W3C CSS Compliance Validation :: W3C HTML 4.01 Transitional Compliance Validation ::

zerosum