1
Gollum
Important changes for my site
  • 2005/9/27 21:50

  • Gollum

  • Just popping in

  • Posts: 38

  • Since: 2005/9/23


Hi,

If it's not too much trouble I'd like to know if there's any solutions for these things, it's very important to get my site running:

Make it so members can't edit their display name, so they always have the same one as they registered with.

When people makes too long titles in their comments the design/theme get ruined, how do I set a character limit?

I really hope someone can answer one or both of my questions as fast as possible. I couldn't find any answers in forum.. if I missed them, then please give me a link.

Thanks in advance!

2
JMorris
Re: Important changes for my site
  • 2005/9/28 0:28

  • JMorris

  • XOOPS is my life!

  • Posts: 2722

  • Since: 2004/4/11


RE: Display name...

Not that I know of. There may be a way to do this in the core files, but I'm not sure.

RE: Comments...

Could you provide a link that illustrates this? If a theme is coded correctly, comments should not mess it up.

Best Regards,

James
Insanity can be defined as "doing the same thing over and over and expecting different results."

Stupidity is not a crime. Therefore, you are free to go.

3
Gollum
A bit more details..
  • 2005/9/28 2:34

  • Gollum

  • Just popping in

  • Posts: 38

  • Since: 2005/9/23


Hey :).. I found a way to turn off the rights to edit your name in the Real name hack, so I guess it's possible to do the same with the display name. I just don't know how.

The comment message has the same bug. if you for exsample write "Weeeeeeeee" With enough e's it will stretch the theme. If possible then I would like the comment's title to have a limit of x characters, and the message word to break to next line when it has over x characters. I don't think it's the theme's fault, because it does the same thing in the default theme.

I hope you still want to help me out, my skills in this is close to zero.. If not below :P.

4
JMorris
Re: A bit more details..
  • 2005/9/28 2:53

  • JMorris

  • XOOPS is my life!

  • Posts: 2722

  • Since: 2004/4/11


Quote:
Hey :).. I found a way to turn off the rights to edit your name in the Real name hack, so I guess it's possible to do the same with the display name. I just don't know how.


Would you mind sharing how you accomplished this? Might be useful for someone else down the road.

Quote:
The comment message has the same bug. if you for exsample write "Weeeeeeeee" With enough e's it will stretch the theme. If possible then I would like the comment's title to have a limit of x characters, and the message word to break to next line when it has over x characters. I don't think it's the theme's fault, because it does the same thing in the default theme.


OH, now I understand what you're saying. This has been discussed before but in the context of URLs. The only way I know of controlling this is using the CSS overflow attribute. What it does is creates a scrollbox effect for long lines of text. The same attribute is used for the [ code ] [ / code] tags here at XOOPS.org.

Just add the following CSS inside the { } brackets in the section of your style.css that says .comContainer

width400pxmax-height250pxmargin0.5emoverflowauto;


You can adjust the width and height as needed to match your theme, of course.

Hope this helps.

James
Insanity can be defined as "doing the same thing over and over and expecting different results."

Stupidity is not a crime. Therefore, you are free to go.

5
Gollum
Thank you + More details
  • 2005/9/28 8:57

  • Gollum

  • Just popping in

  • Posts: 38

  • Since: 2005/9/23


I would like to share it if I had made it myself, I forgot to write that I found the solution for the Real name hack here in the Support Forums.. Sorry. I'm still seeking the same answer, just for the Display name instead.

Thanks for the suggestion with the scroll, I use it now and it's way better than stretching the whole page. If anyone know how to break a word in a comment if it's longer than x, then please reply me the answer.

You know where to find the input text box in source codes for comment subject/title input box? There's a limit for username and password length in the Login module, so I think it's possible to do the same trick for the subject/title in comments. I don't want users to make unlimited titles for their comments.

Thank you again for using some of your time on this. I really hope to find solutions for my needs soon.

Login

Who's Online

433 user(s) are online (370 user(s) are browsing Support Forums)


Members: 0


Guests: 433


more...

Donat-O-Meter

Stats
Goal: $100.00
Due Date: Nov 30
Gross Amount: $0.00
Net Balance: $0.00
Left to go: $100.00
Make donations with PayPal!

Latest GitHub Commits