phpBB mobile styles update

Discussion in 'Updates' started by Arty, Dec 8, 2012.

  1. Arty

    Arty Administrator Designer

    Both phpBB mobile styles have been updated. Version 3.2 is available for download:
    Changes from previous version:
    • Fixed bug that was causing link to switch to mobile/desktop show up in header and footer at the same time.
    • Added option to disable link for desktop browsers. In includes/mobile.php change variable always_show_link to false.
    • Image resizing can be disabled. In template/mobile.js change opResizeImages to false.
    • Images inside links are now properly scaled down on page load. You can disable that by ether completely disabling image resizing (see above) or changing option opResizeImagesInLinks in includes/mobile.js to false.
    From now on version numbers of all my styles will only have 2 numbers, therefore instead of releasing version 3.1.1 or 3.2.0 version was changed to 3.2
    x-15a2 likes this.
  2. Arty

    Arty Administrator Designer

    Both styles have been updated to fix minor bug, version number wasn't changed.

    Only mobile.php was changed:

            if (isset($_COOKIE[self::$cookie_var]))
                switch ($_COOKIE[self::$cookie_var])
                    case 'mobile': // Force mobile style
                    case 'desktop': // Force desktop style
                        $value = $_COOKIE[self::$cookie_var];
                        return $value;
    and add after it