Osclass Community Market Osclass Community Market Osclass Community Market
September 19, 2020, 11:03:31 pm

News:

Osclass 3.9 released!


Bender Bootstrap

Started by adrianolmedo, June 09, 2020, 09:28:24 am

Previous topic - Next topic

adrianolmedo

June 09, 2020, 09:28:24 am Last Edit: June 09, 2020, 10:02:00 am by adrianolmedo


From Osclass Market
Download

Bootstrap 4 theme, inspired in Bender original from Osclass.

This theme uses:

- fontawesome-free (5.12.0)
- jquery-ui (1.12.1)
- jquery-validation (1.17.0)

Bender Bootstrap is based on SB Admin 2.

On the Wiki you can find how to install galleries for item.php:
https://github.com/codexilab/osclass-benderbs/wiki

- Fancybox 2.1.5
- Bootstrap Lightbox 3.5.0
- lightGallery 1.3.9
- Magnific Popup 1.1.0

rusnam


Tango

Please note that I'm not able to install this theme on latest https://github.com/mindstellar/Osclass, PHP 7.0.33.
I'm getting a blank page after hitting activate...

adrianolmedo

Quote from: Tango on August 03, 2020, 11:34:34 pmPlease note that I'm not able to install this theme on latest https://github.com/mindstellar/Osclass, PHP 7.0.33.
I'm getting a blank page after hitting activate...

@Tango check the PHP error logs and put it here to see what is failing.

Tango

This is the error:
PHP Parse error:  syntax error, unexpected '' (T_ENCAPSED_AND_WHITESPACE), expecting identifier (T_STRING) or variable (T_VARIABLE) or number (T_NUM_STRING) in C:\\Bitnami\\wampstack-7.0.33-0\\apache2\\htdocs\\osclass\\oc-content\\themes\\benderbs\\functions.php on line 235, referer: http://localhost/osclass/oc-admin/index.php?page=appearance

adrianolmedo

August 04, 2020, 02:00:12 am #5 Last Edit: August 04, 2020, 02:02:33 am by adrianolmedo
@Tango , At line 235 of the functions.php file in v1.0.3, it doesn't seem to indicate any syntax errors.

I was already preparing a new release with fixed bugs, some updates and a little additional feature.

These are the changes from version 1.1.4 (2020-08-03):

## [1.1.4] 2020-08-03

### Added

- Copy to Clipboard on the item prices.
- CSS media styles for ads (banners).

### Fixed

- Two bad indentation fixeds.
- Changed .size() to .length for jQuery 3+ compatibility with Fine Uploader.

### Changed

- Renamed custom.css to style.css.
- img/ folder renamed to images/ .
- Renamed benderbsRowClass to customRowClass
- Ordering some things in CSS and HTML (now with HTML5 semantic code for SEO).
- Replaced osc_curent_web_theme() by BENDERBS_THEME_FOLDER constant.

It is already uploaded in the market, you can download and update again. Let me know if you have any problems again, I will be grateful for the feedback.

ITCafeOnline

Not able to activate the theme. It just hits a blank screen. with all of the versions of BenderBootstrap and OSclass 3.8 and 3.9

adrianolmedo

@Tango , @ITCafeOnline an indentation problem was causing a blank page.

In version 1.1.4 find the line [278] to [293] and replaced by:

// Add breadcrumb to all pages
if (!function_exists('breadcrumb')) {
    function breadcrumb() {
        $breadcrumb = benderbs_breadcrumb('', false, get_breadcrumb_lang());
        if ($breadcrumb !== '') {
echo <<<FB
        <div class="row">
            <div class="col-md-12">
            $breadcrumb
            </div>
        </div>
FB;
        }
    }
    osc_add_hook('before-main', 'breadcrumb');
}

This issue has been solved in the new version 1.1.5 https://github.com/codexilab/osclass-benderbs/commit/1b8f121fc67ea0ca8d6b1afd15a7a342d3f37e59.

ITCafeOnline

Yes, it activates fine now. Thanks.

Tango

I can confirm, v1.1.5 works perfectly!

Now all that remains is the Sort User Public Profile Items feature. :D

Thanks!