PDA

View Full Version : Solved Cosmetic error on bbcode list



moman
15-04-10, 03: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 :)

vBET
15-04-10, 03:29
Great thanks - corrected and will be included in next release :)

AfrikaansAlbanianArabicBelarusianBulgarianCatalanChineseCroatianCzechDanishDutchEnglishEstonianFilipinoFinnishFrenchGalicianGermanGreekHaitian CreoleHebrewHindiHungarianIcelandicIndonesianIrishItalianJapaneseKoreanLatvianLithuanianMacedonianMalayMalteseNorwegianPersianPolishPortugueseRomanianRussianSerbianSlovakSlovenianSpanishSwahiliSwedishTaiwaneseThaiTurkishUkrainianVietnameseWelshYiddish
Translations by vB Enterprise Translator 4.9.2beta