Topic: fluxbb 1.3 ~ add something below user info

Can anyone tell me what variable I have to use when I want to insert something in viewtopic.php just below the user information post count with the current user variable, I also tried $cur_user but that does not work.

I now use hook "vt_row_add_user_data_cache" and I am using $forum_user but then the same information comes with all members and guests.
I use the next code:

if (!empty($forum_user['whatpulse_user_id']))
{
    $uid = $forum_user['whatpulse_user_id'];
    $link = 'http://whatpulse.org/api/user.php?UserID='.$forum_user['whatpulse_user_id'];
    require($ext_info['path'].'/functions.php');
        cache_whatpulse_xml($uid, $link);
    require($ext_info['path'].'/simplexml.class.php');
        $sxml = new simplexml;
        $whatpulse = $sxml->xml_load_file($ext_info['path'].'/cache/'.$uid.'.lptmp');
    array_insert($forum_page['author_info'], 99, '<li>Whatpulse rank: <span>'.$whatpulse->Rank.'</span></li>', 'ip');
}

If I use this code then the same information also comes for the next member and it should be different.

Re: fluxbb 1.3 ~ add something below user info

use hook "vt_row_pre_display" and do something like this ...

if ($forum_config['o_show_user_info'] == '1' && $cur_post['poster_id'] > 1 && !isset($user_data_cache[$cur_post['poster_id']]['author_info']))
{
// what you wanna do here
}

$cur_post holds all the info about the post and its author. Their id would be $cur_post['poster_id']

Take a look at my Gender Extension, it and a couple other of my extension add to that section

Re: fluxbb 1.3 ~ add something below user info

thanks gizzmo, will do that