Quote:
Originally Posted by aceofspades
When i said vb gallery i was referring to the vb intergrated photopost. It rewrites the urls, for example it changes the directory /gallery to /forums and so none of the images are their and none of the links work.
|
I'm pretty certain I've figured out why I haven't experienced problems with vBGallery (and other addons) while using Zoints SEO - I have vBa CMPS wrapped around everything and forums in root dir = not standard.
So I worked out a possible fix.
If anyone wants to try this (without guarantee!) to get Zoints SEO working on sites with photopost's vBGallery (may also solve the incompatibility with vBadvanced Links Directory) I'm fairly/quite confident it may work. (I apologise for the vagueness but I don't have good test installs at present
)
in the "Zoints SEO" plugin at
parse_templates (on line #1),
originally (Zoints SEO v 2.2.2) it should be
PHP Code:
if ($vbulletin->options['zointsseo_on'] AND $vbulletin->options['zointsseo_rewrite_urls'] AND VB_AREA == 'Forum' AND !defined('VBA_PORTAL'))
change VBA_PORTAL to VBA_SCRIPT,
ie REPLACE line#1 with
PHP Code:
if ($vbulletin->options['zointsseo_on'] AND $vbulletin->options['zointsseo_rewrite_urls'] AND VB_AREA == 'Forum' AND !defined('VBA_SCRIPT'))
this should prevent the <base href=""> tag being added to the header which I think was the problem.
Again, apologies for the lack of testing of this before offering it as a possible solution.