is there a way to make it a check box whether the user wants or does not want their age displayed on their profile header?
for the time being, where can I delete/comment out that line ?
is there a way to make it a check box whether the user wants or does not want their age displayed on their profile header?
for the time being, where can I delete/comment out that line ?
In the listings, you can avoid being shown by commenting on these lines as shown in the image. It is the file
yoursite.com/ow_system_plugins/base/controllers/user_list.php
Requires that you put the web in DEBUG mode, see a list of members and go back to normal mode.
I do not know if there are more sites where it is shown, tell me and I will find the right file to edit
I think this is what I am looking for... I will try it.... it would be great if there was an checkbox option in the user profile to show/hide ageIn the listings, you can avoid being shown by commenting on these lines as shown in the image. It is the file
yoursite.com/ow_system_plugins/base/controllers/user_list.php
Requires that you put the web in DEBUG mode, see a list of members and go back to normal mode.
I do not know if there are more sites where it is shown, tell me and I will find the right file to edit
But to make it show up for one if and others does not require adding that option to yoursite.com/profile/preference, that's not the privacy plugin https://developers.oxwall.com/store/item/68 ...
There would be what to modify it There are many developers who can do it for you or provide other ideas.
it would have to be modified too
To show or hide it at all is this checkFrom what I am seeing and reading, most developers have abandoned the site and plugins... I am willing to pay for someone to do this... any suggestions? do you know anyone that is actively supporting the base of Oxwall?But to make it show up for one if and others does not require adding that option to yoursite.com/profile/preference, that's not the privacy plugin https://developers.oxwall.com/store/item/68 ...
There would be what to modify it There are many developers who can do it for you or provide other ideas.
You already followed these steps:
https://wiki.oxwall.com/plugin-tuts:enable-debug
or used the Cache Cleaner plugin https://developers.oxwall.com/store/item/579
If you have not done so, the changes you make in the files. PHP does not work.
It is not a complicated modification and you can take advantage of it to show another field of the profile instead of this one.
The birthdate is now hidden, but the profile header still shows the age....
This plugin Profile Cover https://developers.oxwall.com/store/item/483 also shows it, I do not know if you use itit would have to be modified too
If you have text edits like this one:
that allows you to search in all files in a folder tree, search getAge( in all PHP files, but be careful when editing them that can ruin the entire web.
Make a copy of all the PHP you edit just in case it does not work
Are you using this plugin?yes - that is where the age is showing up...
This plugin Profile Cover https://developers.oxwall.com/store/item/483 also shows it, I do not know if you use itit would have to be modified too
I already have these modifications done.
You can try it at http: /somoscd.es/testsite
free user: TestUser pwd: TestUser
paid user: TestUserPremium pwd: TestUser
You will need the two accounts to see how it works
You can enter both accounts at the same time using two browsers, for example Chrome and Explorer. If you use the same browser you can only enter one account at a time.
One thing to keep in mind is that Cron in this testsite I have it every 20 minutes, and the Privacy plugin updates the permissions with Cron.
So you do not have to wait, you can trigger the cron manually by clicking on this link. somoscd.es/testsite/ow_cron/run.php
(does not show anything on the screen)
I have left the Admin account with the hidden age "Only Me" too.
What I wanted is that EVERY user could show this information or not according to "preferences".
I did it in a couple of hours but I should have lost interest ...
I was providing some passwords that were not valid, I was slow in answering the messages and in the end I closed the FTP half transfer files.
It made me lose a full day and at the end of this work nobody takes advantage.