View Single Post
Old December 9th, 2008, 03:52 PM   #2 (permalink)
Luciano
Moderator
Verified Customer
 
Join Date: Aug 2005
Posts: 1,231
Ok i seem to have fixed it..
I rewrote the whole forum/includes/vbgallery/error_generic.php

It includes now the old replacements and the new ones for banned user.
AND i added a conditional: if(PP_SCRIPT == 'vBGallery')

BUT to remove overhead.. this conditional should be in the plugin code and NOT in the file.. otherwise if an error is generated by vbulletin or other script.. then it still loads the file.. ok it doesnt do anything but still if we can avoit it.. why not.. (btw this can also be done with plugin style_fetch.php in plugin code)


so i would suggest for future versions to have this plugin text as following:
Code:
Content visible to verified customers only.
but for now.. to fix the banned user problem, do following:
open: forum/includes/vbgallery/error_generic.php
and replace ALL the content with:
Code:
Content visible to verified customers only.
ATTENTION I ONLY DID THE REPLACEMENTS I THOUGHT WERE NEEDED (I have most links in header and footer allready prefixed with $vboptions[bburl] in template.. so in my install i only needed clientscript and sendmail.php
so please check if there are any missing.

Luc

Last edited by Luciano; December 9th, 2008 at 04:09 PM.
Luciano is offline   Reply With Quote