hmmm, yeah, you've got a point. Unless I wanted to do a redirect of all pages or unless mod_rewrite was installed at every redirect location. That's way too many if's.
I guess the next release is going to putt all the detection in global.php like I had originally intended. I was just going to do a:
PHP Code:
if ( stristr ( $_SERVER['HTTP_REFERER'], 'forums.barefooting.com' ) ) {
$bbuserinfo['styleid'] = 3;
}
if ( stristr ( $_SERVER['HTTP_REFERER'], 'forum.hostareus.com' ) ) {
$bbuserinfo['styleid'] = 1;
}
but that didn't seem to work effectivley. (It would not detect the style on the first load, but refresh and it would....)
So anyways, thanks for the tip...
Aaron