cordiace_dev
Forum Replies Created
-
Forum: Plugins
In reply to: [WP Job Manager] Company Logo Pre-Fill is not working.Okay, this filter actually prints the value to the DOM. But the value is getting truncated. I’m using
get_avatar_url(get_current_user_id())
which gives the full path pointing to the image, but i’m getting only the last part of this path, which is the name of the image. Also, the img tag is missing. What i’m getting now is the img_name enclosed within a code tag. like in the previous filter, var-dumping is giving the absolute url.This is the output for an account which already posted a job with a logo,
<span class="job-manager-uploaded-file-preview"><img src="full/path/to/the/logo"> <a class="job-manager-remove-uploaded-file" href="#">[remove]</a></span>
This is the output for an account applying for it’s first application,
<span class="job-manager-uploaded-file-name">profile_photo-190x190.jpg?1571028458 <a href="#">[remove]</a></span>
var dumped data : https://ibb.co/VxzNMjr
- This reply was modified 5 years, 4 months ago by cordiace_dev.
- This reply was modified 5 years, 4 months ago by cordiace_dev.
Forum: Plugins
In reply to: [WP Job Manager] Hidden Job CategoriesYeah, that’s what i’m going to do as i don’t wanna keep those items there for so long. It’s a strange issue. Let’s see if adding any new categories will become hidden. Then, it’s going to be a problem though. Currently all those items are unnecessary for our site.
Forum: Plugins
In reply to: [WP Job Manager] Company Logo Pre-Fill is not working.Okay, looking forward to it.
Forum: Plugins
In reply to: [WP Job Manager] Hidden Job CategoriesTried disabling those ones. But nothing changes.
For the post categories, yes i’ve tried adding around 40 test categories and those ones are paginated over 3 pages. See: https://ibb.co/zhYHYv6
Also, have i said that, just searching for those hidden items on the search area shows it up and updating it, actually without making any changes, just click the update button, is making it visible in the main list with all other items.
- This reply was modified 5 years, 5 months ago by cordiace_dev.
Forum: Plugins
In reply to: [WP Job Manager] Company Logo Pre-Fill is not working.Same thing happens. this is the code i’ve tried,
add_filter('submit_job_form_fields', 'custom_prefill_company_logo'); function custom_prefill_company_logo( $fields ) { $fields['company']['company_logo']['value'] = 'https://lusciouslawn.com/wp-content/uploads/job-manager-uploads/company_logo/2019/09/male-profile-avatar-with-brown-hair-vector-12055105.jpg'; echo "<pre>", print_r($fields) , "</pre>"; return $fields; }
This is what i’m getting when vardump-ing – https://ibb.co/QQFDMhP
The image is filled when trying without an account.
But with an account it stays the same.Forum: Plugins
In reply to: [WP Job Manager] Hidden Job CategoriesNo, I’ve disabled all plug-ins other than the Job Manager one’s and the issue still exists. These are the one’s that remains active
1. WP Job Manager
2. WP Job Manager – Alerts
3. WP Job Manager – Application Deadline
4. WP Job Manager – Applications
5. WP Job Manager – Bookmarks
6. WP Job Manager – Company Profiles
7. WP Job Manager – Embeddable Job Widget
8. WP Job Manager – Indeed Integration
9. WP Job Manager – Job Tags
10. WP Job Manager – Resume Manager
11. WP Job Manager – WooCommerce Paid Listings
12. WP Job Manager – ZipRecruiter Integration
13. WP Job Manager addon – Jobs Geolocation
14. WP Job Manager addon – Resume Manager GeolocationForum: Plugins
In reply to: [WP Job Manager] Company Logo Pre-Fill is not working.I’ve tried it with default theme as well. But no hope there as well. When trying to post a job without an account, the default image is shown, but not with a logged in account.
Forum: Plugins
In reply to: [WP Job Manager] Company Logo Pre-Fill is not working.Hi,
It seems like nothing is going in my way. I’ve tried creating a new account in a private window and once registered, accessed the page but still the logo field is empty. What could be the problem here ?
Forum: Plugins
In reply to: [WP Job Manager] Company Logo Pre-Fill is not working.I’ve tried it out but the issue is till there.
https://drive.google.com/file/d/1uR6YffJnxy-2ithF-OFpG0ObbT4LA_v6/viewThe code snippet i’ve used,
add_filter('submit_job_form_fields', 'custom_prefill_company_logo'); function custom_prefill_company_logo( $fields ) { $fields['company']['company_logo']['value'] = get_avatar_url(get_current_user_id()); echo "<pre>", print_r($fields) , "</pre>"; return $fields; }
Forum: Plugins
In reply to: [WP Job Manager] Company Logo Pre-Fill is not working.Ok lemme try that out. and i’ll getback.
Forum: Plugins
In reply to: [WP Job Manager] Hidden Job CategoriesHi, Plese find this screen-cast. you may understand the problem. https://drive.google.com/file/d/1KRTgOndWYJ4usa5MB4RTR14BdTO2D1NX/view
Okay, i have managed to do it through updating the user meta. Thanks
Forum: Plugins
In reply to: [WP Job Manager] Company Logo Pre-Fill is not working.Yeah, this is kind of a strange issue. I have assigned the value through the filter and can see it while vardump-ing. But when it reaches the template, the value field is empty. I’m no going through the plug-in core to find if i can get something.
Forum: Plugins
In reply to: [WP Job Manager] Company Logo Pre-Fill is not working.I have already tried that but it isn’t working though.
Here is the site, https://lusciouslawn.com/.
Yes we are using ultimate member plug-in for the registration purpose.