Custom profile attributes in news block
Posted: 29. December 2009 19:48
Hello,
I have been trying to modify the news block without much success. I would like to use a custom attribute called realname in the news block. Rather than displaying the author's username, I would like to display the value of the custom attribute realname for the author of the post in $news_row.
I've looked over both the phpBB wiki for custom profile attributes, as well as some of the posts on this board (viewtopic.php?f=28&t=1218&start=0&hilit=custom+profile). I am still having trouble with what code modifications are needed.
If anyone has an example or some documentation they could point me towards, that would be most helpful.
Thank you,
Bill
I have been trying to modify the news block without much success. I would like to use a custom attribute called realname in the news block. Rather than displaying the author's username, I would like to display the value of the custom attribute realname for the author of the post in $news_row.
I've looked over both the phpBB wiki for custom profile attributes, as well as some of the posts on this board (viewtopic.php?f=28&t=1218&start=0&hilit=custom+profile). I am still having trouble with what code modifications are needed.
If anyone has an example or some documentation they could point me towards, that would be most helpful.
Thank you,
Bill