Quote:
Originally Posted by phlogiston
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.
|
Seems to work fine. But there are to much other Bugs in this Hack. It is still absolutely unusable and brings more Problems than it is worth.
Example - forum/index.php is not longer active in navbar if you use vBa at forum/cmps_index.php and if you use a DirectoryIndex to forum/cmps_index.php. It rewrits to forum/ and you still go to Portal and not to the Forum.