LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   LQ Suggestions & Feedback (https://www.linuxquestions.org/questions/lq-suggestions-and-feedback-7/)
-   -   Is it possible to limit the amount of characters on members' profile? (https://www.linuxquestions.org/questions/lq-suggestions-and-feedback-7/is-it-possible-to-limit-the-amount-of-characters-on-members-profile-178900/)

Mega Man X 05-07-2004 07:55 AM

Is it possible to limit the amount of characters on members' profile?
 
This is just something that I've been wondering about. Some members has the bad habit of using a really large profile without using spaces or commas. Here is mine as an example:

Quote:

Megaman X
Guru

Registered: Apr 2003
Location: Over the hills and far away...
Distribution: Slackware 9.0 | FreeBSD 5.2.1 | Libranet 2.8.1 | Grey Cat Linux 3.0 | Solaris 9.0
Posts: 2074
HCL Entries: 0
Reviews: 3
Now, let's suppose that I used under distribution, something like this:

Quote:

Distribution: Slackware 9.0,FreeBSD 5.2.1,Libranet 2.8.1,Grey Cat Linux 3.0,Solaris 9.0
Doing that, everything will be at the same line, and wherever the member post, the thread looks ugly and harder to read, since the messages won't be in a straight line. My idea would be to limit, maybe, the amount of characters used in a row/single word, meaning if the user don't use spaces, he/she won't be able to type more then a few characters. Is it only me or does it annoy somebody else too when you see a thread with a member like that?. Maybe it's me being too peek :(

Thanks for your time reading this...

david_ross 05-07-2004 01:41 PM

I noticed this a while ago too.

Perhaps even a couple of preg replaces to add spaces after punctuation:
preg_replace('/\,/\, /', $distro);
preg_replace('/\./\. /', $distro);

LinuxLala 05-08-2004 03:08 AM

Now that you say it, I do find it ugly myself.

Mega Man X 05-08-2004 08:28 AM

Ah cool! I though I was alone up there or that it was only affecting my browsers :)

jeremy 05-08-2004 11:19 AM

Let me look into a good solution for this. Thanks.

--jeremy

jeremy 05-09-2004 09:13 AM

This should be fixed. If you notice any cases where it isn't, let me know.

--jeremy

Mega Man X 05-09-2004 07:52 PM

Wow, that was quick!!! What service ;). Thanks a lot jeremy, if I find any case, I'll post it here!

Thanks ;)

Mega Man X 05-16-2004 12:17 AM

Hi jeremy!

Sorry to bother you again, but looks like someone could manage to find a "work around" that, take a look at this post:

http://www.linuxquestions.org/questi...162#post905162

it's no big deal really, this forum works great and both you and the mods are doing an amazing job, so don't worry about fixing it if it's difficult ;).

Thanks!

david_ross 05-16-2004 05:29 AM

I just spotted another one too:
http://www.linuxquestions.org/questi...932#post934932

jeremy 05-16-2004 01:46 PM

Both of those are the location field and I only applied the fix to the distro field. I'll update this as soon as I get a chance.

--jeremy


All times are GMT -5. The time now is 08:23 PM.