I've been playing guitar for almost two years, and I've definitely gotten into my own style, through lots of time spent coming up with riffs and finding chords and what have you. The only problem with my playing seems to be playing along with other musicians. I am getting a band together in the next year, and I figure this to be more than enough time for me to become capable of playing with others.

I would like some tips and advice on how to go about learning. I know, it's good to play alongside songs from other artists but all I seem to be able to do is solo, when I'd like to throw in intervals and chords too. And are there any other methods, for doing things like improving your ear, playing along, finding key, etc?