MyBB Community Forums

Full Version: Differing pm design and thread design
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Hi everyone,
I'm trying to code a theme for mybb. But pm design is different from thread design. So which templates i have to differ these?
If you mean the post bit then you will need a plugin for it. The only available one is Template Conditionals (or PHP In Templates, same author).

In the postbit/postbit_classic templates:
<if THIS_SCRIPT == 'private.php' then>
private message code goes here.
<else>
Anything else.
</if>
(2012-10-07, 09:51 PM)Omar G. Wrote: [ -> ]If you mean the post bit then you will need a plugin for it. The only available one is Template Conditionals (or PHP In Templates, same author).

In the postbit/postbit_classic templates:
<if THIS_SCRIPT == 'private.php' then>
private message code goes here.
<else>
Anything else.
</if>

The plugin is available at mybbhacks.zingaburga.com
Thank you very much, really thank you Smile