MyBB Community Forums

Full Version: Add text to {$post['message']}
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Hello,

I have a plugin that hide's content and unlock it after 5 posts. So i want it to enable it on all my posts on the forum.


Plugin im using:
MWS Hidden Content

Plugin code:
Quote:[hidden=10]
[/hidden]

So i added it here:


Quote: <div class="post_body" id="pid_{$post['pid']}">
[hidden=10]
$post['message']}
[/hidden]
{$post['attachments']}
{$post['signature']}


Result:
[Image: nSPkP3g.png]

It didnt work because it doesnt recognize as a mycode.

Can any1 please help me how to add that code to all my posts on my forum?

Thank you
You can't type in MyCodes inside template.

If you brief more about the plugin or link it we can try understanding the functionality of it and provide some solutions.