1
Ifrit
Another newbb question... gosh stuff keeps coming up.
  • 2004/5/18 8:49

  • Ifrit

  • Just popping in

  • Posts: 23

  • Since: 2003/7/6 8


Hi everyone.

My latest -i-can't-solve-it-by-myself- problem:

http://pwp.netcabo.pt/gandamaluke/three.gif

As you can see by that pic, the 'message' form verlaps the whole layout <.<, how do i change it's size? i've already fiddled with forumform.inc but i didn't succeed.

Any help would be appreciated :)

2
Mithrandir
Re: Another newbb question... gosh stuff keeps coming up.

There is a
xoopsCodeTarea("message");

somewhere? (I'm looking at the CVS of newbb 2.0 so unsure whether this has been like that - but I would guess so, since it is an old function)

Add a 2nd and 3rd paramater to change the size of the text area
xoopsCodeTarea("message"$columns$rows);

3
Anonymous
Re: Another newbb question... gosh stuff keeps coming up.
  • 2004/5/18 10:16

  • Anonymous

  • Posts: 0

  • Since:


Current in the forumform.inc.php line 83.

For the new Version this goes into the templates and can then be changed there.

4
Ifrit
Re: Another newbb question... gosh stuff keeps coming up.
  • 2004/5/18 19:13

  • Ifrit

  • Just popping in

  • Posts: 23

  • Since: 2003/7/6 8


Can you elucidate me further? I need to add those $'s, what else? What defines the actual size of the textarea?

Sorry i know jiff of this

5
Mithrandir
Re: Another newbb question... gosh stuff keeps coming up.

No, I meant that just to say what those variables were actually for.

By default the columns are set to 60 and rows to 15 - so if you need, say 50 columns (width) but want the same number of rows( height) then you should change the function call to be
xoopsCodeTarea('message'5015);

6
Ifrit
Re: Another newbb question... gosh stuff keeps coming up.
  • 2004/5/18 19:43

  • Ifrit

  • Just popping in

  • Posts: 23

  • Since: 2003/7/6 8


Hi once more! This is a joyfull time indeed XD I learned so much today, ok enough of that.

From what you said with the $columns and $rows thingie, that i didnt even know existed, i accidentally noticed a piece of code on forumform.inc: "$count = 0" so i said to my buttons... "maybe that's what Mithrandir meant with the $ thingies! i should input a = and a number determining the number of columns/rows" So i went ahead and did this:

xoopsCodeTarea("message", $columns = 50, $rows = 7);

saved - uploaded - refreshed forum page - It works!

Sorry if i sound overexcited it's just that this day has been lotsa productive for me!

Thanks alot ^^

Ps. I follow you Mithrandir, understood it now, sorry bout that lapse.

Login

Who's Online

132 user(s) are online (60 user(s) are browsing Support Forums)


Members: 0


Guests: 132


more...

Donat-O-Meter

Stats
Goal: $100.00
Due Date: May 31
Gross Amount: $0.00
Net Balance: $0.00
Left to go: $100.00
Make donations with PayPal!

Latest GitHub Commits