2015-03-05, 02:55 PM
I run fantasy rpg and I want automatically calculate custom age for members using side wide custom year parameter (year_in_game, I added it as custom board setting) and custom user profile field (birth_year). Calculation is basic: year_in_game minus birth_date is equal to member age (custom_age).
I want to use this custom_age parameter in mybb templates (user profile and post bit).
What is the most correct way to accomplish this using mybb?
custom_age = year_in_game - custom_age;
I want to use this custom_age parameter in mybb templates (user profile and post bit).
What is the most correct way to accomplish this using mybb?