1
Bazus
How to change 'Registration Disclaimer Box' size
  • 2003/12/12 20:11

  • Bazus

  • Not too shy to talk

  • Posts: 144

  • Since: 2002/9/23


I have been trying to change the size of the box for the registration disclaimer agreement when a new user is going to register to the site. But don't know exactly where to change it.

I tryed to edit the text of the disclaimer with some
but that didn't do any effect.

Anyone knows which file contain the dimension for this box so I can edit it?

Meanwhile I have disable this disclaimer but I would like to re-enable it if I can change the size of the box which is braking my site template.

Thanks.

2
ackbarr
Re: How to change 'Registration Disclaimer Box' size

in /include/registerform.php ~line 86:
$disc_text = new XoopsFormTextarea('''disclaimer'$xoopsConfigUser['reg_disclaimer'], 8);


can be changed to:
$disc_text = new XoopsFormTextarea('''disclaimer'$xoopsConfigUser['reg_disclaimer'], <# of rows>, <# of columns>);

The default # of rows is 8, default # of columns is 50.

3
Bazus
Re: How to change 'Registration Disclaimer Box' size
  • 2003/12/12 23:20

  • Bazus

  • Not too shy to talk

  • Posts: 144

  • Since: 2002/9/23


That's great, I could fix that part or specific page.

Now I went to 'Edit Account' and that page too is braking my template, it's due to the 'signature box' and 'Extra Info' box.

I did try to change the 'xoopscode.php' file in the part that says:

function xoopsCodeTarea($textarea_id, $cols=60, $rows=15, $suffix=null)


I changed $cols=40 to see if that changed the text box for 'signature box' but somehow stays the same.. it's there any other file to change in order to make this signature and extra info boxes become smaller (less wide)??

Thanks in advance for any help.

Regards

4
ackbarr
Re: How to change 'Registration Disclaimer Box' size

the fix for this one is similar to the first.

In /edituser.php on ~Line 166 change:
$sig_tarea = new XoopsFormDhtmlTextArea('''user_sig'$xoopsUser->getVar('user_sig''E'));

to
$sig_tarea = new XoopsFormDhtmlTextArea('''user_sig'$xoopsUser->getVar('user_sig''E'), <# of rows>, <# of columns>);


and on ~line 184 change:
$bio_tarea = new XoopsFormTextArea(_US_EXTRAINFO'bio'$xoopsUser->getVar('bio''E'));

to
$bio_tarea = new XoopsFormTextArea(_US_EXTRAINFO'bio'$xoopsUser->getVar('bio''E'), <# of rows>, <# of columns>);


5
Bazus
Re: How to change 'Registration Disclaimer Box' size
  • 2003/12/13 1:07

  • Bazus

  • Not too shy to talk

  • Posts: 144

  • Since: 2002/9/23


That was great, Thanks for the help, I would have never guessed where those changes had to be made.

Login

Who's Online

452 user(s) are online (97 user(s) are browsing Support Forums)


Members: 0


Guests: 452


more...

Donat-O-Meter

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

Latest GitHub Commits