I finally managed to get it working with some tweaking of the function.
For anyone interested, you can the first bit of the plugin mentioned to:
<?php
// Add Hikashop Orders to Kunena Profile
function getDisplayTab($user) {
include_once(rtrim(JPATH_ADMINISTRATOR,DS).DS.'components'.DS.'com_hikashop'.DS.'helpers'.DS.'helper.php');
$my = JFactory::getUser();
//only you can see your orders
if (empty($my->id) OR $my->id != $user) return;
Then when displaying the content, you need to pass the Kunena user-id to the function via:
$user_id = $this->profile->userid;
echo getDisplayTab($user_id);
One more question: When i click the order numbers, it takes me to a page outside of kunena.
Is there any easy way to make this a popup or stay within kunena?