MyBB Community Forums

Full Version: How to make the post title follow by user name of the poster
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Hello,
I want to make a change in the theme to display the post title as follow:
(post title) By (user name of the poster).
i.e, adding the poster user name in the post title.

Anyone can help?

Thanks
at where - can you show your requirement with an image
for example, i want to make the post of this thread as following:

How to make the post title follow by user name of the poster -  by murtadha almaliky

is it clear now?
as an example I'll try to show it for the thread page (same method need not work elsewhere)

admin panel >> templates >> active theme's templates >> Show Thread Templates >> showthread

find code like below
<strong class="thread_title">{$thread['threadprefix']}{$thread['subject']}</strong><br />
change to below code and save the template. visit any thread page of your forum.
<strong class="thread_title">{$thread['threadprefix']}{$thread['subject']} by {$thread['username']}</strong><br />
Hello,
Thank you .m. for your help.
It works perfectly.