Switch between sound profiles iPhone?
SBProfiles will let you set up profiles for lots of settings on your phone - including sound and vibration. Here's a YouTube video:

http://www.youtube.com/watch?v=DlGjZ6UACFs

Intelliborn once had an app called MyProfiles (http://intelliborn.com/myprofiles.html) but it has been discontinued and only works on iOS 4