I used hardcoded UID 1 just to test the functionality. This needs to be replaced with code to actually allow setting the user and making use of it.

Working on this now.

Comments

Michelle created an issue. See original summary.

  • Michelle committed de496be on 8.x-3.x
    Issue #2639378 by Michelle, Sharique: Add ability to set the user that...
michelle’s picture

Status: Active » Fixed

Ok, no more hardcoded user. If the block is placed on a node page, it will pull the user from the node. Credited Sharique for that since I got the idea from his other patch. If it's not on a node, it won't crash; it just won't display anything. Still need to work out how to pull from the URL for user pages and also make sure it works properly with Panels et al. Left TODOs for that.

Status: Fixed » Closed (fixed)

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