I'm implementing a forum system. The application will have a following system and every user will be able to see activity from their friends. So, when a friend of mine posts something in a forum I should see an item in my feed saying "Your friend replied to forum...".
Every thing is fine 'til here but I want to achieve something like this:
My feed should also have a link to that forum which will take me to the page where my friend's reply is. This page will not be always the last.
So, my question is, if I know the $reply->id
of my friend's reply and I'm paginating all the replies of the forum, how can I know in which page is my friend's reply?? Is this easy or I'm asking too much??