Support

  1. John_Neal
  2. Support
  3. Friday, October 09 2015, 06:52 AM
I have a couple things that I feel are important in situations where I would integrate your product into older sites that are migrated. For example: I have migrated my website over to use only updated extensions and have dumbed a few things down for user-friendliness. And I have over 300 users on my site currently which can throw things for a loop.

I want to know if I can add the social ID's section on easy profile front end edit page. This is something that I will need for current users who want to take advantage of this but do not use the same email address for the forum as they did their social sites. (Such as myself even.) I know I can update the id's in the back end but I am only one person.

Also, I saw another post where Kunena integration was more intuitive than before. What I mean is, I hear that I could edit Kunena from a tab within the easy profile edit page??? This would be amazing!

I also use Hikashop which has really made life hard but I think i have integrated it the best way i know how. I think the only question i have is, what is the best way to set this up together??? If a user is created during registration of HikaShop are they automatically registered with joomla, easy profile, and kunena??? This should be the case but I feel you have a bit more knowledge than I do.

Last question here is I want to take a more generalized approach at using your map. i want to log the IP address of every user on my site with easy profile and translate that into a geolocation and have that data displayed from your map instead. So every user who registers and logs in will automatically update the IP address into their profile which is only seen on backend and then I can maybe have a cron job to get the geolocation and throw it back into an address column or even city.

Please give these some serious thought and get back to me at your earliest convenience.
admin Accepted Answer
Admin
Hi,
I want to know if I can add the social ID's section on easy profile front end edit page
Sorry, butI did not understand, can you explain what you mean by "social ID's"?

Also, I saw another post where Kunena integration was more intuitive than before. What I mean is, I hear that I could edit Kunena from a tab within the easy profile edit page??? This would be amazing!
Are available some integrations with Kunena and Easy Profile:

Kunena Plugin to get Easy Profile avatar and profile link in kunena
With this plugin you can use Easy Profile avatar and profile link in all parts of Kunena, you can download this plugin from https://github.com/ruud68/plg_kunena_easyprofile. This plugin was developed by our customer.

Kunena Tabs in profile page (Posts, favorites, subscriptions)
We have developed some plugin to add Kunena tabs in Easy Profile profile page, these plugin are not yet stable, you can find these and try at this post: https://www.easy-profile.com/support/kunena-easyprofle-plugin.html#reply-8245

I also use Hikashop which has really made life hard but I think i have integrated it the best way i know how. I think the only question i have is, what is the best way to set this up together???
We not have any integration with Hikashop, I think the best way is to disable hikashop registration form from checkout page (you can disable this from hikashop configuration) and adds a simple button to go into normal registration page.

If a user is created during registration of HikaShop are they automatically registered with joomla, easy profile, and kunena??? This should be the case but I feel you have a bit more knowledge than I do.
Easy Profile extends Joomla user profile, so registration/edit profile pages are the same of Joomla (tabs are generated by javascript and custom fields added by our User Plugin). All registration method register a Joomla user.

Last question here is I want to take a more generalized approach at using your map. i want to log the IP address of every user on my site with easy profile and translate that into a geolocation and have that data displayed from your map instead. So every user who registers and logs in will automatically update the IP address into their profile which is only seen on backend and then I can maybe have a cron job to get the geolocation and throw it back into an address column or even city.
Sorry this is not a feature, but you can do something like this:
Easy Profile Google Maps create 3 columns on our user table (#__jsn_users), there columns are following names:
- alias_of_field - contain address in format text
- alias_of_field_lat - contain latitude
- alias_of_field_lng - contain longitude
You need to develop a user plugin, when use login you take address IP, make a script to do geolocation with Google APIs and put information directly on our user table.
Some docs at https://docs.joomla.org/Plugin/Events/User, you can use event "onUserAfterLogin".
You can store extra information (taken from Google APIs) Still in our table, you can create many text field like City, Postal Code,etc and fill these with your user plugin

I hope this information is helpful for any doubt contact us ;)
  1. more than a month ago
  2. Support
  3. # 1
John_Neal Accepted Answer
Pro
Content Protected
  1. more than a month ago
  2. Support
  3. # 2
John_Neal Accepted Answer
Pro
Also, i am grateful for you linking me to the kunena tabs in user profile, but I want to be able to edit kunena profile with easy profile. Seeing the posts and favorites etc. is a great notion but it seams the original bugs have not been fixed yet. Such as the double header and the links leading to a 404 page.
  1. more than a month ago
  2. Support
  3. # 3
