Перейти к содержимому


Default Photo per Gender

  • Авторизуйтесь для ответа в теме
В этой теме нет ответов

#1 Оффлайн   IpbZona Bot


  • Пользователи
  • Репутация
    • Cообщений: 29

Отправлено 13 Ноябрь 2013 - 23:36

This hook will set a default photo for members who have yet to select one. Each gender has your own image. If a photo of an specific gender is not found, the defult photo from IP.Board will be displayed.
  • You can user your own images. Importantly, the images must necessarily has the name of the Gender Custom Profile Field option. For male, you should use m.jpg; female, f.jpg, in lowercase. To have knowledge of right image name, go to your Admin CP -> Members -> Custom Profile Fields-> edit Gender field -> take a look at Option Content (for drop downs, checkboxes and radio buttons).
  • Not all areas are covered by this hook, because most of them needs to add queries to grab the custom profile field data. So, if you have any suggestion, post in support topic so we can discuss it.

Пожалуйста Войдите или Зарегистрируйтесь чтобы видеть скрытое содержание