shimu666
Forum Replies Created
-
its static.for exemple page 1 the invoice and page 2 thΓ© general terms and conditions from terme and conditions page or Γ station file from pdf or other sources available
sorry its general terms and conditions in french
Forum: Plugins
In reply to: [WP Job Manager] Job dashboard shortcode doesn't work in an other pageHello, i changed the shortcode_action_handler() and it worked.
But it’s pure hacking. ( can’t find a way to do it otherwise) πForum: Plugins
In reply to: [WP Job Manager] Job dashboard shortcode doesn't work in an other pageHello Mike,
thanks for your reply but i don’t really understand what you mean by to call it manually.Never mind i found the solution. It was my foreach that was false. π
My bad.
Thanks a Lot Super DEV. Awesome Team and Support.Hello,
thanks for your reply it’s works almost perfectly but just a little details.
Here the codedefault: $output .= '<div class="um-field' . $classes . '"' . $conditional . ' data-key="'.$key.'">'; if ( isset( $data['label'] ) ) { $output .= $this->field_label($label, $key, $data); } $res = stripslashes( $this->field_value( $key, $default, $data ) ); $output .= '<div class="um-field-area">'; if ($key == 'transportation') { $v = rtrim($v); foreach($options as $k => $v) { $output .= '<div class="um-field-area">'; $output .= '<span class="um-field-checkbox-state '.$v.'"></span>'; $output .= '</div>'; } if ( $this->is_selected($key, $v, $data) ) { $output.= 'checked'; } } else { $output .= '<div class="um-field-value">' . $res . '</div>'; $output .= '</div>'; $output .= '</div>'; } break;It output all the available option and not the only one checked by the user.
Do you have an idea why?
Thanks in advance it helped me a lot.
πForum: Plugins
In reply to: [WP Job Manager] Get element visible only by job authorThanks a lot Mike π that works. !!!!!!!
PErfect. Thanks again. U rocks.
Forum: Plugins
In reply to: [WP Job Manager] Integrating WP Job Manager with Ultimate MembersHello ImagineMonkey,
i succed doing what i wanted.To display custom function, you have to add action in your function.php file and add do action in the um-action-profil.php (core folder) of utimate member and place it after
do_action("um_after_{$mode}_fields", $args);Thanks for your help anyway.
Forum: Plugins
In reply to: [WP Job Manager] Integrating WP Job Manager with Ultimate MembersIt’s a way but i really would like to display it on about Tab and if possible at the bottom.
But Nice work again. I tried your custom code. That’s really cool what you did. π
Forum: Plugins
In reply to: [WP Job Manager] Integrating WP Job Manager with Ultimate MembersHello ImagineMonkey,
I tried your custom function and it work perfectly.Very nice work π But it placed the code at the beginning of the userprofile.
However i placed my shortcode at the fourth row ( i have 4 different row.)How can we choose the output of the job list. TO choose where to place it?
Thanks in advance.
π
Ultimate Member Super Dev !!! That’s work. Thanks a lot.
for those whos’ interested<a href="<?php $user_id = get_post_meta( $application->ID, '_candidate_user_id', true ); um_fetch_user( $user_id ); $profile_url = um_user_profile_url(); echo esc_url( $profile_url, $user_id ); ?>"><?php echo $application->post_title; ?> </a>it will create a links to the um user profile candidate with the application addon.
Thanks a lot again. U rocks.
to generate the user application id it’s
$user_id = get_post_meta( $application->ID, ‘_candidate_user_id’, true );
How to generate this url : mysite.com/user/
like that i can add $user_id to get :
mysite.com/user/$user_id
?
thanks for you help. I feel i’m close. πNo π he just told me “This is stored in the application post meta as _candidate_user_id”. I’m a little lost.
I really don’t know how to retrieve to id of user who reply to the job.
and it would be very usefull to see the candidate ultimate member profile when click on a links. πThanks
Thanks for your quick reply. It works but not as i wanted. (but it’s good to know how to fetch a specific user :).
The problem is that i have to use a userId with um_fetch_user( $user_id ); but i want to display the user that reply to the job not a specific user or current user. I mean the candidate id.
And i don’t know how to do that.
The author plugin of application addon told me that i have to use _candidate_user_id but i can’t figure it out.Here the code where the user id is used:
function user_has_applied_for_job( $user_id, $job_id ) { if ( ! $user_id ) { return false; } return sizeof( get_posts( array( 'post_type' => 'job_application', 'post_status' => array_merge( array_keys( get_job_application_statuses() ), array( 'publish' ) ), 'posts_per_page' => 1, 'fields' => 'ids', 'post_parent' => $job_id, 'meta_query' => array( array( 'key' => '_candidate_user_id', 'value' => absint( $user_id ) ) ) ) ) ); } }