Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > vBulletin 3.5 > vBulletin 3.5 Add-ons

Reply
 
Thread Tools
Forbid the use of some symbols in USERNAME Details »»
Forbid the use of some symbols in USERNAME
Version: 1.00, by ghroob ghroob is offline
Developer Last Online: Aug 2007 Show Printable Version Email this Page

Version: 3.5.0 RC3 Rating:
Released: 09-25-2005 Last Update: Never Installs: 12
 
No support by the author.

Hi all...
It came to my mind to put a code to forbid the use of some characters & symbols in members' usernames when they first register at my forums..

Sometimes usage of these characters & symbols leads to usernames like: .:*#juggler#*:. and so..

this code simply allow users to just register with Letters, Numbers and Space..

share your opinion

Salam..

Show Your Support

  • This modification may not be copied, reproduced or published elsewhere without author's permission.

Comments
  #12  
Old 09-29-2005, 08:16 AM
ghroob ghroob is offline
 
Join Date: Dec 2001
Location: Moscow
Posts: 27
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

thanx all for ur comments,,
and for any suggestions or updates im here
Reply With Quote
  #13  
Old 10-11-2005, 12:38 PM
-=Sniper=- -=Sniper=- is offline
 
Join Date: May 2002
Posts: 605
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

excellent, thanks
Reply With Quote
  #14  
Old 11-02-2005, 07:32 PM
cpzhao cpzhao is offline
 
Join Date: Aug 2005
Posts: 3
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Thank you! this is exactly what I need. I would remove the space by default if I were you, though
Reply With Quote
  #15  
Old 11-18-2005, 08:05 AM
gldtn gldtn is offline
 
Join Date: Apr 2003
Location: US
Posts: 169
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by cpzhao
Thank you! this is exactly what I need. I would remove the space by default if I were you, though
does this work with vb3.5.1? I cannot find Phrase type Error Messages

Thanks in advance
Reply With Quote
  #16  
Old 11-22-2005, 04:44 AM
Acido Acido is offline
 
Join Date: Apr 2003
Location: Argentina
Posts: 187
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by gldtn
does this work with vb3.5.1? I cannot find Phrase type Error Messages

Thanks in advance
Search Front-End Errors Messages

------------------------------

I'm using this hack. But it show a error message for each character wrong in the nickname. If user enter 3 symbols, then he will see this:

Username may only contain Letters, Numbers and Space
Username may only contain Letters, Numbers and Space
Username may only contain Letters, Numbers and Space

Is it a bug?
Ideas to solve it?
Reply With Quote
  #17  
Old 11-22-2005, 09:44 AM
Marco van Herwaarden Marco van Herwaarden is offline
 
Join Date: Jul 2004
Posts: 25,415
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Acido
Search Front-End Errors Messages

------------------------------

I'm using this hack. But it show a error message for each character wrong in the nickname. If user enter 3 symbols, then he will see this:

Username may only contain Letters, Numbers and Space
Username may only contain Letters, Numbers and Space
Username may only contain Letters, Numbers and Space

Is it a bug?
Ideas to solve it?
In the plugin, find:
PHP Code:
  $userdata->error('forbiddenusername'); 
Add under:
PHP Code:
break; 
(Not tested)
Reply With Quote
  #18  
Old 11-22-2005, 10:39 AM
-=Sniper=- -=Sniper=- is offline
 
Join Date: May 2002
Posts: 605
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

that fixed it! thanks
Reply With Quote
  #19  
Old 12-11-2005, 12:00 AM
Ghanem's Avatar
Ghanem Ghanem is offline
 
Join Date: Aug 2004
Location: Bahrain
Posts: 122
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

thank you for the hack..
how can I implement on Arabic charcters and space only..
Reply With Quote
  #20  
Old 12-11-2005, 03:33 AM
icemann's Avatar
icemann icemann is offline
 
Join Date: Sep 2005
Posts: 103
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

This is great for the lazy people like me, thanks & worked perfect.

*clicks install*
Reply With Quote
  #21  
Old 01-04-2006, 09:44 PM
quanvo81 quanvo81 is offline
 
Join Date: Apr 2004
Location: Flushing - New York
Posts: 115
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

This is a cool hack, not install it rite now , but I will look forward to it.
Reply With Quote
Reply

Thread Tools

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

Forum Jump


All times are GMT. The time now is 06:18 AM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2024, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.04343 seconds
  • Memory Usage 2,296KB
  • Queries Executed 25 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (2)bbcode_php
  • (3)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (6)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (2)pagenav_pagelink
  • (11)post_thanks_box
  • (11)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (11)post_thanks_postbit_info
  • (10)postbit
  • (11)postbit_onlinestatus
  • (11)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.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/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.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
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete