Topic-icon Import facebook user profile

Active Subscriptions:

None
8 years 7 months ago - 8 years 7 months ago #54628 by Jabber
I bought JFBconnect some month ago and today i have to start to import FB data using my custom user profile plg INSTEAD OF joomla default "User Profile".

In "Profiles" -> "Social Network Profile Import Configuration" i can see that can be used only default Joolmla User Profile plg.

What have i to do to use my User profile plg ?

Thank you,
J
Last edit: 8 years 7 months ago by Jabber.
The topic has been locked.
Support Specialist
8 years 7 months ago #54635 by alzander
Is your custom user profile plugin simply a variation of the default Joomla User plugin? If so, I'd recommend copying the files from the /socialprofiles/joomla directory to /socialprofiles/myprofile (or whatever your plugin is called) and update the name/data in the XML file. Then, update the .php file by changing the class name and updating the getProfileFields section by:
* Changing the isEnabled line to look for your plugin
* Change the $form variable to load your XML file

That should be all that's necessary, but obviously test and let us know if you run into any issues.

Thanks,
Alex
The topic has been locked.
Active Subscriptions:

None
8 years 7 months ago #54644 by Jabber
Replied by Jabber on topic Import facebook user profile
Thank you.

What do you mean with "simply variation" ? Yes, i think it's a simple variation.
I started to create my personal user profile plg from joomla standard user profile plg,
the structure is the same but i have added some custom & advanced form field.

I'll try next days, now (and for other3/4 days) i've suspended these modifications
because i'm working on other projects.

Yes, however i'll come back after testing.
The topic has been locked.
Support Specialist
8 years 7 months ago #54646 by alzander
If you're using the same plugin structure as the Joomla User plugin and just loading a different XML file, what I suggested above should work.

For more information on how to create or customize your own Profile plugin, see Joomla's Profile Plugin documentation . If you've made larger changes to the profile plugin code, you may need to update our plugin more, but the main things to do are listed above: Look for the correct plugin and load the correct XML file for the fields to display.

I hope that helps,
Alex
The topic has been locked.