Social Extensions Integration

Community Builder destroying parent/child relationship

More
11 years 10 months ago #1 by Adam
I am currently testing Joomdle 0.95 with Community Builder 1.9.1 and Hikashop Starter 2.3.1 on Joomla 3.3.0.

I have everything setup correctly and I am able to add children, buy courses for the children and assign them out. The problem is that if I make any modifications to the child's profile either through the Community Builder Administrative User Management Screen or through the "My Profile" Menu item, this includes just changing the password, the relationship is severed.

I have located the problem in the database and every time I modify a user, with community builder, I have to manually re-add the relationship to the "users" table params field. i.e.{"u80_parent_id":"80"}. If I do not use community builder to do user modifications the params field retains the relationship param.

I do have Community Builder setup as an additional data source in the Joomdle Configuration -> User Profiles and I have a few CB fields mapped to Moodle.

Please Log in or Create an account to join the conversation.

More
11 years 10 months ago #2 by Antonio Durán
Replied by Antonio Durán on topic Community Builder destroying parent/child relationship
Hi Adam.

Thanks for the info. I will try to test it when I have some time available, although I don't know if there is something we can do, as it is CB removing the data when it shouldn't, in my opinion.
Have you tried posting on CB forum to try to find out why they are deleting parameters?

Please Log in or Create an account to join the conversation.

More
11 years 10 months ago #3 by Adam
Thank you Antonio, for the response. I will definitely be making a posting on the CB forums regarding this issue. I also agree with you that CB should not be removing/rewriting the parameter field. It's much better to do an append and a search and replace, where it needs to be, rather than a rewrite. It could cause unforeseen issues in other components, including Joomla core, that could possibly be utilizing that core table field for some purpose.

Please Log in or Create an account to join the conversation.