We build. You grow.

Get best community software here

Start a social network, a fan-site, an education project with oxwall - free opensource community software

User age variable is visible on | Forum

Tassos H
Tassos H Sep 13 '16
If you set the birthday question as optional and the user doesn't fill it up, then the variable $user_age is visible on the title/tab of the browser. I guess we'd better to display nothing if the text box is empty.
ross Team
ross Sep 14 '16
On what page do you see $user_age variable on browser tab? 
ross Team
ross Sep 14 '16
Have you tried to reproduce the issue on our demo website? Because we can't reproduce the issue on our side. 
Tassos H
Tassos H Sep 14 '16
Let me check on demo
Tassos H
Tassos H Sep 14 '16
Here it is
https://demo.oxwall.com/user/bugreporter
The Forum post is edited by Tassos H Sep 14 '16
Attachments:
  var.png (335Kb)
ross Team
ross Sep 14 '16
Please provide the exact steps how you do that. As we cannot reproduce that on our demo. See screenshots. 
ross Team
ross Sep 14 '16
ok, I see now, you have to visit this profile by another user, not yourself
ross Team
ross Sep 14 '16
As a matter of fact, it is also kind of a conflict in the configuration. 

In the meantime, as you don't need your users birthday info, go to the admin panel, settings - > in the drop down menu "Choose pages" select "users" and in the template for individual user page Chat with {$user_name}, {$user_age} at {$site_name}.


remove $user_age