1
jeffgr
changing the number of characters in the user sig area?
  • 2007/12/31 18:50

  • jeffgr

  • Quite a regular

  • Posts: 263

  • Since: 2004/2/22


Hi everyone,

Quick question: where are the variables that control the number of characters that can be inputted into the user signature text area?

I have been able to enlarge the size of the text area, but the characters entered are not all appearing on the user profile page...they are getting cut off at about 253 characters (with spaces). Any idea on what file I have to change to fix this?

Thanks,

jeffgr

2
phppp
Re: changing the number of characters in the user sig area?
  • 2007/12/31 18:53

  • phppp

  • XOOPS Contributor

  • Posts: 2857

  • Since: 2004/1/25


It is controlled by db field attribute.
In table [xoops]_users
change 'user_sig' to
`user_sig` text

3
jeffgr
Re: changing the number of characters in the user sig area?
  • 2007/12/31 20:33

  • jeffgr

  • Quite a regular

  • Posts: 263

  • Since: 2004/2/22


Thanks DJ, I was able to login to phpMyAdmin and tweak the field attribute like that.

BTW, I only wanted to change one of the text areas in the user form to be larger (as I was changing the name of that form field to one of my own, and needed more space). I found later that if you want to do that, it's easier to just change the BIO field, and in edituser.php to just change this line:

$edituser->setVar('bio', xoops_substr($_POST['bio'], 0, 2000));

I changed the number of characters allowed to be 2000 in this example.

You can see what I am talking about on my http://ottawawebsitedesign.ca user pages.

Login

Who's Online

319 user(s) are online (260 user(s) are browsing Support Forums)


Members: 0


Guests: 319


more...

Donat-O-Meter

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

Latest GitHub Commits