The forum of the forums
Welcome to the Official Support Forum of Forumotion!

To take full advantage of everything offered by our forum, please log in if you are already a member, or join our community if you've not yet.



Create a free forum like this one.

How to get author's name and display it?

View previous topic View next topic Go down

How to get author's name and display it?

Post by Ahkrir on 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
Forumember

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

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

Back to top Go down

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

Post by LGforum on 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
Hyperactive

Male Posts : 2254
Reputation : 254
Language : English
Location : UK

http://www.avacweb.com/

Back to top Go down

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

Post by Ahkrir on 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
Forumember

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

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

Back to top Go down

View previous topic View next topic Back to top


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