![]() |
:D thanks, i just hope that its quality helps my case in it taking so long
bertwrld - do you have error display on for your server? there might be an error that you cant see. in either case, pm me an admin login and i will help you out. if possible, please open a support ticket on my site so i can maintain a trackable conversation with you :) |
thanx for your answer
|
Quote:
Works Fine: http://www.cricfever.com/forum/credits.php Does not Work: http://www.cricfever.com/forum/credits.php?do=banking I installed this before i installed CMPS and i had the same issues, so i dont think this issue has anything related to the CMPS as you can see from the link above. For sure its related to the mod_security thing i guess. Any ideas now ... thanks again. |
hmm, error 406, not acceptable.
check your vbcredits templates, and revert any custom ones you have saved over a default one. if the problem persists, send me an admin login and i will poke around a bit until i find the solution :) thanks for moving your question to this thread! |
Quote:
|
The reason why there is a blank portal page when using this add-on is due to the followong code at the beginning of plugins/credits_plugin.php
Code:
if (!defined('VB_AREA')) Code:
if (!defined('VB_AREA') AND !defined('THIS_SCRIPT')) |
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... |
Quote:
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. |
well lets dissect this...
if the site shows up blank when using vbcredits, vbportal must be trying to run hooks from vbulletin. if its running hooks from vbulletin, but not using global.php, then its integration must only be partial if its partial, then its potentially dangerous, and they should just switch to using global.php, and everyone is happy if i were to fix that one line, then i would be condoning and encouraging potentially dangerous partial integration with vbulletin, and by extension, vbcredits :D i think with a hack starting with vb- it should be fully integrated. vbadvanced cmps has no issues doing it right. VB_AREA isnt that its in a "vb area" but that its in a vb-powered page. actual values set to VB_AREA include "forum" and "admin control panel", so "portal" could be acceptable... but simply not using it isnt. |
Lol, that's funny but thanks anyway for your reply.
|
All times are GMT. The time now is 07:57 PM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|