Birthday hide from everyone

Tamás Varga Posted in Component Development 1 week ago

Several users have requested that no one be seen by anyone, not even friends. Can I hide it with a hide button? You want to hide your birthday.

Replies
Hungarian Tamás Varga Replied 1 week ago

Thank you Arsalan Shah.

Indonesian Arsalan Shah Replied 1 week ago

You can contact us with more details as this is custom development related requires time to write a component or changes

Hungarian Tamás Varga Replied 1 week ago

I want 1 user to hide their birthday, 2 users to allow it, 3 users to hide it, 4 users to allow it and so on.

Indonesian Arsalan Shah Replied 1 week ago

I am guessing that this is by custom fields component, if it is about users component then you can do similar thing.

Indonesian Arsalan Shah Replied 1 week ago

Edit \components\CustomFields\plugins\default\customfields\about.php in the loop you may add a condition like

if($item->field_name == 'birthdate'){
        continue;   
}

enter image description here

Hungarian Tamás Varga Replied 1 week ago

enter image description here

Indonesian Arsalan Shah Replied 1 week ago

Where exactly the birthday displays? Please send screenshot as example so we can answer better and accordingly.