Simple Machines Community Forum

SMF Support => SMF 1.1.x Support => Aiheen aloitti: morais17 - helmikuu 19, 2011, 02:59:14 IP

Otsikko: Personal Text - Char limit
Kirjoitti: morais17 - helmikuu 19, 2011, 02:59:14 IP
How do i remove the charatcer limit from personal text? thanks
Otsikko: Re: Personal Text - Char limit
Kirjoitti: Arantor - helmikuu 19, 2011, 03:03:45 IP
The limit is kept there for performance reasons. It would make things quite a bit slower if it were extended.
Otsikko: Re: Personal Text - Char limit
Kirjoitti: morais17 - helmikuu 19, 2011, 03:07:51 IP
I just want to raise it up a little.
Otsikko: Re: Personal Text - Char limit
Kirjoitti: Arantor - helmikuu 19, 2011, 03:12:32 IP
It's capped at 50 characters in case of entity changes, changing that means making the database field bigger, otherwise there is a decent chance of characters getting broken (which breaks other things). Making the field bigger in 1.1.x means moving it to a text field from a tinytext field, which has a fairly dramatic performance change.

How far, exactly did you want to raise it up?
Otsikko: Re: Personal Text - Char limit
Kirjoitti: morais17 - helmikuu 19, 2011, 03:26:32 IP
90 char. Is it possible?
Otsikko: Re: Personal Text - Char limit
Kirjoitti: Arantor - helmikuu 19, 2011, 03:54:47 IP
Sure it's *possible* but it comes with either slowing your forum down or performance hits... Out of interest why do you need it? I guarantee it will look bad in your forum when you have too long a text anyway.
Otsikko: Re: Personal Text - Char limit
Kirjoitti: morais17 - helmikuu 19, 2011, 04:11:31 IP
I wanted to use it like the Custom Status feature on xmb. But i just realized that i can´t use bbcode on it, unless i edit at the db.

Do you know if there is any mod that allows custom status? thanks for your time.
Otsikko: Re: Personal Text - Char limit
Kirjoitti: Arantor - helmikuu 19, 2011, 04:12:32 IP
Use the custom profile field mod, can do what you want.
Otsikko: Re: Personal Text - Char limit
Kirjoitti: morais17 - helmikuu 19, 2011, 04:36:02 IP
Can´t use bbcode or hmtl neither :/
Otsikko: Re: Personal Text - Char limit
Kirjoitti: Arantor - helmikuu 19, 2011, 04:37:07 IP
http://custom.simplemachines.org/mods/index.php?mod=319

Yes it can... that's what the 'parse bbc' option is for.
Otsikko: Re: Personal Text - Char limit
Kirjoitti: morais17 - helmikuu 19, 2011, 04:39:00 IP
Ouch... Didn't know it xd.

Thank you Arantor
Otsikko: Re: Personal Text - Char limit
Kirjoitti: Masterd - maaliskuu 17, 2011, 06:58:31 AP
I'm marking this topic as solved.
Otsikko: Re: Personal Text - Char limit
Kirjoitti: dsantana - elokuu 04, 2011, 05:09:45 IP
Is it correct to assume that IncognitoMuse that is shown as a guest posting was Arantor that has left this forum?
If so that is too bad, very, very, very... did I say VERY yet???? Knowledgeable!!!!
Otsikko: Re: Personal Text - Char limit
Kirjoitti: Masterd - elokuu 06, 2011, 12:48:27 IP
You are correct. Arantor = IncognitoMuse = Oya.
Otsikko: Re: Personal Text - Char limit
Kirjoitti: doublemachine - elokuu 09, 2011, 11:38:40 AP
I've just looking for this. Thanks