vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   Modification Requests/Questions (Unpaid) (https://vborg.vbsupport.ru/forumdisplay.php?f=112)
-   -   Force people not to use - as the first or last character of their username (https://vborg.vbsupport.ru/showthread.php?t=108936)

influence 02-26-2006 02:33 PM

Force people not to use - as the first or last character of their username
 
Is it possible for me to force people not to use - as the first or last character during registration? I would like for them to use it for their name anywhere else but not infront or at the end of whatever username they came up with.

The reason I asked is because I set my members profile links to be username.mysite.com and people with - at the beginning or at the end of their name profile links dont work

Please I hope someone can help me with that and I think it should have been the default for vbulletin.

Your reply is truly appreciated.

Gio~Logist 02-26-2006 02:42 PM

Quote:

Originally Posted by influence
Is it possible for me to force people not to use - as the first or last character during registration? I would like for them to use it for their name anywhere else but not infront or at the end of whatever username they came up with.


The reason I asked is because I set my members profile links to be username.mysite.com and people with - at the beginning or at the end of their name profile links dont work

Please I hope someone can help me with that and I think it should have been the default for vbulletin.


Your reply is truly appreciated.


Instead of username.yoursite.com why not just do www.yoursite.com/username?

I believe doing it that way would work for you.

influence 02-26-2006 02:47 PM

thats the way I had it at first and it didn't work. I am using vbseo and for some reason, it will replace - as space and also replace a space for -

I think they restricted the usage of - for username since that character is being used to seperate words or links and url parts.

Gio~Logist 02-26-2006 03:08 PM

Quote:

Originally Posted by influence
thats the way I had it at first and it didn't work. I am using vbseo and for some reason, it will replace - as space and also replace a space for -

I think they restricted the usage of - for username since that character is being used to seperate words or links and url parts.

But does it work when you do www.yoursite.com/username ? Does it atleast function right (regardless of what characters it uses), or does it mess up?

Also, i'd say to just not allow them to use "-" at all if it's a problem.

influence 02-26-2006 06:49 PM

ya it works but is someone have a user name call -username1 or username2-, and then then there is another user call username3... Now if someone click on either -username1 or username2-, they will be taken to username3 profile page instead of either -username1 or username2- profile.

How can I disallow the use of "-" so that people wont be able to use that on their username when they register?


All times are GMT. The time now is 10:39 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.00939 seconds
  • Memory Usage 1,719KB
  • 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
  • (2)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (5)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