Page 1 of 1

no_thread_stretch Error / Syntax Error

PostPosted: Sun Jul 25, 2010 7:48 am
Author: looser9
Hello,

I have got one slight problem with my forum!

When I take a look at the error console of Firefox it always lists up a couple of errors of the forum:

Code: Select all
Error]http://www.XXX.xxLine[/url]: 575, Row: 25 Sourcecode: no_thread_stretch(165+10%);


How can I fix this error?

Yours, Ludwig

Re: no_thread_stretch Error / Syntax Error

PostPosted: Sun Jul 25, 2010 9:53 pm
Author: Helter
you could go back to the old format.

It is in your template/viewtopic_body.tpl
FIND
Code: Select all
no_thread_stretch({BLOCK_WIDTH}+10%);

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


you may have to play around with the number 240 and go as high as 600 for some templates

Re: no_thread_stretch Error / Syntax Error

PostPosted: Mon Jul 26, 2010 12:07 am
Author: looser9
"HelterSkelter" wrote:you could go back to the old format.

It is in your template/viewtopic_body.tpl
FIND
Code: Select all
no_thread_stretch({BLOCK_WIDTH}+10%);

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


you may have to play around with the number 240 and go as high as 600 for some templates



What do these numbers actually mean, what do they change?

Yoursm looser9

Re: no_thread_stretch Error / Syntax Error

PostPosted: Wed Jul 28, 2010 11:50 pm
Author: Helter
it is easier to see what it does than explain it. Change it to BLOCK_WIDTH+100, delete the template cache from acp/eXtreme style and view a topic with a long post with large words, then change it to BLOCK_WIDTH+600
You will notice that the page is probably broken at 100 due to the thread pushing out of the topic box and more than likely you will have alot of empty space on the left using 600. If memory serves, the numbers are padding px.

Re: no_thread_stretch Error / Syntax Error

PostPosted: Thu Jul 29, 2010 1:19 pm
Author: looser9
"HelterSkelter" wrote:it is easier to see what it does than explain it. Change it to BLOCK_WIDTH+100, delete the template cache from acp/eXtreme style and view a topic with a long post with large words, then change it to BLOCK_WIDTH+600
You will notice that the page is probably broken at 100 due to the thread pushing out of the topic box and more than likely you will have alot of empty space on the left using 600. If memory serves, the numbers are padding px.


Thank you very much for your help <img>

Yours, looser9