admin Accepted Answer
Admin
The first question was regarding a way to edit the social ID's from the front-end. In the back end I can edit social ID's

Hi, this is not possible, but all users can link their account with social network in front-end with Social Connect.
You can add buttons to link account in each article or HTML custom module, see docs at https://www.easy-profile.com/docs/24-social-connect.html

You can create a simple HTML module like screenshot.

Also, i am grateful for you linking me to the kunena tabs in user profile, but I want to be able to edit kunena profile with easy profile.
This is not possible with a simple way, these are 2 different components.
To do this you need to develop a simple plugin to update Kunena fields when you update Easy Profile profile, follow these steps:
- download, install and enable our skeleton plugin, you find this at the end of page https://www.easy-profile.com/docs/44-triggers.html
- open file /plugins/jsn/skeleton/skeleton.php
- remove samples functions like: triggerFieldAvatarUpdate and triggerProfileUpdate
- create your function to do this
triggerProfileUpdate($user,&$data,$changed,$isNew){ 
$db=JFactory::getDbo();
$query="UPDATE #__kunena_user_table SET some_kunenafield=".$db->quote($data['some_epfield'])." WHERE user_id=".(int) $user->id;
$db->setQuery($query);
$db->execute();
}


NOTE: this code is only for example purpose, not tested and not sopported.

Seeing the posts and favorites etc. is a great notion but it seams the original bugs have not been fixed yet. Such as the double header and the links leading to a 404 page.
Coming soon stable release ;)
Attachments (2)
  1. more than a month ago
  2. Support
  3. # 4
John_Neal Accepted Answer
Pro
I understand that I can have the users connect their social from the front end. I have integrated this already. The problem is there is no explicit option to link to an existing account or to create a new account. I think this is extremely important for ppl like me who already have users. Can you guide me to a way this can be done? I am not a strong developer but will be working on a couple plugins that will expand the profile page to be more like a "user portal" so that at the very least I can link the users to where they can edit or view certain things. I would like to have a a portal that users can view articles, kunena profile options, view itprism crowdfunding information, view/edit hikashop information, among other things. proper documentation and support for a build-your-own tab for easy profile I think is a great idea! For example: I have a site that I would like to use easy profile as a base but I want to integrate a recipe system I built with fabrik into it. So if you click on a user who created a recipe and want to see only the recipes created by that user it will take you to their profile and show only those recipes. Maybe even the ability to place a module within the tabs would be a good idea. I am not sure the difficulty of any of this but in my mind I feel that giving your customers more versatility would be very good for sales. i know that i enjoy your component and will continue to use it! i think I purchased the top package?
  1. more than a month ago
  2. Support
  3. # 5
admin Accepted Answer
Admin
The problem is there is no explicit option to link to an existing account or to create a new account.
Sorry maybe I not undestand well. You can put link to social (or login/register with social) buttons everywhere.

I would like to have a a portal that users can view articles, kunena profile options, view itprism crowdfunding information, view/edit hikashop information, among other things. proper documentation and support for a build-your-own tab for easy profile I think is a great idea!
Yes, but this is the future, we are developing some integration to see on profile page contents from others components (first step Joomla article, Kunena posts, EasyDiscuss integration). For kunena profile options: you need to develop a Joomla User Plugin or use our recommended approach (skeleton plugin), Easy Profile extends Joomla user profile then registration and edit profile pages are the same of Joomla(tabs are generated via Javascript and custom fields with own User Plugin); so you can use all Joomla users plugin.

I am not sure the difficulty of any of this but in my mind I feel that giving your customers more versatility would be very good for sales. i know that i enjoy your component and will continue to use it! i think I purchased the top package?
We will release a documentation to make some profile plugin. In this post you will find a plugin to show Joomla article on profile page (beta version), Download, install and enabled this plugin to try. From Plugin manager you can access to some options of this plugin.

You can create a plugin based on this Joomla article plugin to show for example Hikashop orders (change queries)
Attachments (1)
  1. more than a month ago
  2. Support
  3. # 6
John_Neal Accepted Answer
Pro
Content Protected
  1. more than a month ago
  2. Support
  3. # 7
admin Accepted Answer
Admin
Hi,
sorry it's a weekend for us,
you can create 4 simple text fields and use our API to write the value into DB column. Follow these steps:
Create 4 text fields:
- Facebook User ID (alias facebook_userid)
- Twitter User ID (alias twitter_userid)
- Google+ User ID (alias google_userid)
- LinkedIn User ID (alias linkedin_userid)
IMPORTANT: don't use these alias: facebook_id,twitter_id,google_id,linkedin_db

