vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.0 Full Releases (https://vborg.vbsupport.ru/forumdisplay.php?f=33)
-   -   Denied Symbol&Numbers Registration (https://vborg.vbsupport.ru/showthread.php?t=81787)

iSpanish 05-19-2005 10:00 PM

Denied Symbol&Numbers Registration
 
Hello there!


This is my first hack :squareeyed: actually my friend create it just to denied two things but i re create from beginning so thats why i say it's my first hack.

What does this hack do?
In the registration page it checks if the username the user has entered have a denied symbol and Numbers or not. If the user enter any symbol from this + = _ # $ ^ & * ( ) will get a message telling user to change the desired name.


Updated to 1.0.1
Fix some codes :squareeyed:
To Update just replace deniedreg.php with the new one (from attachment)



install this hack?
just upload 1 file to includes folder.
Edit register.php file.
That's all.

1.
Open register.php
Find:
PHP Code:

$_POST['username'] = trim(preg_replace('#\s+#si'' '$_POST['username'])); 

Below. Add
PHP Code:

// # Denied symbol&numbers from registration[strat]
    
require('./includes/deniedreg.php');
// # Denied symbol&numbers from registration[end] 

Save & uplaod it

2.
Upload deniedreg.php (from attachment) to includes file.

End



Demo:
Look to the screenshot.

Please don't forget to click install

swantonio 05-20-2005 09:04 PM

ottimo complimenti :squareeyed:

hasan2k 05-21-2005 12:12 AM

How can I use this hack to check for "thread titles". My members tend to use a lot of the symbols to attract attention which clutters my forum.

iSpanish 05-21-2005 12:17 AM

Hello hasan2k

i will try to do it


:)

Marboosh

iSpanish 05-21-2005 01:10 AM

Quote:

Originally Posted by hasan2k
How can I use this hack to check for "thread titles". My members tend to use a lot of the symbols to attract attention which clutters my forum.

the hack is released now
https://vborg.vbsupport.ru/showthread.php?p=656420

Acido 05-21-2005 12:55 PM

I was waiting for a hack like this for months.
Big Thanx Amigo :)


All times are GMT. The time now is 11:16 AM.

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.00965 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
  • (2)bbcode_php_printable
  • (1)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (6)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