Quote:
Originally Posted by Darkwaltz4
uh, is vbportal including global.php from vb? if it did, vbarea gets defined.
the reason the vbarea conditional is there is so that the file cant be called outside of a vb powered page (directly)
i would recommend that vbportal be the one to change to be properly integrated with vb, and i dont anticipate adding that fix into later versions of vbcredits...
|
vbPortal doesn't include vB's global.php when viewing the portal pages hence why VB_AREA is not defined.
The code change suggestion would be the same as whats at the top of vBs init.php script. There is no need for vbPortal or add-ons to define VB_AREA if they are not in the VB_AREA, such as outside the forums.
I do not understand you not wanting to change one line of code, but this is your add-on. Thanks for your reply, I will post the one line fix at the vbPortal forum rather than users
disable your add-on.