Hello, The request relationship link that used to be on the member profile pages disappeared. I have no idea why it went away or how to get it back. I have only one relationship type (friend). When I first set this up everything was working fine. Some of the users had requested relationships to each other and all was well.

Please help.

CommentFileSizeAuthor
#3 Perms screenshot22.63 KBalex.k

Comments

alex.k’s picture

Have you updated the module recently? If not, check your block setup that nothing has changed.

troym559’s picture

Hello, I have never updated the module. I am still using the original version 5.2.8 that I installed on 7/28/2008. When I noticed it was missing the first thing I did was check my blocks to see if something was wrong, but I couldn’t find any blocks either enabled or disabled that had anything to do with requesting relationships. So if there was ever one there it’s not there now. Just out of curiosity what would such a block be called? Just incase I’m missing something.

alex.k’s picture

StatusFileSize
new22.63 KB

Strange... please nevermind the comment about blocks, as you're talking about the insert into a user profile. That should appear always, as far as I can see. Could you check that users have the right permissions (see screenshot)? Also perhaps enable/disable the module and clear the cache.

troym559’s picture

Yes, all permissions are enabled for users to have relationships. Same as your screen shot. I disabled the UR module then re-enabled it again without uninstalling the data tables. Not sure if uninstalling the data tables would make a difference, but if I do I will have to start from scratch. It’s still not showing the request relationship link on user profiles. It’s very strange because like I said it was working fine and some of the members had set up relationships with each other. Then it just disappeared and now users have no way to request relationships to each other.

troym559’s picture

BTW, when you say clear the chache you mean of my machine right? Because I have done that too, and it's not just my computer thats not showing the link. Other members of the site have emailed me and asked how to make friend requests, so it's not showing up for anyone.

troym559’s picture

Any ideas?

alex.k’s picture

Not many ideas w/o seeing your setup, unfortunately. Can you enable User Relationship Blocks module, and add the "User Relationships: Actions" block? When looking at a user profile, it should display all the links. Let me know if that works. Also, try updating your module with the current 5.x-2.x dev release.

troym559’s picture

Enabling the User Actions block did put some links on the user profiles of the people who are already my friends. If i click on a user that I am already friends with it gives me a 2 links to remove them from my friends, but no link to add people who are not my friends, it also shows a MY Relationships link under the Navigation menu, showing my current and pending relationships.

I’m trying not to use any dev modules on this site as it is already in production. Do you think the current dev version is stable enough to use on my site? Here is the site if you want to take a look www.virginbeachresortcebu.com

troym559’s picture

Hi Alex.k, I really appreciate you helping me with this. Do you know if anyone else has experienced this issue or is it just me?

alex.k’s picture

Hey, no I have not heard about this problem. Some other module can be interfering if you installed any recently. Also can you post screenshots of /admin/user/relationships and config screen for each type of relationship you have (/admin/user/relationships/edit/1 and so on)

brightondesigns’s picture

I have experienced the same problem. It was there, now it's gone. Any existing relationships can be altered, however not able to visit a profile and request a new one.

brightondesigns’s picture

Ok, I figured out what was causing the problem, - I think.

I was using pathauto module and usernode module.

Here's what I did to resolve. I disabled the pathauto and usernode.

Deleted all accounts, and content that was created.

Created a new user account to test from and made certain the link to user was NOT "users/name of user" and just the plain "user2".

Now I am able to request a relationship with that user when visiting the profile page.

Hope this helps.

Greg...

troym559’s picture

hmmm, thats interesting I am also using usernode.

alex.k’s picture

Status: Active » Fixed

Thanks for troubleshooting @brightondesigns glad it works for you. Sounds like usernode drops relationship action links when it displays its node on top of user account.

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.

ktonini’s picture

Status: Closed (fixed) » Active

This is happening for me using content profile. And I wouldn't call not changing the URL alias a fix.

loconut’s picture

This is also occurring for me and I do have path/pathauto/advanced profile. The add friend links disappeared. I'm willing to give admin access to the bug fixer as my site is not yet online completely.

Update: After first deleting all aliases, then testing, then regenerating, then testing, I finally disabled and uninstalled path/pathauto, links are not back.

loconut’s picture

I have now tried to remove user relationships completely (to reinstall) and got:

The uninstall process removes all data related to a module. To uninstall a module, you must first disable it. Not all modules support this feature.

* user warning: Table 'mslimbo.drupal_mslimbo_user_relationship_types' doesn't exist query: SELECT * FROM drupal_mslimbo_user_relationship_types in /home/content/59/4991659/html/sites/mslimbo/modules/user_relationships/user_relationships_api/user_relationships_api.api.inc on line 76.
* user warning: Table 'mslimbo.drupal_mslimbo_user_relationship_type_roles' doesn't exist query: SELECT rtid, rid FROM drupal_mslimbo_user_relationship_type_roles ORDER BY rtid, rid in /home/content/59/4991659/html/sites/mslimbo/modules/user_relationships/user_relationships_api/user_relationships_api.api.inc on line 81.
* user warning: Table 'mslimbo.drupal_mslimbo_user_relationship_types' doesn't exist query: SELECT * FROM drupal_mslimbo_user_relationship_types in /home/content/59/4991659/html/sites/mslimbo/modules/user_relationships/user_relationships_api/user_relationships_api.api.inc on line 76.
* user warning: Table 'mslimbo.drupal_mslimbo_user_relationship_type_roles' doesn't exist query: SELECT rtid, rid FROM drupal_mslimbo_user_relationship_type_roles ORDER BY rtid, rid in /home/content/59/4991659/html/sites/mslimbo/modules/user_relationships/user_relationships_api/user_relationships_api.api.inc on line 81.
* The content access permissions need to be rebuilt. Please visit this page.

The selected modules have been uninstalled.

Update: after re-enabling, relationship requests still not working....

UPDATE: http://drupal.org/node/611730
this seems to be a bug with the advanced profile / author panel, not UR itself.

alex.k’s picture

The errors during uninstall can be safely ignored. I recall seeing them coming from a hook_menu call within the uninstall procedure, just before the module is uninstalled for good.

berdir’s picture

Status: Active » Closed (won't fix)

Sorry for pinging the participants.

Now that Drupal 7 is out, there is no support for Drupal 5 and the corresponding modules anymore. Therefore, I'm closing all old issues which are still open.

I suggest you upgrade to Drupal 6 or 7 and figure out if you're feature is still needed or the bug still exists and open a new issue in that case.