MyBB Community Forums

Full Version: which plugin/code is this
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Can anybody tell which code is this?
Quote:\[p\](.*?)\[/p\]

Also, share the details to setup this code?
ACP
configure
MYcode
That's a MyCode

Admincp -> Configuration -> MyCode

http://docs.mybb.com/MyCode.html

Edit: Ninja'd Sad
(2012-10-03, 07:13 PM)Vernier Wrote: [ -> ]That's a MyCode

Admincp -> Configuration -> MyCode

http://docs.mybb.com/MyCode.html

Edit: Ninja'd Sad

Thanks Vernier- Can you please share which Mycode is this and what would be the replacement for it?
It looks like some sort of paragraph MyCode, try this:

Admincp -> Configuration -> MyCode -> Add New MyCode

Title = Paragraph MyCode
Short Description = Creates a paragraph
Regular Expression =
\[p\](.*?)\[/p\]
Replacement =
<p>$1</p>
Enabled? = Yes
Parse Order =

You can always add the style attribute to the <p> tag to change the style of the paragraph. Smile
(2012-10-03, 07:38 PM)Vernier Wrote: [ -> ]It looks like some sort of paragraph MyCode, try this:

Admincp -> Configuration -> MyCode -> Add New MyCode

Title = Paragraph MyCode
Short Description = Creates a paragraph
Regular Expression =
\[p\](.*?)\[/p\]
Replacement =
<p>$1</p>
Enabled? = Yes
Parse Order =

You can always add the style attribute to the <p> tag to change the style of the paragraph. Smile

I dont know why but it didnt work..

You can check the link: http://mcxcommoditytrading.com/forum/Thr...82#pid7782
Make sure you wrap the paragraph like this:
[p]Your paragraph is here[/p]

Not:
<p>Your paragraph is here</p>
(2012-10-03, 08:02 PM)Vernier Wrote: [ -> ]Make sure you wrap the paragraph like this:
[p]Your paragraph is here[/p]

Not:
<p>Your paragraph is here</p>

Yes, I understand it but I did not do it, This is a Yahoo RSS. it should take some action but probably that is not defined in my forum's mycode hence not doing it.
I just want to understand what action it should take and how to setup it?