LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > LinuxQuestions.org > LQ Suggestions & Feedback
User Name
Password
LQ Suggestions & Feedback Do you have a suggestion for this site or an idea that will make the site better? This forum is for you.
PLEASE READ THIS FORUM - Information and status updates will also be posted here.

Notices


Reply
  Search this Thread
Old 05-07-2004, 07:55 AM   #1
Mega Man X
LQ Guru
 
Registered: Apr 2003
Location: ~
Distribution: Ubuntu, FreeBSD, Solaris, DSL
Posts: 5,339

Rep: Reputation: 65
Lightbulb 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...
 
Old 05-07-2004, 01:41 PM   #2
david_ross
Moderator
 
Registered: Mar 2003
Location: Scotland
Distribution: Slackware, RedHat, Debian
Posts: 12,047

Rep: Reputation: 79
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);
 
Old 05-08-2004, 03:08 AM   #3
LinuxLala
Senior Member
 
Registered: Aug 2003
Location: New Delhi, India
Distribution: Fedora 7
Posts: 1,305

Rep: Reputation: 45
Now that you say it, I do find it ugly myself.
 
Old 05-08-2004, 08:28 AM   #4
Mega Man X
LQ Guru
 
Registered: Apr 2003
Location: ~
Distribution: Ubuntu, FreeBSD, Solaris, DSL
Posts: 5,339

Original Poster
Rep: Reputation: 65
Ah cool! I though I was alone up there or that it was only affecting my browsers
 
Old 05-08-2004, 11:19 AM   #5
jeremy
root
 
Registered: Jun 2000
Distribution: Debian, Red Hat, Slackware, Fedora, Ubuntu
Posts: 13,602

Rep: Reputation: 4084Reputation: 4084Reputation: 4084Reputation: 4084Reputation: 4084Reputation: 4084Reputation: 4084Reputation: 4084Reputation: 4084Reputation: 4084Reputation: 4084
Let me look into a good solution for this. Thanks.

--jeremy
 
Old 05-09-2004, 09:13 AM   #6
jeremy
root
 
Registered: Jun 2000
Distribution: Debian, Red Hat, Slackware, Fedora, Ubuntu
Posts: 13,602

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

--jeremy
 
Old 05-09-2004, 07:52 PM   #7
Mega Man X
LQ Guru
 
Registered: Apr 2003
Location: ~
Distribution: Ubuntu, FreeBSD, Solaris, DSL
Posts: 5,339

Original Poster
Rep: Reputation: 65
Wow, that was quick!!! What service . Thanks a lot jeremy, if I find any case, I'll post it here!

Thanks
 
Old 05-16-2004, 12:17 AM   #8
Mega Man X
LQ Guru
 
Registered: Apr 2003
Location: ~
Distribution: Ubuntu, FreeBSD, Solaris, DSL
Posts: 5,339

Original Poster
Rep: Reputation: 65
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!
 
Old 05-16-2004, 05:29 AM   #9
david_ross
Moderator
 
Registered: Mar 2003
Location: Scotland
Distribution: Slackware, RedHat, Debian
Posts: 12,047

Rep: Reputation: 79
I just spotted another one too:
http://www.linuxquestions.org/questi...932#post934932
 
Old 05-16-2004, 01:46 PM   #10
jeremy
root
 
Registered: Jun 2000
Distribution: Debian, Red Hat, Slackware, Fedora, Ubuntu
Posts: 13,602

Rep: Reputation: 4084Reputation: 4084Reputation: 4084Reputation: 4084Reputation: 4084Reputation: 4084Reputation: 4084Reputation: 4084Reputation: 4084Reputation: 4084Reputation: 4084
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
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
How do I limit the amount of processes a user can run? houler Slackware 26 04-04-2005 08:02 PM
limit the amount of bandwidth used by certain protocols chrisfirestar Linux - Networking 4 03-22-2004 09:12 PM
Java JTextArea - limiting amount of characters entered Andy@DP Programming 3 03-10-2004 01:16 AM
Limit the amount of login attempts to machine jester_69 Linux - Security 4 10-14-2003 02:35 PM
Limit amount of emails on server ganninu Linux - Networking 7 07-30-2003 11:21 AM

LinuxQuestions.org > Forums > LinuxQuestions.org > LQ Suggestions & Feedback

All times are GMT -5. The time now is 02:32 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration