форум vBSupport.ru > vBulletin > vBulletin 3.8.x > Хаки, моды и скрипты 3.8
Register Меню vBsupport Изображения Files Manager О рекламе Today's Posts Search
  • Родная гавань
  • Блок РКН снят
  • Premoderation
  • For English speaking users
  • Каталог Фрилансеров
  • If you want to buy some product or script
  • Администраторам
VBsupport перешел с домена .ORG на родной .RU Ура! Пожалуйста, обновите свои закладки - VBsupport.ru
Блок РКН снят, форум доступен на всей территории России, включая новые терртории, без VPN
На форуме введена премодерация ВСЕХ новых пользователей

Почта с временных сервисов, типа mailinator.com, gawab.com и/или прочих, которые предоставляют временный почтовый ящик без регистрации и/или почтовый ящик для рассылки спама, отслеживается и блокируется, а так же заносится в спам-блок форума, аккаунты удаляются
for English speaking users:
You may be surprised with restriction of access to the attachments of the forum. The reason is the recent change in vbsupport.org strategy:

- users with reputation < 10 belong to "simple_users" users' group
- if your reputation > 10 then administrator (kerk, Luvilla) can decide to move you into an "improved" group, but only manually

Main idea is to increase motivation of community members to share their ideas and willingness to support to each other. You may write an article for the subject where you are good enough, you may answer questions, you may share vbulletin.com/org content with vbsupport.org users, receiving "thanks" equal your reputation points. We should not only consume, we should produce something.

- you may:
* increase your reputation (doing something useful for another members of community) and being improved
* purchase temporary access to the improved category:
10 $ for 3 months. - this group can download attachments, reputation/posts do not matter.
20 $ for 3 months. - this group can download attachments, reputation/posts do not matter + adds eliminated + Inbox capacity increased + files manager increased permissions.

Please contact kerk or Luvilla regarding payments.

Important!:
- if your reputation will become less then 0, you will be moved into "simple_users" users' group automatically.*
*for temporary groups (pre-paid for 3 months) reputation/posts do not matter.
Уважаемые пользователи!

На форуме открыт новый раздел "Каталог фрилансеров"

и отдельный раздел для платных заказов "Куплю/Закажу"

Если вы хотите приобрести какой то скрипт/продукт/хак из каталогов перечисленных ниже:
Каталог модулей/хаков
Ещё раз обращаем Ваше внимание: всё, что Вы скачиваете и устанавливаете на свой форум, Вы устанавливаете исключительно на свой страх и риск.
Сообщество vBSupport'а физически не в состоянии проверять все стили, хаки и нули, выкладываемые пользователями.
Помните: безопасность Вашего проекта - Ваша забота.
Убедительная просьба: при обнаружении уязвимостей или сомнительных кодов обязательно отписывайтесь в теме хака/стиля
Спасибо за понимание
 
 
 
 
Azeroth
Специалист
 
Azeroth's Avatar
Default Выбор аватара во время регистрации / Select Avatar On Registration
7

Название: Выбор аватара во время регистрации / Select Avatar On Registration
Версия: 1.00 - Ссылка на org.
Описание: Данный продукт позволяет пользователям выбрать себе аватар во время регистрации.

Установка: Скачать, а затем загрузить продукт через Админ Панель.
Открыть шаблон "register".

Найти:
PHP Code:
$customfields_other 
Выше добавить следующее:
PHP Code:
<!--Avatar-->

<
fieldset class="fieldset">
<
legend>Аватар</legend>
<
div style="width:600px; height:200px;overflow: auto; "
   <
table cellpadding="0" cellspacing="$stylevar[formspacer]border="0" width="100%">
    <
tr>
     <
td>$reg_avatar</td>
    </
tr>
   </
table>
  </
div>
</
fieldset>

