2015-06-24, 07:19 PM
2015-06-25, 03:52 AM
@Crazycat
plugin is not appropriate as I expected . I want to create tabs in a post like the one on this website. and I wish it could be made not by the plugin but with MyCodes
plugin is not appropriate as I expected . I want to create tabs in a post like the one on this website. and I wish it could be made not by the plugin but with MyCodes
2015-07-30, 03:20 PM
(2013-04-10, 05:40 PM)SinhLe Wrote: [ -> ]MyCode tabs for MyBB
1. Go to: AdminCP >> Templates >> Your Templates >> Ungrouped Templates >> headerinclude
and Add the following code just after that:
<script type="text/javascript" src="{$mybb->settings['bburl']}/jscripts/tabs_js/tabber.js"></script> <link rel="stylesheet" href="{$mybb->settings['bburl']}/jscripts/tabs_js/tabber.css" type="text/css" media="screen"> <script type="text/javascript"> document.write('<style type="text/css">.tabber{display:none;}<\/style>'); </script>
Save Template.
2. Now go to: AdminCP >> Configuration >> MyCode >> Add New MyCode
and Add 2 MyCode Tabs and Tab:
2.1 Tabs:
Title *: tabs
Short Description: MyCode tabs for MyBB
Regular Expression *:
Replacement *:\[tabs\](.*?)\[/tabs\]
Enabled? *: Yes<div class="tabber">$1</div>
Save MyCode.
2.2 Tab:
Title *: tab
Short Description: MyCode tabs for MyBB
Regular Expression *:
Replacement *:\[tab=(.*?)\](.*?)\[/tab\]
Enabled? *: Yes<div class="tabbertab"> <h2>$1</h2> <p>$2</p> </div>
Save MyCode.
3. Download file Attachment, unzip and upload folder tabs_js to jscripts
4. Test
Ex:
[tabs][tab=Title for tab 1]
Content for tab 1
[/tab]
[tab=Title for tab 2]
Content for tab 2
@};-
[/tab]
[/tabs]
hello I have a problem with this MyCode, it works very well locally but when I test on the true forum
I see a message completely empty
you have a solution for my problem ? or some other way? please
2016-04-21, 10:53 AM
Thank you SinhLe its still working perfectly in mybb 1.8.7 ^_^
and thank you .M. for give link of this thread, you always help me ^_^
but i have a question, how to move post reply into tab "Diskusi" , is possible? hehe ^_^
make sure you upload tabs_js on
and thank you .M. for give link of this thread, you always help me ^_^
but i have a question, how to move post reply into tab "Diskusi" , is possible? hehe ^_^
(2015-07-30, 03:20 PM)badboy4life91 Wrote: [ -> ]hello I have a problem with this MyCode, it works very well locally but when I test on the true forum
I see a message completely empty
you have a solution for my problem ? or some other way? please
make sure you upload tabs_js on
/jscripts/tabs_js/tabber.js
2016-04-25, 01:50 PM
@call911 ,Thank you for your answer
I found the problem or vien but I do not know resolve, when I activate this plugin on my forum:
http://community.mybb.com/thread-173203.html
Tabs in Post does not work (blank message) whereas when "[UA-PLUGINS] Messages - Desktop notification" is disabled, Tabs in Post works very well...
I have reported this issue to developers of UA-PLUGINS but it seems that this plugin is left has abandoned...
if anyone can find a solution for this problem I would be very happy !
I found the problem or vien but I do not know resolve, when I activate this plugin on my forum:
http://community.mybb.com/thread-173203.html
Tabs in Post does not work (blank message) whereas when "[UA-PLUGINS] Messages - Desktop notification" is disabled, Tabs in Post works very well...
I have reported this issue to developers of UA-PLUGINS but it seems that this plugin is left has abandoned...
if anyone can find a solution for this problem I would be very happy !