My streams work fine at http://mydomain.com/stream (All users). However, nothing is displayed when I go to the user's stream link (http://mydomain.com/stream/USER). I get "there is no activity to show."

Comments

eojthebrave’s picture

If I understand you correctly I think the problem is that your going to mydomain.com/stream/USER-NAME, but should be going to mydomain.com/stream/USER-ID-NUMBER.

So for example, your username might be spiffyd, and your userid might be 13. You need to go to mydomain.com/stream/13 in order for this to work.

You can find out your user ID by going to the "My Account" page and whatever number is listed after user/ is your user ID number.

I do think that it would be a nice feature, and pretty easy to setup so that you could go to either, and get the same results.

akalsey’s picture

StatusFileSize
new2.91 KB

This is the same issue as #288026: Missing User Name in User's Activity Stream Title

To add /stream/USERNAME, you could use Pathauto or some other way of creating aliases. The attached patch adds pathauto support to Activity Stream. It should apply and work on both 5.x and 6.x. It's untested, but it's almost a complete copy and paste from the pathauto module.

akalsey’s picture

Status: Active » Closed (duplicate)
akalsey’s picture

StatusFileSize
new3.19 KB

Actually, that patch won't work. That creates a duplicate hook_user function, and tries to run pathauto functions even if pathauto isn't installed. This one should be better.