<!-- /
Avatar --> 
От себя добавил к аватарам скроллбар, ибо, когда ставишь в отображении хотя бы 10 аватаров, то ломается стиль. Странно, почему автор сего хака это не учёл.
На всех браузерах не тестил, так что пишите, если вдруг будет баг.

В архиве кодировки UTF-8 и CP1251.
Attached Thumbnails
2.jpg   1.jpg  
Attached Files
File Type: zip avataronreg_RUS.zip (2.5 KB, 23 views)

Last edited by Azeroth : 06-29-2011 at 11:41 PM.
Bot
Yandex Bot Yandex Bot is online now
 
Join Date: 05.05.2005
Реклама на форуме А что у нас тут интересного? =)
 
 
quformator
Простоузер
Default
0

огромное спасибо за данный хак
 
 
Azeroth
Специалист
 
Azeroth's Avatar
Default
1

Прикрепил ещё поле загрузки собственного аватара. Работает на 3.8.1, на версиях выше скорее всего работать не будет, по крайней мере корректно.

Установка:
Открыть шаблон "register".

Найти:
PHP Code:
<form action="register.php?do=addmember" name="register" method="post" onsubmit="return verify_passwords(password, passwordconfirm);"
Заменить на:
PHP Code:
<form action="register.php?do=addmember" name="register" method="post" onsubmit="return verify_passwords(password, passwordconfirm);" ENCTYPE="multipart/form-data"

Найти:
PHP Code:
$customfields_other 
Выше добавить следующее:
PHP Code:
<!--Avatar-->
<
fieldset class="fieldset">
<
legend>Выбор аватара</legend>
<
div style="width:600px; height:200px;overflow: auto; "
   <
table cellpadding="0" cellspacing="$stylevar[formspacer]border="0" width="100%">
    <
tr>
     <
td>$reg_avatar</td>
    </
tr>
   </
table>
  </
div>
</
fieldset>
<!-- /
Avatar -->

<if 
condition="$show[avatar_form]">
<
fieldset class="fieldset">
    <
legend>$vbphrase[custom_avatar]</legend>
    <
table cellpadding="0" cellspacing="$stylevar[formspacer]border="0">
    <
tr>
        <
td>
            
$vbphrase[may_upload_custom_image_controls]
<
br />
<
br />
            <if 
condition="$vboptions[regava_show_url]">$vbphrase[regava_enterurl]</if>
            <if 
condition="$vboptions[regava_show_upload]">$vbphrase[regava_upload]</if>
        </
td>
    </
tr>
    <if 
condition="$vboptions[regava_show_url]">
        <
tr>
            <
td>
                
$vbphrase[enter_url_to_image]<br />
                <
input type="text" class="bginput" name="avatarurl" value="http://www." size="50" dir="ltr" />
            </
td>
        </
tr>
    </if>
    <if 
condition="$vboptions[regava_show_upload]">
        <
tr>
            <
td>
                <
input type="hidden" name="MAX_FILE_SIZE" value="$inimaxattach/>
                
$vbphrase[option_2_upload_image_from_computer]<br />
                <
input type="file" class="bginput" name="upload" size="50" />
            </
td>
        </
tr>
    </if>
    <if 
condition="$show['maxnote']">
    <
tr>
        <
td>$maxnote</td>
    </
tr>
    </if>
    </
table>
</
fieldset>
</if> 
В архиве кодировки UTF-8 и CP1251.
Attached Thumbnails
ava.JPG  
Attached Files
File Type: zip avataronreg_RUS_modify.zip (5.5 KB, 10 views)
 
 
johnnycash
Простоузер
Default
0

Приветствую, на 3.8.10 выезжает за рамки при настройке аватара в профиле, как подправить? Заранее спасибо


Last edited by kerk : 06-05-2017 at 09:38 PM. Reason: оверквотинг
 

Tags
аватар, регистрация


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




All times are GMT +4. The time now is 05:57 PM.


Powered by vBulletin® Version 3.5.5
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.