Create plugin
- Download install and enable our skeleton plugin, you can download it from https://www.easy-profile.com/docs/44-triggers.html
- Open file /plugins/jsn/skeleton/skeleton.php
- Remove samples functions like: triggerFieldAvatarUpdate,triggerProfileUpdate
- write your function like
public function triggerProfileUpdate($user,&$data,$changed,$isNew){
if( in_array( 'facebook_userid', $changed ) ) $data[ 'facebook_id' ]=$data[ 'facebook_userid' ];
if( in_array( 'twitter_userid', $changed ) ) $data[ 'twitter_id' ]=$data[ 'twitter_userid' ];
if( in_array( 'google_userid', $changed ) ) $data[ 'google_id' ]=$data[ 'google_userid' ];
if( in_array( 'linkedin_userid', $changed ) ) $data[ 'facebook_id' ]=$data[ 'linkedin_userid' ];
}

$data will be write directly on our table

NOTE: this code is for example purpose, not tested and not supported.

NOTE: Linkedin profile link will not work, because linkedin profile public url is stored as parameter and not depends from social userid
  1. more than a month ago
  2. Support
  3. # 8
John_Neal Accepted Answer
Pro
Content Protected
  1. more than a month ago
  2. Support
  3. # 9
admin Accepted Answer
Admin
Hi,
very thanks :)

post removed, here are my first thoughts:



