NooTheme Premium WordPress Theme › Forums › JobMonster › Hide resume title, avator, author information from public view
- This topic has 7 replies, 2 voices, and was last updated 2 years, 1 month ago by palmtree.
-
AuthorPosts
-
2 years, 1 month ago #1219333
Hi Codemaster,
I have following permission set
View and Search Resume Listing>>> Employers
View Detail Resume >>> Employers
View Candidate Contact >>> EmployersAs you can see, we don't want anyone but employers to see resume/candidate information.
For employers to see job seekers (candidate)'s resume, in this case, they have to login as an employer to view.
It is also notified on the page "please log in as a employer to see the content".However, my question is as the title says, we need to hide all the information including resume title, avatar and author (name of candidate) as well. In other words, they are still personal information that needs to be treated as privacy sensitive information and hidden from any public search/internet.
We need a job search system (For public), logged-in candidates to apply and a secure & private candidate management system (For only logged-in employers to see). Candidate resume details are hidden yes but how can we hide that information (resume title, avatar and name of candidate) disclosed in public view?
Maybe CSS display none option could do but it is not really a right thing. Search robots will still pickup all the information. Hense it is not private.
This is an extremely crucial issue for us at this stage. This has to be resolved somehow....
Please help me.
2 years, 1 month ago #1219335I could solve this by overwriting "heading.php" inside layout folder created in the child theme.
Now unless logged in, title, avatar and name are hidden.
However I am not sure if these sections of the single resume can be seen by anyone who logged in.
Employers or recruiters yes, should see all the information once they are logged in, but not other candidates.
I will have to create another candidate user to see....
2 years, 1 month ago #1219336Hi There,
After creating another candidate user, as I thought this candidate can see other candidate's resume's information (only title, avatar and name though).
I use "is_user_logged_in()"... then of course all logged-in user can see.
What I want to do here is to further limit their capability.All employers can see all once they logged in. That is no problem but candidates shouldn't be able to unless that is his/her own resume.
It would be amazing if you could tell me the piece of code included here.
Thank you.
2 years, 1 month ago #1219340Hi.
To hide the candidate name and avatar on the resume details, you can't use the CSS to hide that info, you need to edit the source code in this file:
wp-content/themes/noo-jobmonster/layouts/heading.php line 230 to 690. This is the code to display the resume on the heading.
Please use the function to check the employer login: Noo_Member::is_employer(), that function will return to true or false to check the employer login.
Thanks.
2 years, 1 month ago #1219343Thaks Jackie,
230 to 690 of the heading.php was the one I modified using the child theme. And it works.
So now unless logged in, the resume title, avatar and name of the person of the single resume page don't display which is really good.However what I want to do is limit a logged-in candidate capability NOT to see other candidate's information, although they can not see the what's inside "resume-desc" div. I want to hide resume title, avatar and info too.
2 years, 1 month ago #1219349If I use "is_employer()" then only the employer can see. It means even the candidate who created that resume cannot see it. I want the candidate who is a creator of the resume to see but not other candidates.
This function is part of the theme functionality but just for the resume description section. Anything above that section that shows resume title, avatar and info is always published.
2 years, 1 month ago #1219356Hi.
You can use this function to check the resume access permission: jm_can_view_single_resume( $post->ID )
The candidate who is the creator of the resume still can see it.
Please recheck it.
Thanks.
2 years, 1 month ago #1219357Jackie, you are a legend!!
Thank you so much it works in the way I wanted!!
-
AuthorPosts
You must be logged in and have valid license to reply to this topic.