NooTheme Premium WordPress Theme › Forums › JobMonster › Job Applications
Tagged: Employer & Candidate Actions
- This topic has 84 replies, 2 voices, and was last updated 4 years ago by dangdv.
-
AuthorPosts
-
4 years, 3 months ago #1206987
Dear Dangdv
I have already implemented the if statement and it's working, however, is it possible to change this ($to = noo_get_post_meta($application_id, '_candidate_email');) to get the employer email or if you can't get the current user email who clicked that button?
4 years, 3 months ago #1207005Dear, i don't understand code or function you using, please kindly give for me more details. i will check to help you.
Best regards.
4 years, 3 months ago #1207015This reply has been marked as private.4 years, 3 months ago #1207087Dear, in code, i see you have $job_id, So, you can get employer of job by job id, please see code
$employer_email = null; if($job = get_post($job_id)){ $employer_id = $job->post_author; $employer = get_user_by( 'id', $employer_id ); //Use notification email $employer_email = get_post_meta($post->ID,'_application_email',true); if(empty($employer_email)){ $employer_email = $employer->user_email; } } if(!empty($employer_email)){ //do action when have employer email }
In code, the '_application_email' is email address employer use when have application for job (see attachment)
Best regards.
Attachments:
You must be logged in to view attached files.4 years, 3 months ago #1207177This reply has been marked as private.4 years, 3 months ago #1207178This reply has been marked as private.4 years, 2 months ago #1207198This reply has been marked as private.4 years, 2 months ago #1207201This reply has been marked as private.4 years, 2 months ago #1207206This reply has been marked as private.4 years, 2 months ago #1207208This reply has been marked as private.4 years, 2 months ago #1207209This reply has been marked as private.4 years, 2 months ago #1207651Dear Dangdv
is it possible to get the candidate email or name I don't want the application name and email I want the candidate who applied these applications?
4 years, 2 months ago #1207668Please kindly give for me more details your question, what is email type in your questions ? If that is 'Employer job application notification email' you can use variable 'candidate_name' or 'candidate_email' in email template. See attachment
Attachments:
You must be logged in to view attached files.4 years, 2 months ago #1207672Ok , so what I want is when a user a login user submit an application with different email the “candidate_email” Will be that email he gave on the application and what I want is the email of the user that submitted the application
4 years, 2 months ago #1207685Dear, when Candidate is login to apply job, default Jobmonster will add email address in apply job form popup, but if candidate when use other email to apply, the candidate still change it. Please check again.
Best regards.
4 years, 2 months ago #1207702This reply has been marked as private.4 years, 2 months ago #1207721Dear.
1. Sorry, I don't understand logic of your work, i only provided some code to get user email and check is candidate in Jobmonster theme, hope can help you (see attachment)
//Check user is logged in if(is_user_logged_in()){ $current_user = wp_get_current_user(); //get user email $current_email = $current_user->user_email; //check is Candidate if(Noo_Member::is_candidate($current_user->ID)){ //do some thing } }
2. I think on your site have many candidate, if you want send for me for some Candidate, i think you need add hard code for email address.
Best regards.
Attachments:
You must be logged in to view attached files.4 years, 2 months ago #1207794This reply has been marked as private.4 years, 2 months ago #1207802Dear, the logic load Application if current Employer in Jobmonster
1. Please go fo file 'layouts/dashboard/manage-application-ajax.php' you will see it load Job ids list by current user with function 'jm_application_job_list' in file 'framework/job/job-query.php'
2. Use ajax load Application by job ids list by function 'noo_member_dashboard_ajax_application_datatable' in file 'framework/member/dashboard-action.php' (see attachment)
Best regards.
Attachments:
You must be logged in to view attached files.4 years, 2 months ago #1207808ok can I use this logic to get the email of the user name or anything to identify him?
4 years, 2 months ago #1207818Really. I don't understand what you want ? I this reply, i have give code to get email of current user login and check current user is Candidate. Please kindly give for me what you want ?
4 years, 1 month ago #1208910This reply has been marked as private.4 years, 1 month ago #1208939Dear, PLease kindly send for me admin account and your problem URL, i will check details problem on your site to help you.
Best regards.
4 years, 1 month ago #1208945This reply has been marked as private.4 years, 1 month ago #1208948This reply has been marked as private. -
AuthorPosts
You must be logged in and have valid license to reply to this topic.