Here's how it goes down, chronologically:
- Initially Jacob lived in the Foot.
Horace built the Cabin.
The Purge happens and Horace bites it.
Jacob moves into the cabin. He puts ash around it to keep Smokey out.
Somebody breaks the circle of ash. Jacob leaves the piece of tapestry on the wall of the Cabin to tell people he's going to the Foot again.
Smokey inhabits the Cabin.
Ben somehow learns that Jacob lived at the cabin but no longer does.
Ben brings Locke to the Cabin.
Smokey fucks with them, freaking Ben out telling Locke to help him. Ben interprets this as Jacob talking to Locke.
Hurley sees the Cabin with Smokey (Christian) inside. The other eye Hurley sees could be Smokey as well or another guy.
Smokey somehow moves the Cabin to screw with Locke. Because Smokey is a dick.
Locke, Ben and Hurley look for the Cabin. Locke gets the blueprints from Horace's body.
While following the map's directions, Hurley finds the cabin.
Locke enters the Cabin to talk to Smokey (Christian), who is in the company of Claire.
Illana comes to the island and burns the fucking thing down. RIP Cabin.