With new database tables, status forms, and models in place for the new status types of Dino Space, we need to extend our profiles to save these new statuses, and also to include the information from these additional tables in the profile's statuses. We already have provisions for including different templates depending on the type of the status (as per Chapter 6), so we just need to alter our status stream query.
In our profile statuses controller (
controllers/profile/profilestatusescontroller.php) in the
addStatus method, in the two instances where we construct the status object, we instead need to check which type of status is being posted, and if it is a different status type, we must also ...