Page 1 of 1

Template breakout

PostPosted: Mon Apr 28, 2008 8:43 am
Author: petbeemer
Your phpBB Version: 2.0.
phpBB Type: Standard phpBB
MODs: Yes
Your knowledge: Basic Knowledge
Board URL: http://www.4g63.co.uk

PHP Version:
MySQL Version:


What was done before the problem appeared?



What was done to try to solve the problem?




De.scription and Message

Hi all, let me start by saying a big thank you to all that work on these mods its really great the work you put into them!

My problem:

I have installed IMportal and the install has gone fine apart from a slight glitch which i presume is down to the viewtopic.tpl.All the pages on my forum line up fine and stay within the template apart from viewtopic.
Ive tried editing the table with etc but nothing has changed the fact that it breaks out of the template.Help would be much appreciated.

Code: Select all
<table>   <tr>     <td><a>{TOPIC_TITLE}</a><br>       <span><b>{PAGINATION}</b><br>         </span></td>   </tr></table>  <table>   <tr>     <td><span><a><img></a>   <a><img></a></span></td>     <td><span>   <a>{L_INDEX}</a>       -> <a>{FORUM_NAME}</a></span></td>   </tr></table>  <table>     <tr>         <td><span><a>{L_VIEW_PREVIOUS_TOPIC}</a> ]{postrow.POSTER_NAME}[/b], ')">{postrow.POSTER_NAME}</a></b></span><br><span>{postrow.POSTER_RANK}<br>{postrow.RANK_IMAGE}{postrow.POSTER_AVATAR}<br><br>{postrow.POSTER_AGE}<br>{postrow.POSTER_JOINED}<br>{postrow.POSTER_POSTS}<br>{postrow.POSTER_FROM}<br>Country: {postrow.POSTER_COUNTRY}<br><a>{postrow.POSTER_CAR_YEAR} {postrow.POSTER_CAR_MAKE} {postrow.POSTER_CAR_MODEL}</a></span><br></td>         <td><table>             <tr>                 <td><a><img></a><span>{L_POSTED}: {postrow.POST_DATE}<span> </span>   {L_POST_SUBJECT}: {postrow.POST_SUBJECT}</span></td>                 <td><span><a><img></a></span> <iframe></iframe>   {postrow.QUOTE_IMG} {postrow.EDIT_IMG} {postrow.DELETE_IMG} {postrow.IP_IMG}</td>             </tr>             <tr>                 <td><hr></td>             </tr>             <tr>                 <td><span>{postrow.MESSAGE}</span>{postrow.ATTACHMENTS}<div><span>{postrow.SIGNATURE}</span><span>{postrow.EDITED_MESSAGE}</span></div></td>             </tr>         </table></td>     </tr>     <tr>         <td><span><a>{L_BACK_TO_TOP}</a></span></td>         <td><table>             <tr>                 <td>{postrow.PROFILE_IMG} {postrow.PM_IMG} {postrow.EMAIL_IMG} {postrow.WWW_IMG} {postrow.AIM_IMG} {postrow.YIM_IMG} {postrow.MSN_IMG} {postrow.PHOOGLE_IMG}<script></td></script><no>{postrow.ICQ_IMG}</no>{postrow.facebook_IMG}</td>             </tr>         </table></td>     </tr>     <tr>         <td><img></td>     </tr>     <END>       <tr>         <td>         {QUICKREPLY_OUTPUT}         </td>     </tr>     <tr>         <td><table>             <tr><form>                 <td><span>{L_DISPLAY_POSTS}: {S_SELECT_POST_DAYS} {S_SELECT_POST_ORDER} <input></span></td>             </form></tr>         </table></td>     </tr></table>  <table>   <tr>     <td><span><a><img></a>   <a><img></a></span></td>     <td><span>   <a>{L_INDEX}</a>       -> <a>{FORUM_NAME}</a></span></td>     <td><span>{S_TIMEZONE}</span><br><span>{PAGINATION}</span>       </td>   </tr>   <tr>     <td><span>{PAGE_NUMBER}</span></td>   </tr></table>  <table>   <tr>     <td><span>{S_WATCH_TOPIC}</span><br>        <br>       {S_TOPIC_ADMIN}</td>     <td>{JUMPBOX}<span>{S_AUTH_LIST}</span></td>   </tr></table>


[url=http]pic of what i mean[/url]

Re: Template breakout

PostPosted: Mon Apr 28, 2008 4:06 pm
Author: Helter
this is a common problem for phpbb. You are using a fixed width template which makes the viewtopic page smaller than usuall. Your best bet is to go to phpbbhacks.com and look for a phpbb2 mod called No Thread Stretch. You will have to play with the width size a little due to your fixed width forum unless you use a percent width instead of a width in pixels.

Re: Template breakout

PostPosted: Wed Apr 30, 2008 1:09 pm
Author: petbeemer
"HelterSkelter";p="32895" wrote:this is a common problem for phpbb. You are using a fixed width template which makes the viewtopic page smaller than usuall. Your best bet is to go to phpbbhacks.com and look for a phpbb2 mod called No Thread Stretch. You will have to play with the width size a little due to your fixed width forum unless you use a percent width instead of a width in pixels.
thanks for the reply Mr Admin <img> i already have 'no thread stretch' and 'no image stretch' in place,the rest of the forum is fine though why only viewtopic?
i found that a higher res cures it but i doubt most run at 1152*864 or higher which was why i was trying to fix it.

Re: Template breakout

PostPosted: Wed Apr 30, 2008 11:07 pm
Author: Helter
the default no thread stretch edit for viewtopic is something like this

Code: Select all
no_thread_stretch({BLOCK_WIDTH}+240);


change it to

Code: Select all
no_thread_stretch({BLOCK_WIDTH}+10%);

PostPosted: Tue May 20, 2008 2:47 pm
Author: richiebgood
I get this too, but its not just when there is pics/link/text etc.

It happens with users on 1024 wide or less. I will try the no strech thread also.

But I use efusion template... which as you know breaks very very easy