The forum of the forums
Would you like to react to this message? Create an account in a few clicks or log in to continue.

How to get author's name and display it?

2 posters

Go down

How to get author's name and display it? Empty How to get author's name and display it?

Post by Ahkrir May 18th 2012, 11:44 am

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?


Last edited by Ahkrir on May 18th 2012, 2:20 pm; edited 1 time in total
Ahkrir
Ahkrir
Forumember

Male Posts : 288
Reputation : 14
Language : English
Location : The Netherlands

http://smarterweb.go-board.com/forum

Back to top Go down

How to get author's name and display it? Empty Re: How to get author's name and display it?

Post by LGforum May 18th 2012, 1:10 pm

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?
LGforum
LGforum
Hyperactive

Male Posts : 2265
Reputation : 264
Language : English
Location : UK

Back to top Go down

How to get author's name and display it? Empty Re: How to get author's name and display it?

Post by Ahkrir May 18th 2012, 2:19 pm

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 :-)
Ahkrir
Ahkrir
Forumember

Male Posts : 288
Reputation : 14
Language : English
Location : The Netherlands

http://smarterweb.go-board.com/forum

Back to top Go down

Back to top


 
Permissions in this forum:
You cannot reply to topics in this forum