News:

SMF 2.1.2 has been released! Take it for a spin! Read more.

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!
<werbung>Meine Freundin hat ihr erstes Buch veröffentlicht!</werbung>

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!

Bloc67

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!

SugarD-x

Quote from: saosangmo on February 19, 2021, 02:18:48 AM
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!
Are you referring to the "default" theme in SMF 2.1 RC3? I tried this fix but it didn't work for me. I have the same bug.

SugarD-x

I hate to bump this, but I'm really desperate to find a fix for this issue. It is the only bug in this theme I'm not able to find a fix for, and it's a breaking one. I really love this theme in SMF 2.1. Can anyone suggest how to fix the topic issue properly? Using either the SMF 2.1 "default" or SMF 2.0 Badem theme files for Display.template.php don't resolve this. It feels like this theme in the SMF 2.1 version requires its own copy of this file, but it isn't included in the download.

gecitli

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

SugarD-x

Quote from: gecitli on March 25, 2021, 03:35:15 PM
Theme updated.
Thank you! That fixed the issue, however now the Quick Reply at the bottom of the topic's page is a bit broken.

gecitli

Quote from: SugarD-x on March 25, 2021, 07:40:17 PM
Quote from: gecitli on March 25, 2021, 03:35:15 PM
Theme updated.
Thank you! That fixed the issue, however now the Quick Reply at the bottom of the topic's page is a bit broken.

Hello, I did not see such an error. Theme It pulls the section from the default theme.
http://www.webtiryaki.com
webmaster forumu
Free & Premium Responsive Themes for SMF.

SugarD-x

Quote from: gecitli on March 26, 2021, 02:26:48 AM
Quote from: SugarD-x on March 25, 2021, 07:40:17 PM
Quote from: gecitli on March 25, 2021, 03:35:15 PM
Theme updated.
Thank you! That fixed the issue, however now the Quick Reply at the bottom of the topic's page is a bit broken.

Hello, I did not see such an error. Theme It pulls the section from the default theme.
My apologies, it is fixed now. It took me awhile to figure it out, but somehow one of my files ended up corrupted in the download process. (It was an issue on my end with the download).

rcane

Will this theme work on 2.0.19?

Also will it work with the following mods?

ohara youTube;
topic solved;
titled links;
ICAP: info center access permission
post and pm inline attachments
order custom profile fields
contact page

any portals mods?




SugarD-x

There seems to be a new issue on SMF 2.1.1, (and possibly 2.1 Gold itself), where the Themes and Layout Settings menus in the admin panel are showing a popup menu that can't be closed. (This was not a problem in SMF 2.1 RC4). Any ideas?



(Please ignore the colors. I have a custom modification that applies a dark mode and is unrelated to this issue).

TwitchisMental

Quote from: SugarD-x on February 14, 2022, 12:06:53 PMThere seems to be a new issue on SMF 2.1.1, (and possibly 2.1 Gold itself), where the Themes and Layout Settings menus in the admin panel are showing a popup menu that can't be closed. (This was not a problem in SMF 2.1 RC4). Any ideas?



(Please ignore the colors. I have a custom modification that applies a dark mode and is unrelated to this issue).
This is a problem with the theme. Any RC4 themes will have this issue on 2.1 final. The best solution at this time would be to use the default theme or a theme that has been updated already.

SugarD-x

#29
Quote from: TwitchisMental on February 14, 2022, 12:10:55 PM
Quote from: SugarD-x on February 14, 2022, 12:06:53 PMThere seems to be a new issue on SMF 2.1.1, (and possibly 2.1 Gold itself), where the Themes and Layout Settings menus in the admin panel are showing a popup menu that can't be closed. (This was not a problem in SMF 2.1 RC4). Any ideas?



(Please ignore the colors. I have a custom modification that applies a dark mode and is unrelated to this issue).
This is a problem with the theme. Any RC4 themes will have this issue on 2.1 final. The best solution at this time would be to use the default theme or a theme that has been updated already.

I believe I fixed it. It had to do with modified popup menu CSS being used in the new version of the default theme, which needed to be carried over to this one.

Edit: For a rough idea, on the left is the SMF 2.1 RC4 default theme's index.css section that works with the current version of this theme, and on the right is the SMF 2.1.1 default theme's index.css section that needs to be carried over to the current version of this theme to fix it:



Edit #2: There does seem to be an issue with that menu not displaying underneath the overlapping dropdown main menu above it, but I haven't figured out a solution for that one yet.

Advertisement: