 | |  | |
February 1st, 2011, 07:46 PM
|
#1 (permalink)
| | Member Verified Customer
Join Date: Mar 2004
Posts: 152
| problem with what's going on box, gallery homepage
Hi, my wgo box is fine except for 1 broken image. When i copy the url of this dead image I get this:
debug:gallery_url/images/gallery_stats.png
I am not sure where the glitch is, all icons and images elsewhere display fine. What template is the wgo box for the gallery homepage? I can have a look there and hardcode it if I need to.
Thanks!
|
| |
February 1st, 2011, 10:49 PM
|
#2 (permalink)
| | Registered User
Join Date: Aug 2005
Posts: 1,229
|
Well yes, you could hardcode it, but thats not the point..
the debug code was added, to be able to trace errors.
having this error meens something is wrong.. so it would be good to find what it is.
Details of what is happening:
at the moment of fetching datastore, as it is impossible to pass on the gallery url to vbulletin.. we set a dummy gallery url = debug:gallery_url
afterwards, in several plugins where it is needed, the gallery url is replaced by the real one.
getting this error meens, that one of the plugins is NOT executed. (it would be interesting to know why?????
OR you are running a different file version than the one of your templates
Is your site still the same than the one you sent me a couple of months ago?
In that case... I do NOT have the problem with the wgo box.. the image is there when user is not registered.. BUT I am missing the forum_url when I am trying to register.
result: the css of the page is missing... So what I would do in first place:
Make sure you are running 3.01
that you have installed the latest product file
(it happened to me once, when upgrading, I forgot to overwrite the product xml file in the admincp directory. result: I had the new files but the installer installed the old product, giving me loads of errors)
So even if you are running the newest files,
overwrite ALL the files again (including all the gallery related files in the forum directories), AND reinstall the product xml you have in the admincp directory (take the one in the downloaded package) and install it through vbulletin acp->products and plugins -> manage products
ADD product
with overwrite:yes!
Luc
PS: the template btw is ADV_GALLERY
|
| |
February 1st, 2011, 11:06 PM
|
#3 (permalink)
| | Registered User
Join Date: Aug 2005
Posts: 1,229
|
Just ran some tests, the gallery_url is replaced in plugin: Navbar Integration - process_templates_complete
this is what the plugin looks like in 3.01:
make sure it is active and code is the same as this:
(if not make sure you have the newest xml file) Code: Content visible to verified customers only.
|
| |
February 1st, 2011, 11:08 PM
|
#4 (permalink)
| | Member Verified Customer
Join Date: Mar 2004
Posts: 152
|
Thanks Luc! Well this is a new site in dev, it was previously running 2.5 i think and it seemed the upgrade went through ok. I notice all the new settings and the product is listed as 3.0.1, do you think I should still re-install it? I guess i should export settings to be safe.
|
| |
February 1st, 2011, 11:08 PM
|
#5 (permalink)
| | Member Verified Customer
Join Date: Mar 2004
Posts: 152
|
just saw your new post, having a look
|
| |
February 1st, 2011, 11:45 PM
|
#6 (permalink)
| | Member Verified Customer
Join Date: Mar 2004
Posts: 152
|
ha, you helped me figure it out. I had the gallery tab plugin temporarily disabled and that was causing the glitch. I did notice one other issue, when the gallery is set to "closed" logged out users have no css, but if i am logged in it is fine. This is only when it is in a closed state. Thanks!
|
| |
February 1st, 2011, 11:46 PM
|
#7 (permalink)
| | Registered User
Join Date: Aug 2005
Posts: 1,229
| Quote:
Originally Posted by sross Thanks Luc! Well this is a new site in dev, it was previously running 2.5 i think and it seemed the upgrade went through ok. I notice all the new settings and the product is listed as 3.0.1, do you think I should still re-install it? I guess i should export settings to be safe. | You can.. but if you reinstall NOT using the installer (but just the product file), it will not overwrite any settings, as the setting table is not touched.
Luc
|
| |
February 1st, 2011, 11:50 PM
|
#8 (permalink)
| | Registered User
Join Date: Aug 2005
Posts: 1,229
| Quote:
Originally Posted by sross ha, you helped me figure it out. I had the gallery tab plugin temporarily disabled and that was causing the glitch. I did notice one other issue, when the gallery is set to "closed" logged out users have no css, but if i am logged in it is fine. This is only when it is in a closed state. Thanks! | Confirmed!
I will look into that..
and fix it in next release.
But waiting for vb 4.12 and see if we can easely adapt the future mobile style.  so it will take a couple of weeks.
Luc
|
| |
February 2nd, 2011, 12:14 AM
|
#9 (permalink)
| | Registered User
Join Date: Aug 2005
Posts: 1,229
|
Actually the fix is very easy so i will post it here..
open gallery/gallery_global.php
find: Code: Content visible to verified customers only.
in your editor, mark this block, copy and remove it (cut).
Insert it in a lower place, just above these lines (paste): Code: Content visible to verified customers only.
Luc
PS: this fixes the css issue for non admin users, AND the same css issue when user has no permission to access the page.
|
| |
February 2nd, 2011, 01:18 AM
|
#10 (permalink)
| | Member Verified Customer
Join Date: Mar 2004
Posts: 152
|
it did not seem to work for me, i have attached my edited file if you want to have a look. Thanks |
| |
February 2nd, 2011, 01:51 AM
|
#11 (permalink)
| | Registered User
Join Date: Aug 2005
Posts: 1,229
|
nope , you did the edit correctly...
hmm
strange...
try this one...
a little bit cleaned
...
Off to the office..
back in couple of hours..
Luc
|
| |
February 2nd, 2011, 02:31 AM
|
#12 (permalink)
| | Member Verified Customer
Join Date: Mar 2004
Posts: 152
|
didn't seem to help either sorry
|
| |
February 2nd, 2011, 12:24 PM
|
#13 (permalink)
| | Registered User
Join Date: Aug 2005
Posts: 1,229
|
Are we talking, switch off gallery in ACP (with the message gallery is off for the moment) ?
or are we talking switch off the product in products and plugins?
second with no css is normal.. the edit fixes first.
Edit - very strange
it works on my install, mind if i take a look at your install?
Luc
Last edited by Luciano; February 2nd, 2011 at 12:31 PM.
|
| |
February 2nd, 2011, 04:17 PM
|
#14 (permalink)
| | Member Verified Customer
Join Date: Mar 2004
Posts: 152
|
This is when gallery is turned off in ACP. It is likely a problem with my site then as I have a lot of mods, custom coding and vbSEO.
|
| |
February 2nd, 2011, 04:58 PM
|
#15 (permalink)
| | Registered User
Join Date: Aug 2005
Posts: 1,229
|
well, test if all other products are off... it works then.. turn them on one by one..
when it stops working.. thats the mod that is faulty.. it would be interesting to know which one it is..
|
| | |
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | | | | Thread Tools | | | | Display Modes | Rate This Thread | Linear Mode | |
Posting Rules
| You may not post new threads You may not post replies You may not post attachments You may not edit your posts HTML code is Off | | | All times are GMT -5. The time now is 12:10 AM. | |