MyBB Community Forums

Full Version: Username in Thread title.
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Pages: 1 2 3
Plugin doesn't change anything in templates. It only alters thread title variable which is in forumdisplay page.
Heey got it..
You created the plugin to add in every thread the username...
Can you edit it to only change the variable {$mybb->user['username']} into the user name??
It does that already. Look at my screenshot...
(2010-01-09, 07:57 PM)DragonFever Wrote: [ -> ]It does that already. Look at my screenshot...
No! That's why the variable is appearing because I inserted it in the thread name.
The plugin you created adds in all posts the username.
I want that it only adds the username when I insert the variable {$mybb->user['username']}
Oops, sorry. My bad.
Try following file. This will add the username of the user to the thread title which has {$mybb->user['username']}.
[attachment=16925].
No problem!
It now only add the name into the thread with the variable but:
It do not remove the {mybb->...}. (image 1)
It do not add the username into the thread name. (image 2)

See the images:
[attachment=16926]
[attachment=16927]
Following plugin will do the job this time Big Grin
[attachment=16929]
HEHE.
Thank you.
Good job. You are fast!
No problem. I just have some free time nowadays Big Grin
[attachment=16932]
How about the variables that are appearing? Any changes that I need to do to make it appear the thread name?

[attachment=16931]
And this one? It do not parse the variable into the user name of the logged user.
Pages: 1 2 3