MyBB Hacks

Full Version: Tabs in Post Content
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
I want to create tabs in the post. using mycodes and with the help of this plugin I'm sure it could be done. but after trying repeatedly "tabs" that I want does not appear. please correction Ouch

I want to make mycodes like on the page Yes

The following is my code:
MyCode Pattern

Code:
[tabs]
[tab={ANYTHING}][b]{ANYTHING}[/b]{ANYTHING}[/tab]
[tab={ANYTHING}][b]{ANYTHING}[/b]{ANYTHING}[/tab]
[tab={ANYTHING}][b]{ANYTHING}[/b]{ANYTHING}[/tab]
[/tabs]


Replacement

Code:
<ul class="tabber">
<li><a href="#$1">$1</a></li>
<li><a href="#$1">$1</a></li>
<li><a href="#$1">$1</a></li>
</ul>

<div id="$1">
<h3>$1<h3>
<p>$2</p>
</div>

<div id="$1">
<h3>$1<h3>
<p>$2</p>
</div>

<div id="$1">
<h3>$1<h3>
<p>$2</p>
</div>

Your code doesn't really make any sense since you're trying to force some rigid structure (which doesn't even work).
Custom MyCodes aren't really designed to handle this case of nesting - you're better off with a plugin.
In theory, you might be able to get something with a few caveats with custom MyCodes, but you're on your own with that.
You mean I have to turn off this plugin? Erf

then, how the actual code to create tabs in the post? Ouch

desperately need your help. implore your help Erf
You will be better off coding a plugin.
@Sama
plugin has been deactivated. then what is the solution to create tabs in a post?

so far I have always tried to own when they have problems. if I know, I'm not going to ask in this place. I ask because I do not know
I don't know the solution but you will most likely need a new plugin.
@Sama / Omar G
I know for sure in the end requires a plugin. and so very sure would like this plugin into the plugin premium. and if we want to have the plugin must first subscribe to premium. and it is very sickening to me. Ouch

I honestly want to try asking in mybb.com but confused and do not know whether it can be resolved
That is why you learn and code for yourself.

Why not try to modify the following to fit your needs?
http://mods.mybb.com/view/mycode-tablegenerator
(07-01-2015 06:42 AM)Sama34 Wrote: [ -> ]That is why you learn and code for yourself.
...
... so far in the ACP could work, but in a post not appear. without jQuery, using only CSS ...

(07-01-2015 06:42 AM)Sama34 Wrote: [ -> ]...
Why not try to modify the following to fit your needs?
http://mods.mybb.com/view/mycode-tablegenerator

... I've tried all the well-made Yumi Zinga plugins, or plugins exist in MyBB. and tried to deepen the codes one by one plugin but no results.

therefore, this thread is also the demand of custom MyCode ...


anyway, thanks for replying my thread. 1+ to you in mybb.com
Reference URL's