MyBB Community Forums

Full Version: Postbit Classic Usertitle
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Hello again, MyBB Community. Can someone tell me which template include the usertitle (ex: Newbie, Member, or custom usertitles) that appears on the classic postbit. I am trying to add it in a container using the <div> class. I tried adding the "{$post['usertitle']}<br />" in <div class="postbit_usertitle" just like that:
Quote:<div class="postbit_usertitle"{$post['usertitle']}</div><br />
After that, I created in global.css the .postbit_usertitle stylesheet making it properly, but it will include the whole userdetails. I think it is because I added the entire classic postbit in an <div> to make it all appear in an container. Is there any way to include a <div> in an <div>? Or is the correct usertitle in another template, just like the reputation one, avatar one etc? Thanks!
Best regards,
Raffello
Your syntax is incorrect;
This;
<div class="postbit_usertitle"{$post['usertitle']}</div><br />
Should be like this;
<div class="postbit_usertitle">{$post['usertitle']}</div><br />
And yes you can add <div> in <div>
Thank you, Yaldaram. It worked. I forgot that I have to close the div. Big Grin
Problem solved.
I use it , too. thank you Wink ömer ipek