Hello,
I have created a status system similar to Twitter or Facebook it works except it does not load the posts of the logged-in user onto the feeds,
Unless I make the user follow themselves which then takes up unnecessary database space.
I can normally solve 99% of web development issues but this one I've been stuck on for weeks,
How can I modify this so it loads the people they follow and their own feeds?
Thank you!
Fait
I have created a status system similar to Twitter or Facebook it works except it does not load the posts of the logged-in user onto the feeds,
Unless I make the user follow themselves which then takes up unnecessary database space.
Code:
$GetLoadCount = $db->fetchRow("SELECT xf_social_feeds.*, xf_user_follow.*
FROM xf_user_follow
JOIN xf_social_feeds
ON xf_user_follow.follow_user_id = xf_social_feeds.user_id_feeds
WHERE xf_user_follow.user_id = '$uid' ORDER by id DESC LIMIT $DefaultLoadLimit OFFSET 4");
I can normally solve 99% of web development issues but this one I've been stuck on for weeks,
How can I modify this so it loads the people they follow and their own feeds?
Thank you!
Fait