1. WARNING - This part of forum is for English language writed posts ONLY! Any other language isn't alowed! Please respect forum rules, otherwise, your posts will be deleted, and you will be warned, one time only!
  2. Nobody can help you if you did not specify the version of your SE and/or plufgin.
  3. Мы продолжаем публиковать интересные статьи на тему SocialEngine 4. Одна из статей посвящена правильному выбору сервера для вашей социальной сети, а другая содержит советы по увеличению производительности платформы. Также мы добавили большую статью о пользовательских уровнях. Ознакомиться со статьями вы можете в разделе Вопросы и Ответы SocialEngine 4.
  4. Вам кажется, что ваша версия SocialEngine 4, работает медленно?

    Голосуйте. Пишите свою версию системы, железо на чем работает и количество пользователей. Будем увеличивать производительность :-) Подробнее

  5. В связи с участившимися случаями попыток продажи пользователями форума различных "сборок" коммерческих социальных платформ, обычно основанных на SocialEngine 3, вводится новое правило для форума. Запрещается создание тем или размещение в уже созданных предложений о продаже или размещение ссылок на сайты, где происходит продажа "сборок". Пользователи, которые продолжат свою коммерческую деятельность в данном направлении, будут заблокированы. Подробнее.

Проблема Age and date birthday on profile

Dyskusja w 'Help Requests & Support' rozpoczęta przez użytkownika GLands, 20 Październik 2013.

  1. GLands Autor tematu User


    Оффлайн
    Liczba wiadomości:
    96
    Docenione treści:
    95
    Версия SocialEngine:
    4.6.0
    hello to all friends, someone can tell me how to show the profiles of the date of birth that their age brackets?
  2. SPQR Super-Moderator


    Оффлайн
    • Super Moderator
    Liczba wiadomości:
    282
    Docenione treści:
    215
    Explain what you need - are you need to show just age, not exact birthdate, or what..?
  3. GLands Autor tematu User


    Оффлайн
    Liczba wiadomości:
    96
    Docenione treści:
    95
    Версия SocialEngine:
    4.6.0
    show the date of birth and then the parentheses next to their age
  4. SPQR Super-Moderator


    Оффлайн
    • Super Moderator
    Liczba wiadomości:
    282
    Docenione treści:
    215
    this is pretty messy job...I didn't think about that - show birth date and age, both...
    I know how to show just age instead birth date, but both.....
    --- добавлено: 20 окт 2013 в 22:11 ---
    1. Open file:

    ../application/modules/Fields/View/Helper/FieldBirthdate.php

    2. Find code:

    $age = (int)(- $date->sub(time()) / 365 / 86400);



    After that code add code:

    $label = $age;
  5. GLands Autor tematu User


    Оффлайн
    Liczba wiadomości:
    96
    Docenione treści:
    95
    Версия SocialEngine:
    4.6.0
    in this way he showed only age hiding the date of birth
  6. SPQR Super-Moderator


    Оффлайн
    • Super Moderator
    Liczba wiadomości:
    282
    Docenione treści:
    215
    Yes, just age...
    Btw, what is important to see both? Do you think that people can't count some body age, or what?
    The sole purpose for showing JUST age is to hide exact birth date, nothing else, right...?
  7. GLands Autor tematu User


    Оффлайн
    Liczba wiadomości:
    96
    Docenione treści:
    95
    Версия SocialEngine:
    4.6.0
    I would like to be the birth date of that age .... example 02/05/1987 (26 age)
  8. SPQR Super-Moderator


    Оффлайн
    • Super Moderator
    Liczba wiadomości:
    282
    Docenione treści:
    215
    Sorry, I can't help you in that case..
    Also, I think that is unnecessary to put both...people know basic mathematics to calculate age from bd..
    Dyor21 lubi to.

Poleć tę stronę

All rights reserved SocEngine.ru ©