Файловый Архив

  • Неограниченное количество категорий и суб-категорий
  • Настройки прав доступа по группам
  • Настройки прав доступа по каждой категории
  • Предпросмотр медиа файлов: FLV, IFLV, F4A, F4V, MP4, MP3, MOV и других...
  • Мультизагрузка файлов - SWFUploader
  • Добавление файлов с сервера
Подробности и история обновлений продукта в этой теме
 
 
 
 

 
 
Здесь скоро опять что то будет...
 
 
 
 
 
 
Loading

Вернуться   форум vBSupport.org > vBulletin > vBulletin 3.5.x > Хаки, моды и скрипты 3.5

Объявления
  • Изменения в правах
  • Каталог Фрилансеров
  • Добро пожаловать!
  • Premoderation
  • Новичкам!
  • For English speaking users
Ответ
 
Опции темы Опции просмотра
Старый 02.02.2006, 04:43   #1
Администратор
Неадекватный
 
Аватар для КотЪ
Illegal Username Character Preg_match

This hack may win me more popularity contests among the older board operators out there....

What pi$$e$ me off more than anything, is when users register usernames with weird characters that take you several minutes to figure out what the hell their username really is! To achieve what this hack does in the adminCP, you would have to enter literally hundreds of single characters!

For 3.5.3, simply install the product, and then edit the only plugin... the variable $char_conditions to your tastes...

Please refer to http://www.php.net/preg_match for help on how to set the conditions to your tastes. The default allows for letters, numbers, and underscores only. If you're a preg_match guru, you can also set it up to require the first character to be a letter, and so on...

Alas, friends and neighbors, the days of [==d00D==], |< () R |\| and |3 () () |3 $ are GONE FOREVER!!!!!!!!
Вложения
Тип файла: xml product-int_username_restrict.xml (1.1 Кб, 27 просмотров)
  Ответить с цитированием
Рекламка
Реклама на форуме
Старый 02.02.2006, 04:45   #2
КотЪ
Администратор
Неадекватный
 
Аватар для КотЪ
Restrict usernames to alphanumeric and underscore

What is this Plugin about?

Are you tired of seeing in your forums usernames like these?:
1.- The Super Boy (spaces)
2.- my_new_name (underscore abuse)
3.- imçañóndábèar (international characters)

Well, with this simple addon you can prevent that from happening from now on (it can't correct already spoiled usernames). When a user tries to register using one of those chars, a nice error message makes sure the user picks another "normal" name.

Installation instructions
1.- Download the attached .xml
2.- Go to Admin Control Panel => Plugin System => Manage Products => Add/Import Product => and browse for the the location where you downloaded the .xml
3.- Hit Import
4.- To configure it (not really needed, but it is there), go to Vbulletin Forum Options => Restrict Usernames on registration

By default this addon prevents spaces and any char other than numbers and (english) letters while allowing underscore.
Вложения
Тип файла: xml product-restrictusername20060201.xml (3.0 Кб, 20 просмотров)
  Ответить с цитированием
Старый 02.02.2006, 06:07   #3
Onkor
Продвинутый
 
Аватар для Onkor
По руссски можно объяснит что это такое??
  Ответить с цитированием
Старый 02.02.2006, 06:16   #4
КотЪ
Администратор
Неадекватный
 
Аватар для КотЪ
Лень.
  Ответить с цитированием
Старый 02.02.2006, 11:54   #5
fill747
Продвинутый
 
Аватар для fill747
Onkor
первый запрещает создавать подобные ники: [==d00D==], |< () R |\|, |3 () () |3 $

второй запрещает создавать ники с пробелами, знаками подчеркивания и всякими "национальными" символами (imçañóndábèar).
  Ответить с цитированием
Старый 02.02.2006, 19:59   #6
Onkor
Продвинутый
 
Аватар для Onkor
fill747, так в админке есть графа целая для запрета использования всяких символов.
  Ответить с цитированием
Старый 02.02.2006, 20:46   #7
fill747
Продвинутый
 
Аватар для fill747
Цитата:
Сообщение от Onkor
в админке есть графа целая
э-э-э-э-э... что-то я это пропустил... где?
  Ответить с цитированием
Старый 01.03.2006, 14:26   #8
Onkor
Продвинутый
 
Аватар для Onkor
fill747, админка\основные настройки, раздел "Регистрация пользователей" (Недопустимые имена пользователей)
  Ответить с цитированием
Старый 01.03.2006, 20:58   #9
Amorpho[US]
Продвинутый
Это не то совсем.
  Ответить с цитированием
Ответ

Закладки

Опции темы
Опции просмотра

Ваши права в разделе
Вы не можете создавать новые темы
Вы не можете отвечать в темах
Вы не можете прикреплять вложения
Вы не можете редактировать свои сообщения

BB коды Вкл.
Смайлы Вкл.
[IMG] код Вкл.
HTML код Выкл.



 
 

Текущее время: 16:25 25.05.2012. Часовой пояс GMT +4.


Powered by vBulletin® Version 3.0.15
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd. Перевод: zCarot