The problem did go away with setting the forum url to no. Of course this caused other problems, until I patched the datastore plugin. Now I am back to the original problem of no CSS for logged out users when selecting the gallery navtab. Other then the normal CKeditor problem everything else seems to work fine. My forum and gallery setup is for my family: so there is no guest access. I am guessing this is why the problem has not been seen by many others.
Yes I know the problem is only on your gallery. The issue is in how vbulletin has relative urls in there code. The error script or standard_error templates as I beleive they are called are used for the required login and however that script is done in vbulletin has a relative url to there css.php script thats your issue. Basically requiring login before anyone can see anything uses that special vb login page which runs before any replacement or anything can be done. Maybe turn on in your vb settings the baseurl thing to yes?
We are in agreement with what the problem is: Thank you for clarifying. I had already turned the base URL back on after entering the url paths to CSS.PHP, in admincp, as you suggested. Unfortunately, no success.
Thanks so much for the response. I thought you deserved a quick reply since you took the time.
Yeah I will see if I can find anything but from what I remember I think this issue is solely a vbulletin bug. vbulletin should make sure they use there forum url in front of any links to there script names in there coding. Thats my opinion and has not changed in over 8 years of being a vb customer.
Maybe hard code your forum url on line 4492 of the class_core.php file in your vbulletin includes directory