Closed (duplicate)
Project:
Activity Stream
Version:
6.x-2.x-dev
Component:
Code
Priority:
Critical
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
6 Aug 2008 at 00:47 UTC
Updated:
6 Aug 2008 at 05:45 UTC
Jump to comment: Most recent file
Comments
Comment #1
eojthebraveIf 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.
Comment #2
akalsey commentedThis 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.
Comment #3
akalsey commentedComment #4
akalsey commentedActually, 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.