function should be user_relationships_types_load() ... tested with user_relationships:DRUPAL-5--2-4-2
| Comment | File | Size | Author |
|---|---|---|---|
| #7 | user_relationshipsactivity.module.patch | 5.74 KB | sprsquish |
| #6 | user_relationshipsactivity.module.patch | 574 bytes | jaydub |
function should be user_relationships_types_load() ... tested with user_relationships:DRUPAL-5--2-4-2
| Comment | File | Size | Author |
|---|---|---|---|
| #7 | user_relationshipsactivity.module.patch | 5.74 KB | sprsquish |
| #6 | user_relationshipsactivity.module.patch | 574 bytes | jaydub |
Comments
Comment #1
sirkitree commentedComment #2
Lausch commented+1 for this bug
Comment #3
robomalo commented+1
Comment #4
Anonymous (not verified) commented+1, any progress on this bug?
txcrew
Comment #5
Anonymous (not verified) commentedI just looked into this bug for myself and I attempted at making a patch but was too overwhelmed. But it looks like the function
user_relationships_relationship_types_loadis actually listed asuser_relationships_type_loadinuser_relationships_api.inc.So just changing the name of the function on
line 31inuser_relationshipsactivity.modulefromuser_relationships_relationship_types_loadtouser_relationships_type_load.This may in turn throw this error
warning: Invalid argument supplied for foreach() in ../sites/all/modules/activity/contrib/user_relationshipsactivity/user_relationshipsactivity.module on line 33.if you don't have any relationship types set.Comment #6
jaydub commentedpatch for latest version of user_relationships and activity
Comment #7
sprsquish commentedHey guys,
I was going through my issues list and saw a thread discussing integration with Activity. Following up on that I saw this thread. I noticed a few issues actually. I'd changed the API some in recent releases and the contributed user_relationshipsactivity module hadn't been updated to reflect those.
I do apologize for the moving target of an API, but it's stable now. So here's a patch that fixes the bug identified above and updates the user_relationships hook to work with the current API.
Comment #8
sirkitree commentedcommitted.
Comment #9
Anonymous (not verified) commentedAutomatically closed -- issue fixed for two weeks with no activity.