The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
Last person to post in topic
Is there a way to show the avatar of the last person who posted in a topic?
I'm able to do this with a plugin for the topic starter, using this code: Code:
if ($thread['lastposterid']) { require_once(DIR . '/includes/functions_user.php'); $avatarurl = fetch_avatar_url($thread['postuserid'], true); $thread['lastposteravatar'] = $avatarurl[0] ? $avatarurl[0] : vB_Template_Runtime::fetchStylevar("imgdir_misc").'/unknown.png'; } |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|