MyBB Community Forums

Full Version: Different post layout for PM and posts in threads
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
I use classic_postbit template for posts in threads.

Anyway, I would like to use postbit in PM only; classic_postbit in threads

Is there any way? Thank you very much!

P.S. Maybe somehow edit force postbit to users mod?
check if this works....

edit this line:

into this..

if($post_type != 2 && $mybb->settings['postlayout'] == "classic")
I will try. I would like to have:

- classic postbit for posts in threads
- horizontal postbit for PMs
^ code suggested by Madhan should work for your requirement.
+1 for both. I will try as soon as possible