Compounds of the following general structure for use in compositions and methods for modulating the activity of nuclear receptors are provided: The compounds are useable in compositions and methods for modulating the estrogen related receptors and are agonists, partial agonists, antagonists. or inverse agonists of ERR or ERRα.