TP-Docs
HTML5 Icon HTML5 Icon HTML5 Icon
TP on Social Media

Recent

Welcome to TinyPortal. Please login or sign up.

Members
  • Total Members: 3,966
  • Latest: safir45
Stats
  • Total Posts: 195,992
  • Total Topics: 21,323
  • Online today: 476
  • Online ever: 8,223 (February 19, 2025, 04:35:35 AM)
Users Online
  • Users: 1
  • Guests: 262
  • Total: 263
  • @rjen

Names too long for block?

Started by stevensdrum, June 02, 2006, 10:36:31 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

stevensdrum

I had a member that maxed out the number of characters in a screen name, and it goes outside the block. I dont want to have to restrict him, it hasnt been an issue with anyone else on the forum. is there a way to make the font smaller in the user box so it fits? or am i stuck with limiting the number of characters in registration?

Thanks for any help.

SMF 1.1RC2, TP 0.8.6

G6Cad

One option could be for you to widen the blocks on the left site so the text fit.
If you want to try make the fonts smaller, look in the style.css and change the fontsize there.
If non of that will do the trick, i guess you have to limit the number of characters

stevensdrum

thanks for the quick reply as always.

mike

ontap

another way you could block members from using long names its to limit the chars.

Open Profile.template.php

Find:
<td>', ($context['allow_edit_name'] ? '<input type="text" name="realName" size="30"

& Replace With:
<td>', ($context['allow_edit_name'] ? '<input type="text" name="realName" maxlength="30" size="30"

This website is proudly hosted on Crocweb Cloud Website Hosting.