UBB.Dev
Posted By: UnixSpot Modify the Sig - 06/19/2002 10:56 AM
I was wondering if there was a mod out there or if someone can made one to Modify the user Sig. Currently you can put up to 250 characters but what if I wanted to change that number to a higher count like 500?

Thanks
Posted By: Lisa_P Re: Modify the Sig - 06/19/2002 3:55 PM
This is available in the Admin menu.

Go to "Edit config settings".
Under "Special Functions" you should find the setting called "Maximum length for signatures:".
Just change that number.
Posted By: UnixSpot Re: Modify the Bio - 06/19/2002 11:06 PM
Whoa, I just caught myself... It must be the posting at 4:00 in the morning that is getting to me... I messed up, what I meant was How Do you modify the length of the Users Bio... not Sig.... THe Bio only goes to 250 but I want to increase that to 500 or so.

Sorry about the mess up.
Posted By: Lisa_P Re: Modify the Bio - 06/19/2002 11:28 PM
In changebasic.php:

find
code:
// ------------------------------------------------
// If Bio is greater than 250, the we do not allow
if ( strlen($Bio) > 250) {
$html -> not_right($ubbt_lang['BIO_TOO_LONG'],$Cat);



and change it to
code:
// ------------------------------------------------
// If Bio is greater than 500, the we do not allow
if ( strlen($Bio) > 500) {
$html -> not_right($ubbt_lang['BIO_TOO_LONG'],$Cat);

(or whatever number you wanted to use)

then, to fix the wording on the Edit Basic page,

find in /languages/english/editbasic.php
code:
$ubbt_lang['PROF_BIO'] = "Bio (up to 250 characters)";



and change to
code:
$ubbt_lang['PROF_BIO'] = "Bio (up to 500 characters)";

(or whatever number you used in the above code)

Posted By: UnixSpot Re: Modify the Bio - 06/20/2002 3:58 AM
Perfect, that was exactly what I was looking for, thank yuo very much.
© UBB.Developers