Loop pagination inside a buddypress profile tab

Hi, I working on a custom loop (I use genesis theme) inside a buddypress profile tab. My problem is that the pagination not work. The page is this: http://www.redminka.com/usuarios/gabriel/publicaciones/

This is the code I use: http://pastebin.com/Ev8SHXa4

In a live chat @Jeffri says to me this:

...essentially, to make the pagination work, we have to add the rewrite rule so that the paginated page load the tab we created and then we can catch the page number on our query.

I'm learning but can't do it yet.