Advertisement:

Author Topic: Badem Smf 2.0 bootstrap Themes  (Read 5430 times)

Offline gecitli

  • Jr. Member
  • **
  • Posts: 345
    • webmaster forumu
Badem Smf 2.0 bootstrap Themes
« on: October 09, 2018, 05:17:02 PM »
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



http://www.webtiryaki.com

webmaster forumu

Free & Premium Responsive Themes for SMF.

Offline The Domain Shop

  • Jr. Member
  • **
  • Posts: 368
  • Gender: Male
    • thedomaindotshop on Facebook
    • The Domain Shop
Re: Badem Smf 2.0 bootstrap Themes
« Reply #1 on: November 04, 2018, 08:37:36 AM »
Hi,

Do you have a live demo?

Offline gecitli

  • Jr. Member
  • **
  • Posts: 345
    • webmaster forumu
Re: Badem Smf 2.0 bootstrap Themes
« Reply #2 on: November 04, 2018, 08:58:53 AM »
http://www.webtiryaki.com

webmaster forumu

Free & Premium Responsive Themes for SMF.

Offline The Domain Shop

  • Jr. Member
  • **
  • Posts: 368
  • Gender: Male
    • thedomaindotshop on Facebook
    • The Domain Shop
Re: Badem Smf 2.0 bootstrap Themes
« Reply #3 on: November 05, 2018, 04:20:51 PM »
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.

Offline oyajoin

  • Newbie
  • *
  • Posts: 5
Re: Badem Smf 2.0 bootstrap Themes
« Reply #4 on: December 19, 2018, 03:31:56 AM »
please how can i make the theme full width?

Offline Shambles

  • SMF Hero
  • ******
  • Posts: 5,529
  • Gender: Male
    • i30 Owners Club
Re: Badem Smf 2.0 bootstrap Themes
« Reply #5 on: December 19, 2018, 04:33:13 AM »
Quote from: oyajoin
please how can i make the theme full width?
Can you provide a link to your copyright-visible SMF forum?

Offline m4z

  • 98.8% chimp
  • Localizer
  • Sophist Member
  • *
  • Posts: 1,157
  • /mɛs/
Re: Badem Smf 2.0 bootstrap Themes
« Reply #6 on: September 21, 2019, 05:39:49 AM »
Seeing this error when using your theme in SMF2.1rc2:
Quote
Type of error: Undefined
8: Undefined index: avatar
https://(redacted)/index.php?
/(redacted)/Themes/Badem_RC2/BoardIndex.template.php (Line 238)

Relevant code:
Code: [Select]
   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

Offline gecitli

  • Jr. Member
  • **
  • Posts: 345
    • webmaster forumu
Re: Badem Smf 2.0 bootstrap Themes
« Reply #7 on: September 21, 2019, 01:39:07 PM »
Seeing this error when using your theme in SMF2.1rc2:
Quote
Type of error: Undefined
8: Undefined index: avatar
https://(redacted)/index.php?
/(redacted)/Themes/Badem_RC2/BoardIndex.template.php (Line 238)

Relevant code:
Code: [Select]
   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
Code: [Select]
// 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

Code: [Select]
// 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.

Offline RockTreeSky

  • Newbie
  • *
  • Posts: 5
Re: Badem Smf 2.0 bootstrap Themes
« Reply #8 on: October 08, 2019, 01:14:54 PM »
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>';

Offline spiros

  • Language Moderator
  • SMF Hero
  • *
  • Posts: 1,887
  • Gender: Male
  • A different point of view
    • spiros.doikas on Facebook
    • doikas on LinkedIn
    • @greektranslator on Twitter
    • Greek Translation
Re: Badem Smf 2.0 bootstrap Themes
« Reply #9 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

Offline gecitli

  • Jr. Member
  • **
  • Posts: 345
    • webmaster forumu
Re: Badem Smf 2.0 bootstrap Themes
« Reply #10 on: December 20, 2019, 07:47:42 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

Code: [Select]
.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.

Offline spiros

  • Language Moderator
  • SMF Hero
  • *
  • Posts: 1,887
  • Gender: Male
  • A different point of view
    • spiros.doikas on Facebook
    • doikas on LinkedIn
    • @greektranslator on Twitter
    • Greek Translation
Re: Badem Smf 2.0 bootstrap Themes
« Reply #11 on: December 20, 2019, 09:16:12 AM »
Wow, amazing trick, teşekkür ederim :)

Offline spiros

  • Language Moderator
  • SMF Hero
  • *
  • Posts: 1,887
  • Gender: Male
  • A different point of view
    • spiros.doikas on Facebook
    • doikas on LinkedIn
    • @greektranslator on Twitter
    • Greek Translation
Re: Badem Smf 2.0 bootstrap Themes
« Reply #12 on: December 22, 2019, 08:48:34 AM »
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

Code: [Select]
.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;
}

Offline mistics

  • Newbie
  • *
  • Posts: 1
Re: Badem Smf 2.0 bootstrap Themes
« Reply #13 on: February 02, 2020, 07:08:29 AM »
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




Offline Texan777

  • Newbie
  • *
  • Posts: 1
Re: Badem Smf 2.0 bootstrap Themes
« Reply #14 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!

Offline Bloc

  • Full Member
  • ***
  • Posts: 578
  • Gender: Male
    • bloc67 on GitHub
Re: Badem Smf 2.0 bootstrap Themes
« Reply #15 on: July 30, 2020, 07:30:03 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.

Offline DeveloperMcD

  • Semi-Newbie
  • *
  • Posts: 14
Re: Badem Smf 2.0 bootstrap Themes
« Reply #16 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.

Offline shadav

  • Full Member
  • ***
  • Posts: 604
  • Gender: Female
    • Ask The Muslims: A Place To Ask Honest Questions and Receive Respectful Answers
Re: Badem Smf 2.0 bootstrap Themes
« Reply #17 on: July 30, 2020, 05:53:58 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
Quote
Compatible 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