socialEdit
1. This works partially (linkedin not works)
2. Unfortunately this plugin does not authenticate with the Social Network, so the data may not be consistent. our social connect already do link to an existing user (read "Link Existing Profile" at http://docs.easy-profile.com/index.php/article/social-connect-intro)




tab_admin
This plugin not trigger module with data of user, it may do so with the use of some Joomla Content Plugin, but would become a thing too complex for the normal user.
NoNumber Modules Anywhere
is not necessary, Joomla have a built-in plugin called "Content - Load Modules".




tab_article
Create article will become in future, we have just released yesterday this plugin. I saw your code and I can give some advice to improve it.
you check if user can create article with this code:
$session_user = JFactory::getUser();
$can_create = 0;
if ($session_user->id == $data->id) {
$user_levels = $session_user->get('_authLevels');
foreach($user_levels as $level) {
if ($level == 3) { /*echo "Auth level: ".$level; */ $can_create = 1; break;}
}
//echo "<br> Article creation: ".$can_create;
}

1. Check if user can create article
- To get access level is more consistent this function JFactory::getUser()->getAuthorisedViewLevels()
-. Level 3 is not always Special, also user can change permission for Special access level in Joomla article component
Anyway this is the right way:
$user=JFactory::getUser();
if($user->authorise('core.create', 'com_content')) {....}
this will check if user can create article based to Joomla article component permissions

2. Link to create article, you can use something like JRoute::_('index.php?option=com_content&view=form&layout=edit',true); instead /new-article




tab_invest, tab_projects
Sorry we not have any experience with this, anyway you can create a Topic dedicated to this plugin (and share it), maybe some other users can help you to improve or maybe he will found helpful.




tab_kunena
1. Double titles, this is not a bug, when user post some reply he can add a title for the reply, if title is not present then the reply inherit title from Topic, this is in according with kunena tab (see screenshot)
2. Have you some issue with topic links?




tab_orders
We plan to make this in future, hikashop is a powerful and popular commerce. unfortunately I have not had time to test your plugin. :(
Attachments (1)
  1. more than a month ago
  2. Support
  3. # 10
John_Neal Accepted Answer
Pro
Content Protected
  1. more than a month ago
  2. Support
  3. # 11
admin Accepted Answer
Admin
I do have a couple concerns, The Kunena plugins are not responsive, the article plugin works very well but none of the kunena ones are. This makes mobile display a pain, is this a known issue that has been fixed maybe?


We not apply any style, we use simply bootstrap CSS classes, responsive is defined from your template, for example see this screenshots

May not be a bug but it does not look right, maybe give the admin an option to turn on or off?
Yes this is a good idea.

But The plugin is useful you should test it and keep me posted on any plugins that are developed for JSN easy profile as I think I will be using it for some time.
Yes, orders tabs are very useful, we plan to do this for virtue mart and hikashop. In future also membership from payplan and emerald

i figured others may want to use this if they use ITPrism's Crowd Funding, but I am not sure how popular this is. I enjoy it for my site and thought others may enjoy it as well.
I thinks for non popular

The reason I did not want to use the "index.php?option=com_content&view=form&layout=edit" address is because the page header displays Article Edit and this is not what is really happening
Ok, maybe when we develop this, we will add a parameter in plugin to set Itemid, and the function become JRoute::_('index.php?option=com_content&view=form&layout=edit&Itemid=XXX',true);
With this you should have a correct redirect to your /new-article

To me this is useful as I am not trying to get user specific data into the tab only. I could use this tab also for displaying FAQ downloads or useful links as well.
Yes I know, but our concept is that what should go on the page should be inherent in the user or the activity of the user. So I think we will not develop plugin like this.

social edit plugin
Yes, this is very useful for you and maybe useful for many other users, but we can't release plugin like this for these reasons:
- no authentication with social to check real identity
- the normal user does not know how to retrieve the IDs of the Socials
- we have already a solution to link users
This plugin creates in us a lot of problems that then we should support
NOTE: linked works, you can login via linkedin, not work only public URL on profile page

This is important for people like me who started using your component and then migrated all my users over to the new site.
unfortunately I do not know the platform before using. But I think that the imports must also be made with the links with social networks. All plugins should have saved social user ID.


My reflections are meant for our future developments :)
Attachments (2)
  1. more than a month ago
  2. Support
  3. # 12
Peter_London Accepted Answer
Content Protected
  1. more than a month ago
  2. Support
  3. # 13
John_Neal Accepted Answer
Pro
Content Protected
  1. more than a month ago
  2. Support
  3. # 14
John_Neal Accepted Answer
Pro
I made comments in the code above to show you whats going on but what is most important is the "IF" statements. You can install the skeleton plugin they offer here on easy profile and just go to your plugins in Joomla! and enable it. Then you can go to /Plugins/JSN/skeleton/skeleton.php and remove everything inside the private/public function and add as many "IF" statements as you want (which will be which fields you want to display and make editable from kunena). The skeleton plugin is looking for the fields that are in the easy profiles users table so you need to go to the easy profile component and create the kunena group (if desired) and the kunena fields that will be used. The alias of the fields can only be set once so get a good name for it. As you can see I used k_field as my basic naming standard. Now when you construct your "IF" statement those aliases are going to come into play as well as the Kunena Users table and the fields within that table. It is very important that you get these things correct, otherwise it will not update your Kunena users table which is reflected on the forum. In the array search you will place the alias of the field. Then go to the query and verify the name of your kunena users table and place it there. I have the latest svn of kunena so I dont think you will have to change this. After the SET you will need to make that the corresponding field in the kunena users table. Then in the string quote you will again place your field alias. You will create as many "IF" statements as you did fields to be updated. All this plugin is doing is copying what you made changes to in the specific field and updating it to the kunena users table. I hope thats enough info to get you going but if you need further help let me know. Also I am interested in hearing any other integration ideas or any tab suggestions you may have.
  1. more than a month ago
  2. Support
  3. # 15
Peter_London Accepted Answer
Content Protected
  1. more than a month ago
  2. Support
  3. # 16
John_Neal Accepted Answer
Pro
Most of what you want can be handled in the way I have told you, but if you want to display somethingsuch as uddIM or any other module (AUP) it would be best to use my other plugin that will display a module within a tab.
  1. more than a month ago
  2. Support
  3. # 17
  • Page :
  • 1


There are no replies made for this post yet.
However, you are not allowed to reply to this post.
Sorry, the discussion is currently locked. You will not be able to post a reply at the moment.

Request Support

Support is currently Offline

Support Availability

Working days: Monday to Friday. The support staff is not available on weekends; in the most of cases tickets will not be answered during that time.

Reply time: Depending on the complexity of your support issue it's usually between a few minutes and 24 hours for paid members and about one week for free members. When we expect longer delays we will notify you.

Guidelines

Before you post: read the documentation and search the forums for an answer to your question.

When you post: include Site Details if you request a support (you can use the form below the reply in Site Details tab).

Auto Solved Question: If after a week the author of the post does not reply to a request by moderator, the question will be marked as resolved.

Language: only English

Search Users

Easy Profile® is not affiliated with or endorsed by Open Source Matters or the Joomla Project. Joomla is Free Software released under the GNU/GPL License.