@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
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.
It worked now.
The side is empty as in the picture.
Maybe you did not insert the code in the correct place. Could you show me your newthread template from line 20 to line 50
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("");
}
}
};
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
^
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]
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/
(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
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.