• Welcome to the all-new Kolakube support, the official place to get help for Marketers Delight, XFtoWP, CryptoWP, and other WordPress products! Please login with your account details to access private support forums.

Integrate Location Sync for Users

donniewalden

Active member
XFtoWP
Messages
32
Reaction score
5
Hey there!

Wondering if there is a way to sync or import the location data of WP users over to a Xenforo forum with this plugin. We have our users data stored in both Wordpress and Active Campaign, so pulling from either location would work.
 

Alex

MD developer
Staff member
Md
XFtoWP
Messages
6,562
Reaction score
1,851
Hi @donniewalden, if you already have the location data saved to the WP user / usermeta you can use Custom User fields to transfer that data across sites.

Here's a writeup of the basic concept of XFtoWP user fields syncing:


...and a code tutorial of adding your own custom data to the sync process. You just have to be able to access the location data over PHP, which if its already stored in the user's usermeta, can be accessed with the $wp_usermeta parameter passed into the example function:


If you are using XFtoWP 1.5, you can run the "refresh users" bulk action and it will sync the WP data to each XF user. Syncing users manually from the Edit user will also sync individual users.. Before running any bulk action, I highly advise you make a restoreable backup of the site

Let me know if this is helpful. :D
 
Comment
Top