hjbarraza
Forum Replies Created
-
Forum: Plugins
In reply to: [WP Job Manager] WP Job Manager listing jobs with WP all importSo… I went ahead and try to solve it anyway… and miraculously managed to do so.
There are probable several smarter ways to do it, but this is how I did it.:- Create a new page template (in my case, I called in “mass update”) and include the snippet at the end of this reply
- Publish a new page (so it can be called on cron
- Visit the page/ or program a cronjob
Code:
<?php /** * Template Name: Mass Updater * * @package Nope */ get_header(); ?> <h1>Updating...</h1> <?php $args = array( 'posts_per_page' => 20, 'offset'=> 1, 'post_type' => 'job_listing' ); $jobs = get_posts( $args ); // loop through every part foreach ( $jobs as $job ) { // get part number $address = get_post_meta($job->ID, '_job_location', true); $address_data = WP_Job_Manager_Geocode::get_location_data($address); WP_Job_Manager_Geocode::save_location_data( $job->ID, $address_data ); echo $job->ID . " " . $address . "<br/>"; } ?> <?php get_footer(); ?>
Please note that I’m running it on local server, I haven’t tried it with my full database.
The change every single post/listing change “‘posts_per_page’ => 20” to “‘posts_per_page’ => -1” or you can combine the query with “offset => 20” to decrease the load on google’s api as Mike suggested.
Or you could use the “sleep($miliseconds);” function between each update.
You can find the more on how to use the offset variable here: /Class_Reference/WP_Query
Forum: Plugins
In reply to: [WP Job Manager] WP Job Manager listing jobs with WP all importThnks !
Brilliant,
I think I’ll wait for the new release.
I’m afraid I end up breaking things or being nudged by google.
??Forum: Plugins
In reply to: [WP Job Manager] WP Job Manager listing jobs with WP all importhttps://wpjobmanager.com/document/tutorial-importing-job-listings-wp-import-pro/
I followed that tutorial, without success.
But now I read that the version of the plugin that triggers geolocation after import, hasn’t been released.I thought it did that already.
thnks
—Or do you guys know of any alternative to fix geolocation on 3000 listings ?
Forum: Plugins
In reply to: [WP Job Manager] WP Job Manager listing jobs with WP all importYou may be missing _featured and _filled – set these meta values both to 0 during your import.
Not doing the trick for me…
Using Listify theme + wp job manager + wp all import
Any ideas?Forum: Plugins
In reply to: [Sync Facebook Events] Plugin no sync with facebook [Solved]Thanks !
Someone give this men some beers!
??Forum: Plugins
In reply to: [WP Job Manager] Updating without loosing custom translation filesThanks !
Forum: Plugins
In reply to: [wpMandrill] New User Registration emails ignored by Mandrill? Is it possible for you to share the plugin ?
I managed to get things working, but I lost the welcome email.
??I think that what you are looking for is in “Admin area access” is the fourth option in the main tab.
General Options -> Admin area access -> (choose your option)
Forum: Plugins
In reply to: [wpMandrill] New User Registration emails ignored by MandrillI was using SB Welcome Email.
As soon as I disabled it, it worked.
(stripped from html format)I modified wp-login.php line 358 to 363 and it worked great.
I’m just afraid that it will get overwritten next time wordpress self-updates itself.$message = __('Someone requested that the password be reset for the following account:') ."<br/>" ."\r\n\r\n"; $message .= network_home_url( '' ) . "\r\n\r\n"; $message .= sprintf(__('Username: %s'), $user_login) . "<br/>" ."\r\n\r\n"; $message .= __('If this was a mistake, just ignore this email and nothing will happen.') . "<br/><br/>" ."\r\n\r\n"; $message .= __('To reset your password, visit the following address:') . "<br/>" ."\r\n\r\n"; $message .= '<a href="' . network_site_url("wp-login.php?action=rp&key=$key&login=" . rawurlencode($user_login), 'login') .'">' . network_site_url("wp-login.php?action=rp&key=$key&login=" . rawurlencode($user_login), 'login') .'</a>'. "\r\n";
Forum: Plugins
In reply to: [wpMandrill] New User Registration emails ignored by Mandrill+1
Can’t launch without fixing thisForum: Plugins
In reply to: [WP Job Manager] Saving geolocation data with external pluginIt worked perfectly !
Thanks+25 pts for Mike
Gabriel
You have an excellent community support!It’s on my local machine.
This weekend I’ll upload the site and share.Thanks for showing up and being so passionate.
If it helps…
I changed the transfer limit from no limit to 10000 per week.
That seemed to solve the problem for now.I still got that issue.
Frontend transfers give the same error.
Backend works fine.ps.
I’m just trying this after struggling with cubepoints, and I must say.
I’m Freaking Impressed with your plugin!
Great work !