Elxis CMS Forum

Support => Technical support => Topic started by: BeckTek on February 20, 2008, 09:52:38

Title: Formatting User Signature Field
Post by: BeckTek on February 20, 2008, 09:52:38
I need to make the signature area of the User Profile be able to hold a longer Signature. What would I need to modify to make this possible?
Title: Re: Formatting User Signature Field
Post by: datahell on February 20, 2008, 23:08:59
Open /components/com_user/user.php

go to line 597

Replace this :
$row->signature = eUTF::utf8_substr($row->signature, 0, 255);

with this:
//$row->signature = eUTF::utf8_substr($row->signature, 0, 255);

The above will remove all length limits. If you wish to make it just a little more larger you can write:
$row->signature = eUTF::utf8_substr($row->signature, 0, 400);

You must do the same in administration.

Open /administrator/components/com_users/admin.users.php
Go to line 477

Replace this:
$row->signature = eUTF::utf8_substr($row->signature, 0, 255);

With this:
//$row->signature = eUTF::utf8_substr($row->signature, 0, 255);

Save the files. You are done!
Title: Re: Formatting User Signature Field
Post by: BeckTek on February 27, 2008, 21:48:15
works perfectly thanks