No Css in Gallery When Logged Out
vBGallery 3.01 and vB 4.1.4
Whenever a guest views the gallery, all CSS disappears.
It's fine once logged in.
You have a url? Baseurl in vbulletin on or off?
Ahhh...yes...it's only when the forums are turned off. :(
Baseurl is turned on, but I'm using the patch found elsewhere here.
(Won't let me post a link yet)
so you turn your forum off it breaks vbgallery
Yes. I can still use the gallery as an admin, but when I log out, the gallery breaks.
Once I get everything styled properly I'll open the forum again, but I've taken the Navbar out for guests right now.
I guess it's no big deal, but it would be nice to know why this happens. :)
yeah I will have to play around with that. I would suspect its because the vbulletin url to find css.php is not there.
I'm sure you've figured out that my Gallery is above my forums (cemagraphics.com/gallery -- cemagraphics.com/pages)(second one is my forums)
I don't remember what the fix was so that you didn't need to shut the baseurl off, but it's interesting that it only happens with visitors and not with Admins.
vbgallery v3.01 and vbulletin 4.14
I seem to have the same problem.
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.
Let me know how I can help.
Well the problem is coming from the forum standard_error templates and how they load the css. I do not see where this code is in the vb files to suggest a patch.
You only see this issue when using the required login on the forum or gallery before seeing anything right?
You can try making sure css.php has been added to all your replacement sections at the top of your modify settings page in vbgallery admin.
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?
I had an issue turning on the baserurl. I think it was that I couldn't upload any images. I'll have to check that again.
this will help with baseurl on gallery urls
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
|All times are GMT -5. The time now is 06:04 PM.|
Powered by vBulletin® Version 3.8.1
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.2.0