I heard Frakes hates that they had Riker turn down commands.
It might have been okay if they went one of two routes. First, Riker would rather be on the frontline than have a command out in the middle of nowhere, which they did once or twice. Second, having political reasons why nobody wants to give Riker a command like some stain on his resume, but Roddenberry would have never allowed that. Instead they chose the path of "I just love my friends on the Enterprise so much" which was a huge mistake.
It's true Riker didn't develop much after BoBW, but he was still quite effective in his role as XO.