ensignlee / ssbook

ssbook
5 stars 3 forks source link

Create graph image sharing #144

Open ensignlee opened 13 years ago

ensignlee commented 13 years ago

Now that we have users, we need to encourage them to share their pages so that way we can get even more users!

Can we create something similar to what we had in SS1 with the sharing of the graphs, autogeneration of links to their pages, etc?

camerondavison commented 13 years ago

This is a tough one. Right now the graphs are no cached and they are javascript based. If you really think that we need graphs in order to spread the word we will need to put some work into that.

The graphs will need to be built, and then cached and built as an image rather than javascript. It is not going to happen soon.

ensignlee commented 13 years ago

Ah okay. Let's remove it from the milestone at the moment then.

camerondavison commented 12 years ago

http://pchart.sourceforge.net/index.php

looks like a good graph library.

camerondavison commented 12 years ago

jpgraph seems to be the best still. as much as I did not like it earlier. http://jpgraph.net/ it says that "If you plan on using JpGraph in a commercial context" then we have to buy the http://jpgraph.net/features/comparison.php professional version which is like 100 dollars. But considering we have not made any money yet, I do not think that it applies yet. I am not really sure if they really have much ground to stand on though.

camerondavison commented 12 years ago

For this we want to add the information to the http://www.sharpbettracker.com/bets/view

When you click on the "Click to get link to share page" link. Instead of replacing the text with the go.sharpbettracker.com link you should pop up a model dialog just like when you click the edit button to edit games. This modal box should have an "Close" button that will close the box. Other than that inside a text box similar to the way that google maps displays links for people to share should be the go.sharpbettracker.com link just like we have now.

Also on this page should be a link to the graph of the person. The link should be included in an image tag like the labeled "embed image". The text with the image tag should be inside a text area. Then there should be "embed in forum" where it should have forum code that would allow them to embed the image as a signature.

I think that this should be rather simple now, that I have provided all of the caching in memcache and jpgraph. it should just be the UI changes to tell people that the graph is available.

ensignlee commented 12 years ago

K, so do you want to assign this to Chris now or do you want to keep this for yourself?

ensignlee commented 12 years ago

Assigning to Chris. Chris - please ask Cameron if you have any questions.

chrisacheson commented 12 years ago

Just a status update, I've been reading up on jQuery, and haven't logged any billable hours on this yet.