moman
15-04-10, 02:14
On misc.php?do=bbcode:
cellspacing and cellpadding are empty ("") because $stylevar is not defined while evaluating the template- thus the tables with vBET BBCodes look ugly.
To fix:
Find in vbenterprisetranslator_functions_hooks.php:
function vbet_misc_bbcode_complete(&$template, $bbcode_parser) {
require_once(DIR. '/includes/vbenterprisetranslator_functions_bbcode.php');
global $vbphrase;
Replace:
function vbet_misc_bbcode_complete(&$template, $bbcode_parser) {
require_once(DIR. '/includes/vbenterprisetranslator_functions_bbcode.php');
global $vbphrase;
global $stylevar;
Now everything renders properly! Error reproduced on vbet.com :)
cellspacing and cellpadding are empty ("") because $stylevar is not defined while evaluating the template- thus the tables with vBET BBCodes look ugly.
To fix:
Find in vbenterprisetranslator_functions_hooks.php:
function vbet_misc_bbcode_complete(&$template, $bbcode_parser) {
require_once(DIR. '/includes/vbenterprisetranslator_functions_bbcode.php');
global $vbphrase;
Replace:
function vbet_misc_bbcode_complete(&$template, $bbcode_parser) {
require_once(DIR. '/includes/vbenterprisetranslator_functions_bbcode.php');
global $vbphrase;
global $stylevar;
Now everything renders properly! Error reproduced on vbet.com :)