1 (edited by lukepuuk 2004-02-06 22:46)

Topic: change width of quick reply box?

As you can see below I changed the width of my forum to 600px. But you can also see that the quick reply box hasn't changed. How do I get the Quick Reply box to 600px?

http://lucasraggers.spymac.net/opslag/forumplaatjes/punbb.png

Re: change width of quick reply box?

Man, that text area really is huge. I wonder if that is specific to Safari. To change the text area you need to edit post.php. Go to line 453 and replace:

<td class="puncon2"> <textarea name="req_message" rows="7" cols="80"></textarea></td>

with

<td class="puncon2"> <textarea name="req_message" rows="7" cols="60"></textarea></td>

or whatever value suits your layout.

"Programming is like sex: one mistake and you have to support it for the rest of your life."

Re: change width of quick reply box?

Thanks, but that's the line for the 'normal' reply text field. It was rows="20" cols="95", I changed it to rows="15" cols="60".

But I meant the quick reply text field. It's this size in all my browsers.

BTW, in IE my forum shows grey borders. That's also on Windows?
http://ego.raggers.net/forum

4

Re: change width of quick reply box?

I don't know the answer yet but I'm working on it. What I can tell you it that looking at your code you seem to have a closing div "</div>" outside the closing body tag instead of inside it. Fix that before doing anything else.

Re: change width of quick reply box?

lukepuuk wrote:

Thanks, but that's the line for the 'normal' reply text field. It was rows="20" cols="95", I changed it to rows="15" cols="60".

But I meant the quick reply text field. It's this size in all my browsers.

Ah, my mistake. Have a look in viewtopic.php. It's somewhere at the end of the script. I think you will find it.

lukepuuk wrote:

BTW, in IE my forum shows grey borders. That's also on Windows?
http://ego.raggers.net/forum

What do you mean by grey borders? Like these forums? In that case, no.

"Programming is like sex: one mistake and you have to support it for the rest of your life."

Re: change width of quick reply box?

Thanks, problem solved!!!

7

Re: change width of quick reply box?

Couldnt you change the width to wateva tag the forum table uses so when you change it in the settings it changes the forum table and the shoutbox width?

---------> PLEASE REMEMBER I GOT THE FIRST EVER POST OF PUNBB 1.1! <---------
---------> PLEASE REMEMBER I GOT THE FIRST EVER POST OF PUNBB 1.1! <---------