1
rprob8
Maximum Signature Length
  • 2005/12/14 12:13

  • rprob8

  • Just popping in

  • Posts: 5

  • Since: 2005/10/31


I am running 2.0.13.2 in a new full install

I have searched for this answer and found one thread in Forums (in 2003) and one instruction in the FAQ from last year ... but the "settings" or "commands" or something, must have changed since then.

I tried to find the string in the "edituser.php" file ... but apparently its no longer there. I went into MySQL to the Xoops_user and changed the "setting" from tinytext to Text then MediumText and then to LargeText but it did not make any difference.

When I fiddled with the database (I really do not know what I am doing in MySql or PHP ... just hit and miss type of efforts)... I did not Update the System Module or anything.

Any ideas how I change the Signature Length in the User Profiles??? I figure something in one of the User files must be overriding the database change I made.

Ideally ... I would like to be able to set the length of the field myself. Right now it seems to be limited to 255 (or so) characters no matter what I have tried in the database. I would like to limit it to about 1000 characters.

Any input would be greatly & gratefully appreciated.

Thanks
Reprobate

2
pmhoran
Re: Maximum Signature Length
  • 2005/12/15 4:02

  • pmhoran

  • Not too shy to talk

  • Posts: 115

  • Since: 2003/2/21


I have searched as well ... and I can't find where this question has been answered before.

I would actually be interested in the answer to this myself.

Can't anyone answer this guys (and now my) question????

Thanks much ... Happy Holidays
Peter

3
pmhoran
Re: Maximum Signature Length
  • 2005/12/15 12:01

  • pmhoran

  • Not too shy to talk

  • Posts: 115

  • Since: 2003/2/21


Just want to put this question nearer the top again.

Over 40 reads and no one yet can answer the question?? Boy ... must be a tougher one than I thought.

Thanks again
Peter

4
davidl2
Re: Maximum Signature Length
  • 2005/12/15 12:10

  • davidl2

  • XOOPS is my life!

  • Posts: 4843

  • Since: 2003/5/26


Sorry - no idea

5
pmhoran
Re: Maximum Signature Length
  • 2005/12/15 13:19

  • pmhoran

  • Not too shy to talk

  • Posts: 115

  • Since: 2003/2/21


Thanks for at least giving it a thought

Happy Holidays
Peter

6
stuie200
Re: Maximum Signature Length
  • 2005/12/15 14:22

  • stuie200

  • Friend of XOOPS

  • Posts: 161

  • Since: 2004/1/4 2


It's in edituser.php in the root of your XOOPS installation.

On my system it's on line 108 and looks like the following line of code

Quote:
$edituser->setVar('user_sig', xoops_substr($_POST['user_sig'], 0, 255));


Just changing the last bit on this line of code should do the job for you.

Hopefully that helps
"I'm as confused as a baby in a topless bar."

7
pmhoran
Re: Maximum Signature Length
  • 2005/12/15 15:44

  • pmhoran

  • Not too shy to talk

  • Posts: 115

  • Since: 2003/2/21


I made the change ... changing the 255 to 1000 ... and its working perfectly in my initial testing.

Thank you very much ... your efforts to assist are really appreciated.

Take care ... Happy Holidays to you and yours
Peter

8
davidl2
Re: Maximum Signature Length
  • 2005/12/15 15:53

  • davidl2

  • XOOPS is my life!

  • Posts: 4843

  • Since: 2003/5/26


Thanks stuie200 - this is a very useful tip.

9
rprob8
Re: Maximum Signature Length
  • 2005/12/15 16:04

  • rprob8

  • Just popping in

  • Posts: 5

  • Since: 2005/10/31


And I thank you too Stuie200. I haven't tried it yet but expect it will work as good for me as the others.

Login

Who's Online

515 user(s) are online (379 user(s) are browsing Support Forums)


Members: 0


Guests: 515


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