How to get author's name and display it?
2 posters
Page 1 of 1
How to get author's name and display it?
I want to get the poster's name and display it in the title in the template: viewtopic_body
I've tried severall things such as:
{POSTER_NAME}
or
{postrow.displayed.POSTER_NAME}
or
<h4 class="username">{postrow.displayed.POSTER_NAME}</h4>
Things like that, but they all don't work.
There must be a way to get the poster's name and display it, right?
I've tried severall things such as:
{POSTER_NAME}
or
{postrow.displayed.POSTER_NAME}
or
<h4 class="username">{postrow.displayed.POSTER_NAME}</h4>
Things like that, but they all don't work.
There must be a way to get the poster's name and display it, right?
Last edited by Ahkrir on May 18th 2012, 2:20 pm; edited 1 time in total
Re: How to get author's name and display it?
Well the "poster" refers to an author of a post, so it only applies in the the viewtopic within postrow loop. So it wot work anywhere out the postrow loop.
So do you mean, the author or the first post in the title of the topic?
So do you mean, the author or the first post in the title of the topic?
LGforum- Hyperactive
- Posts : 2265
Reputation : 264
Language : English
Location : UK
Re: How to get author's name and display it?
LGforum wrote:Well the "poster" refers to an author of a post, so it only applies in the the viewtopic within postrow loop. So it wot work anywhere out the postrow loop.
So do you mean, the author or the first post in the title of the topic?
Author. Not poster sorry :-)
Page 1 of 1
Permissions in this forum:
You cannot reply to topics in this forum