vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   Member Archives (https://vborg.vbsupport.ru/forumdisplay.php?f=202)
-   -   Limit the number of characters in a username (https://vborg.vbsupport.ru/showthread.php?t=6842)

01-16-2001 02:05 AM

is this possible ?

01-16-2001 02:54 AM

set the MAXLENGTH=x flag in the username field when signing up.

x= # of characters.

01-16-2001 01:10 PM

Thanks for that. In case other members are wondering why I would like to do this - its becuase somebody chose a really large username and when the forum displays their name it screwed all the table sizes up.

registeradult template was the one I needed to change

idiot me thought it was the installtemplate.php DOH !

:)

[Edited by Raptor on 01-16-2001 at 11:24 AM]

01-16-2001 01:43 PM

This isn't the best way to do it as a user can take your HTML, edit it, change the MAXLENGTH to something longer and then submit it from another computer.

01-16-2001 01:45 PM

you think they would go to all that trouble ?

we don't accept idiots who would make the effort to do that on ourt forums - they'd get booted pretty quick.

01-16-2001 03:22 PM

If you wanted to be really safe you could modify the DB field to have a max length of x characters. Not sure of the exact statement but I'll find it out if you want to use it.
You could also use phpMyAdmin

01-16-2001 05:00 PM

Quote:

Originally posted by freddie
This isn't the best way to do it as a user can take your HTML, edit it, change the MAXLENGTH to something longer and then submit it from another computer.
anyone who goes to that trouble to get the name 'asdfdafsdsdfasdfasdfsdasdfasdfafda' deserves to keep it (and possibly be promptly removed ;))

01-16-2001 05:53 PM

hehe yeah ;)

Oh can somebody send/post a copy of the voicechat hack please ?


All times are GMT. The time now is 12:43 PM.

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.01103 seconds
  • Memory Usage 1,725KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (8)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete