MyBB Community Forums
[For 1.8] BootBB - Responsive Multicolor MyBB Theme - Printable Version

+- MyBB Community Forums (https://community.mybb.com)
+-- Forum: Extensions (https://community.mybb.com/forum-201.html)
+--- Forum: Themes (https://community.mybb.com/forum-103.html)
+---- Forum: Theme Releases (https://community.mybb.com/forum-104.html)
+---- Thread: [For 1.8] BootBB - Responsive Multicolor MyBB Theme (/thread-216279.html)

Pages: 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25


RE: BootBB - Responsive Multicolor MyBB Theme - arhavili - 2020-02-26

@panayot

Related Threads - display similar threads

https://community.mybb.com/thread-93395.html

I could not run this plugin in this theme.Can you help.

The plugin adds this code to the theme

<tr id="relatedThreadsRow" style="display:none;"><td class="trow2" valign="top"><strong>{$lang->relatedThreadsTitle}</strong></td><td class="trow2" id="relatedThreads">{$relatedThreads}</td></tr>



works fine in default theme

[Image: attachment.php?aid=32580]


RE: BootBB - Responsive Multicolor MyBB Theme - panayot - 2020-02-26

BootBB does not use tables, you need edit newthread template and replace the above plugin code with something like this:

<div class="trow1 rowbit" id="relatedThreadsRow" style="display:none;">
  <div class="formbit_label col-sm-2 strong">{$lang->relatedThreadsTitle}</div>
  <div class="formbit_field col-sm-10" id="relatedThreads">{$relatedThreads}</div>
</div>

Hope it works, I have not tested it.


RE: BootBB - Responsive Multicolor MyBB Theme - arhavili - 2020-02-26

It worked now.

The side is empty as in the picture.

[Image: fbeSze.png]


RE: BootBB - Responsive Multicolor MyBB Theme - panayot - 2020-02-27

Maybe you did not insert the code in the correct place. Could you show me your newthread template from line 20 to line 50


RE: BootBB - Responsive Multicolor MyBB Theme - arhavili - 2020-02-27


Thank you for your help

I solved the problem.

It was great to make a setting in the file of the plugin.(Google translate)

jscript/relatedThreads.js

Find;

   display: function(request)
    {
        if (request.responseText != "")
        {
            $('#relatedThreadsRow').css("display", "table-row");
            $('#relatedThreads').html(request.responseText);         
        } 
        else 
        {
            $('#relatedThreadsRow').css("display", "none");
            $('#relatedThreads').html("");
        } 
    }
};


change with this;

   display: function(request)
    {
        if (request.responseText != "")
        {
            $('#relatedThreadsRow').css("display", "");
            $('#relatedThreads').html(request.responseText);         
        } 
        else 
        {
            $('#relatedThreadsRow').css("display", "none");
            $('#relatedThreads').html("");
        } 
    }
};



RE: BootBB - Responsive Multicolor MyBB Theme - aseermrmr - 2020-03-04

Hello Sir

first thank you so much for this amazing theme

i have two problems for my theme :
1- there is a problem with post new or reply , it didn't work such as this picture

[attachment=42633]

2- how i can add new button to the panel1 to be as yours check this picture please

[attachment=42634]

i am using mybb 1.8.15

thanks in advance


RE: BootBB - Responsive Multicolor MyBB Theme - .m. - 2020-03-04

^

1] browse to BootBB theme properties through themes section of forum admin panel

forum admin panel >> Templates & Styles >> Themes >> BootBB
--> scroll down for theme properties --> Editor style

change editor style to another one & save theme properties.
check if the issue resolves.

2] replied at your related thread [Link]


RE: BootBB - Responsive Multicolor MyBB Theme - panayot - 2020-03-04

Version of BootBB needs to match version of MyBB. 

1.8.15 is so old that I do not even know which version of BootBB will run with it. When downloading a build of BootBB, it says in the description which version of MyBB should be used.

buttons should be made with following code:

<a href="{$mybb->settings['bburl']}/usercp.php" class="btn btn-xs btn-success" style="color: #fff;" data-toggle="tooltip" data-placement="bottom" title="some title"><i class="fa fa-user"></i><span class="hidden-xs"> some text</span></a>

to change the icon, you can choose from https://fontawesome.com/v4.7.0/icons/ and replace:


<i class="fa fa-user">


with the new code.

Background color of button is determined by:


btn-success

Here are the possibilities, but they are for the newer version of Bootstrap, so some colors may not be available in the theme.

https://getbootstrap.com/docs/4.0/components/buttons/


RE: BootBB - Responsive Multicolor MyBB Theme - aseermrmr - 2020-03-04

(2020-03-04, 03:53 PM).m. Wrote: ^

1] browse to BootBB theme properties through themes section of forum admin panel

forum admin panel >> Templates & Styles >> Themes >> BootBB
--> scroll down for theme properties --> Editor style

change editor style to another one & save theme properties.
check if the issue resolves.

2] replied at your related thread [Link]
Hi sir
thank you so much for your help
it didn't work


RE: BootBB - Responsive Multicolor MyBB Theme - panayot - 2020-03-04

See my post above.

You need to use BootBB 2.5 if your version of MyBB is so old. I believe this will fix the editor problem.