Important: This page is using cookies (cookies). Using this website without turning off cookies in browser, means that you agree for using it.
Buy Now! Features Downloads

Earn with us!

If you would like to start earning money with vBET join to Affiliate Program.
Results 1 to 2 of 2

Thread: Cosmetic error on bbcode list

  1. #1
    Senior Member
    Join Date
    Nov 2009
    Posts
    168

    Default Cosmetic error on bbcode list

    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:

    PHP Code:
    function vbet_misc_bbcode_complete(&$template$bbcode_parser) {
    require_once(
    DIR'/includes/vbenterprisetranslator_functions_bbcode.php');
    global 
    $vbphrase
    Replace:

    PHP Code:
    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

  2. #2
    MichaƂ Podbielski (vBET Staff) vBET's Avatar
    Join Date
    Oct 2009
    Posts
    3,037

    Default

    Great thanks - corrected and will be included in next release

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •