News:

Bored?  Looking to kill some time?  Want to chat with other SMF users?  Join us in IRC chat or Discord

Main Menu

Badem Smf 2.0 bootstrap Themes

Started by gecitli, October 09, 2018, 05:17:02 PM

Previous topic - Next topic

gecitli

Link to the theme



Badem is a fully featured, Smf template built with Bootstrap 4, HTML5, CSS3 and JQuery. Badem is also available in  PHP and Ajax version. It's a minimal responsive.

FEATURES:

  • Responsive layout (desktops, tablets, mobile devices)
  • Built with Bootstrap 4.1.3
  • Font Awesome 5.3.1
  • HTML5 & CSS3

Responsive list
-----------------------
.Board Template
.Display Template
.Members List
.Profile Template
.Calendar.template
.Admin Panel





Badem Smf 2.1 RC2 bootstrap Themes





http://www.webtiryaki.com
webmaster forumu
Free & Premium Responsive Themes for SMF.

The Domain Shop


gecitli

http://www.webtiryaki.com
webmaster forumu
Free & Premium Responsive Themes for SMF.

The Domain Shop

Quote from: gecitli on November 04, 2018, 08:58:53 AM
Quote from: Jason P on November 04, 2018, 08:37:36 AM
Hi,

Do you have a live demo?

yes

DEMO

Thanks looks great!

I did notice a issue though. On mobile you cannot click the home link in the menu.

oyajoin

please how can i make the theme full width?

Shambles

Quote from: oyajoin
please how can i make the theme full width?
Can you provide a link to your copyright-visible SMF forum?

m4z

Seeing this error when using your theme in SMF2.1rc2:
QuoteType of error: Undefined
8: Undefined index: avatar
https://(redacted)/index.php?
/(redacted)/Themes/Badem_RC2/BoardIndex.template.php (Line 238)

Relevant code:

   228: /**
   229: * Outputs the board lastposts for a standard board or a redirect.
   230: * When on a mobile device, this may be hidden if no last post exists.
   231: *
   232: * @param array $board Current board information.
   233: */
   234: function template_bi_board_lastpost($board)
   235: {
   236: if (!empty($board['last_post']['id']))
   237: echo '
==>238: <p>'.$board['last_post']['member']['avatar']['image'].'', $board['last_post']['last_post_message'], '</p>';
   239: }
"Faith is what you have in things that don't exist."
--Homer Simpson

Es gibt hier im Forum ein deutsches Support-Board!

gecitli

Quote from: m4z on September 21, 2019, 05:39:49 AM
Seeing this error when using your theme in SMF2.1rc2:
QuoteType of error: Undefined
8: Undefined index: avatar
https://(redacted)/index.php?
/(redacted)/Themes/Badem_RC2/BoardIndex.template.php (Line 238)

Relevant code:

   228: /**
   229: * Outputs the board lastposts for a standard board or a redirect.
   230: * When on a mobile device, this may be hidden if no last post exists.
   231: *
   232: * @param array $board Current board information.
   233: */
   234: function template_bi_board_lastpost($board)
   235: {
   236: if (!empty($board['last_post']['id']))
   237: echo '
==>238: <p>'.$board['last_post']['member']['avatar']['image'].'', $board['last_post']['last_post_message'], '</p>';
   239: }


index.template.php

Find
// Set the following variable to true if this theme requires the optional theme strings file to be loaded.
$settings['require_theme_strings'] = false;

// Set the following variable to true if this theme wants to display the avatar of the user that posted the last and the first post on the message index and recent pages.
$settings['avatars_on_indexes'] = false;

// Set the following variable to true if this theme wants to display the avatar of the user that posted the last post on the board index.
$settings['avatars_on_boardIndex'] = false;


Replace With

// Set the following variable to true if this theme requires the optional theme strings file to be loaded.
$settings['require_theme_strings'] = true;

// Set the following variable to true if this theme wants to display the avatar of the user that posted the last and the first post on the message index and recent pages.
$settings['avatars_on_indexes'] = true;

// Set the following variable to true if this theme wants to display the avatar of the user that posted the last post on the board index.
$settings['avatars_on_boardIndex'] = true;
http://www.webtiryaki.com
webmaster forumu
Free & Premium Responsive Themes for SMF.

RockTreeSky

We love Badem!  But I'm getting a couple undefined variable errors.  Please help, is there something I can do to get these variables set?  I assume $ava is something about the avatar, but what is #memCommID55?

My forum uses SMF 2.0.15
MySQL/Percona 5.6.41-84.1
PHP 7.2.7
Theme: Badem, version 2.0.15
only one Mod: SMF Likes Plus 1.5. (Uninstalled, I get the same error.)

File: /forum/Themes/badem/Display.template.php (main sub template - eval?)
8: Undefined variable: memCommID55
Line: 192
8: Undefined variable: ava
Line: 187

lines 185-195:
Quote   echo'<div class="threadthis">
         <div class="content">
            ', $ava, '
            <div class="threadthis_details">
               <h3 class="for_title">
                  ', $context['subject'], '
               </h3>
               <div class="detailS"><i class="fas fa-user"></i>    ', (!empty($context['topic_starter_id']) && $context['topic_starter_id']!=0) ? '<a href="'.$scripturl.'?action=profile;u='.$memberContext[$memCommID55]['id'].'">'.$memberContext[$memCommID55]['name'].'</a>' : $txt['guest'], ' &middot; <i class="fas fa-comments"></i>    ', $context['total_visible_posts'], ' &middot; <i class="fas fa-eye"></i>    ', $context['num_views'], '<div class="nextlinks">', $context['previous_next'], '</div></div>
            </div>
         </div>
      </div>';

spiros

Demo link does not work any more.

By the way, what do you use to zoom images here? https://webtiryaki.com/index.php/topic,291.0.html

gecitli

Quote from: spiros on December 20, 2019, 04:47:53 AM
Demo link does not work any more.

By the way, what do you use to zoom images here? https://webtiryaki.com/index.php/topic,291.0.html
yes no demo

second question
css

.bbc_img {
    max-width: 400px;
    -webkit-transition: all 0.4s cubic-bezier(0.4, 0, 1, 1);
    transition: all 0.4s cubic-bezier(0.4, 0, 1, 1);
}

.bbc_img:hover {
    max-width: 100%
}
http://www.webtiryaki.com
webmaster forumu
Free & Premium Responsive Themes for SMF.

spiros

Wow, amazing trick, teşekkür ederim :)

spiros

I think one should add height: auto so that larger images are not distorted, try this one for example:

https://fastdot.com.au/wp-content/uploads/2019/01/company-1280x720.jpg

.bbc_img {
    max-width: 400px;
    -webkit-transition: all 0.4s cubic-bezier(0.4, 0, 1, 1);
    transition: all 0.4s cubic-bezier(0.4, 0, 1, 1);
    height: auto;
}

mistics

Hello! Please tell me how you can remove such an error as in the picture? Put on a clean version of the forum SMF 2.1 RC2




Texan777

This theme KILLED my new installation!

PHP Fatal error:  Uncaught Error: Call to undefined function loadCSSFile() in /Sources/Load.php(2229) : eval()'d code:45

I can't even switch back to another theme. What a piece of junk!

Bloc

Quote from: Texan777 on July 30, 2020, 02:04:18 AM
This theme KILLED my new installation!

PHP Fatal error:  Uncaught Error: Call to undefined function loadCSSFile() in /Sources/Load.php(2229) : eval()'d code:45

I can't even switch back to another theme. What a piece of junk!

That function is a SMF 2.1 function I believe, which would fail on SMF 2.0.x.

Try add ;theme=1 on the url when you are logged in as an admin user, that should get you back to be able to un-install the theme.

DeveloperMcD

Ok, that's great, then why does this theme say it is made for 2.0.X only? That's exactly the version of the software I have installed.

It does NOT claim to be a 2.1.X only theme.

shadav

Quote from: DeveloperMcD on July 30, 2020, 05:36:52 PM
Ok, that's great, then why does this theme say it is made for 2.0.X only? That's exactly the version of the software I have installed.

It does NOT claim to be a 2.1.X only theme.
which version did you download?
there are three to choose from....I'd assume that the Badem.zip is the one that you want for 2.0.x

it doesn't state it's only for 2.0.x
I think you confused the name of the theme (I could see why) but the 2.0 in the name refers to the version of the theme not the version of smf.....
if you look at the download page it states
QuoteCompatible With:
2.0.15, 2.1 RC1, 2.1 RC2
it might be helpful if the creator puts a note which download is for which version of smf....

did what Bloc say work for you to reset to default theme?
If not you can try to use the repair settings tool https://wiki.simplemachines.org/smf/Repair_settings.php
once reset to default, delete the theme and in your admin under configuration go to themes and layout settings, then to theme settings and click on the red x to delete the template from your admin

then download the correct version of the theme for your smf version, then upload and install

saosangmo

Thank you for this great theme. I install this theme on SMF 2.1 RC3 but I lost the end of topic. You can see it here:
https://huongtinhyeu.net/cho-dien-tu/sua-bao-duong-nap-ga-dieu-hoa-tai-nha-ha-noi/

Please help me.

saosangmo

I have work around for this issue for 2.1 RC3. I copy file Display.template.php from core theme to current theme. It's working normally!

Advertisement: