форум vBSupport.ru > vBulletin > vBulletin 4.2.x > Вопросы по vBulletin 4.2.x
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'а физически не в состоянии проверять все стили, хаки и нули, выкладываемые пользователями.
Помните: безопасность Вашего проекта - Ваша забота.
Убедительная просьба: при обнаружении уязвимостей или сомнительных кодов обязательно отписывайтесь в теме хака/стиля
Спасибо за понимание
 
 
 
 
viliksar
Продвинутый
 
viliksar's Avatar
Default Добавить пол пользователя etiket_postbit
0

Добавил это код, но пол не отобразился у пользователя....сказали что надо где то в админке сделать еще, а где именно кто бы подсказал.

PHP Code:
{vb:raw template_hook.postbit_end}<vb:if condition="$post['field5']"><dt>Пол</dt
  <
dd><vb:if condition="$post['field5']==Мужской"><img src="images/male.gif"
      <
vb:else /> 
      <
vb:if condition="$post['field5']==Женский"><img src="images/female.gif"
      </
vb:if> 
      </
vb:if> 
  </
dd
</
vb:if> 

Last edited by viliksar : 03-19-2014 at 07:21 PM.
Bot
Yandex Bot Yandex Bot is online now
 
Join Date: 05.05.2005
Реклама на форуме А что у нас тут интересного? =)
 
 
Luvilla
Гость
Default

Quote:
Originally Posted by viliksar View Post
сказали что надо где то в админке сделать еще, а где именно кто бы подсказал.
эмммм....
само дополнительное поле, field5 - создано?
заполнено в профиле у юзера?
 
 
viliksar
Продвинутый
 
viliksar's Avatar
Default
0

Quote:
Originally Posted by Luvilla View Post
само дополнительное поле, field5 - создано?
Не созданно, в этом и вопрос как его создать?
 
 
Dyuhaha
Эксперт
 
Dyuhaha's Avatar
Default
0

http://vbsupport.ru/forum/showthread.php?t=21848
 
 
Luvilla
Гость
Default



Админы! Учите админку!!! ©
 
 
viliksar
Продвинутый
 
viliksar's Avatar
Default
0

Создал дополнительное поле ПОЛ, получил field7
в самый конец postbit_legacy сунул код:
PHP Code:
{vb:raw template_hook.postbit_end}<vb:if condition="$post['field5']"><dt>Пол</dt>  
  <
dd><vb:if condition="$post['field7']==Мужской"><img src="images/male.gif">  
      <
vb:else />  
      <
vb:if condition="$post['field7']==Женский"><img src="images/female.gif">  
      </
vb:if>  
      </
vb:if>  
  </
dd>  
</
vb:if> 
Выбрал пол в своем профиле и загрузил в папку images картинки female.gif male.gif
Но пол так и не отобразился в постбите(((

viliksar добавил 31.08.2013 в 22:08
Извеняюсь код такой сунул в шаблон:
PHP Code:
{vb:raw template_hook.postbit_end}<vb:if condition="$post['field7']"><dt>Пол</dt>  
  <
dd><vb:if condition="$post['field7']==Мужской"><img src="images/male.gif">  
      <
vb:else />  
      <
vb:if condition="$post['field7']==Женский"><img src="images/female.gif">  
      </
vb:if>  
      </
vb:if>  
  </
dd>  
</
vb:if> 

Last edited by viliksar : 08-31-2013 at 11:08 PM. Reason: Добавлено сообщение
 
 
Luvilla
Гость
Default

Quote:
Originally Posted by viliksar View Post
Создал дополнительное поле ПОЛ, получил field7
покажите скрин настроек доп.поля

и... я бы там <else /> не ставила, зачем?
 
 
viliksar
Продвинутый
 
viliksar's Avatar
Default
0

Quote:
Originally Posted by Luvilla View Post
покажите скрин настроек доп.поля
http://i60.fastpic.ru/big/2013/0831/...8c14ff0fa0.png

Quote:
Originally Posted by Luvilla View Post
и... я бы там <else /> не ставила, зачем?
viliksar добавил 31.08.2013 в 22:27
Недопонял здесь...

Last edited by viliksar : 08-31-2013 at 11:27 PM. Reason: Добавлено сообщение
 
 
Sven
Front-End Developer
 
Sven's Avatar
Default
0

Quote:
Originally Posted by viliksar View Post
http://i60.fastpic.ru/big/2013/0831/...8c14ff0fa0.png
Имелось ввиду настроек в админке
 
 
viliksar
Продвинутый
 
viliksar's Avatar
Default
0

Quote:
Originally Posted by Sven View Post
Имелось ввиду настроек в админке
http://i57.fastpic.ru/big/2013/0831/...bde2a79a93.png
 


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 09:55 PM.


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