Open jetlej opened 10 years ago
I did this for our site with a command line script like the following:
@jwenerd - Thank you!!
Awesome!
Thanks for contributing this script, @jwenerd. I've just added this to the wiki homepage: https://github.com/r-a-y/buddypress-followers/wiki
An update on this.
BuddyPress 2.0 is going to add a "Tools" page so plugins can add in various upgrade and importer scripts. Once the "Tools" page is implemented, BP Follow will add in a script to convert friends to followers.
Can any one tell me where to add this codes so my buddypress friends can be converted into follow
I updated the script to work with the current plugin implementation and put it here - https://gist.github.com/webpolk/db79a452eb2ad73a9669
@vikramshaw I just put this in the root of my WordPress install and ran it like this in the terminal:
php -f friend-convertor.php
I hope this helps someone else.
Thanks, @r-a-y for the great plugin and @jwenerd for the initial conversion script.
Thanks for the reply @webpolk, but the thing is I'm new to the wordpress so kindly tell me in details where to put this codes. Thank you.
@vikramshaw I will do my best, but I suggest some basic reading up on WordPress if you don't know what the root directory is.
When you are looking at your site, the root folder that contains your WordPress install will have your wp-config.php file and folders like, wp-content, wp-includes and wp-admin.
Add the script that I revised to this folder. Edit the values to match your setup.
Run your current php in the console: php -f friend-convertor.php
.
That's it, really.
Good luck!
If someone has a site that has been using 'Friends' forever and now wants to switch all functionality to following, it would be awesome to have some kind of db migration script!
Not an issue, but would be amazing :)