ensignlee / ssbook

ssbook
5 stars 3 forks source link

Create a linkable page so people can share their stats #99

Closed ensignlee closed 13 years ago

ensignlee commented 13 years ago

Create a linkable page so people can share their stats.

I figure that everything should look the same on the page, except without the ability to edit / delete things.

If possible, we should allow the person sharing their page to preset a filter for people viewing their page. For instance, when I share my bets, I'm going to want to people coming to my page to have the bets filtered down to bets with the tag "RX Recorded" at first.

If they want to play with my filters and see the other bets, they can, but I want the page to default to bets with the tag "RX Recorded" so that way it reflects my record that I've posted on the forums.

Did that make sense?

camerondavison commented 13 years ago

Can it default to that page by sending a link to them with that filter?

http://www.sharpbettracker.com/bets/view?sort=date,desc&tag=RX+Recorded

Since we are both logged in as you that works. I was thinking that I would set it to be

http://www.sharpbettracker.com/bets/view?sort=date,desc&tag=RX+Recorded&share=encodeduserid

ensignlee commented 13 years ago

I mean, ideally, the link wouldn't include the filter, since the links get kind of ridiculously long that way, but if htat's the only way to do it, well hey, that's the only way to do it.

camerondavison commented 13 years ago

to fix the long urls we should use the google short url service. this will provide short urls to users that are easier to put into forums.

http://go.sharpbettracker.com/dhiyh

camerondavison commented 13 years ago

i wanted to finish this so checked it in. you can re open this if you want to style it differently.

camerondavison commented 13 years ago

adding shortlink and public page. closed by c9883e603e35653e70ad9b360e90909a5917f063