I'm having a problem with the link $vba_options[gallery_url] in $navbar and $gallerynav. The gallery URL always points to my main forum url even though it has been set correctly.
"iStyles Designer Gallery" in $navbar and "Home" in $gallerynav should be pointing to http://design.istyles.com
but they point to http://forum.istyles.com
$vba_options[gallery_url] is set correctly to http://design.istyles.com
The strange thing is when I do an "echo $navbar;exit;" just before the final "eval('print_output("' . fetch_template('ADV_GALLERY_BROWSEIMAGES') . '");');" in the browseimage.php script, it prints a navbar that shows the correct link.
$vboptions[gallery_navbar_replace] and $vboptions[gallery_header_replace] are all empty. Something is replacing this variable and I just can't figure out where. Maybe it's "$navreplace = construct_replacement_array($navreplacearray, $navreplace);" in galleryglobal.php but changing that didn't seem to help.
This is pretty much an unmodified vbgallery 2.1, both script and template wise. Does anyone have any suggestions?