Profile clone module
Suggestions
no real great ideas, but would look at the import module or the hosting transfer modules for structure hints, both of those would create profiles from data.
{if $entry.menu_label == "Private Messages"}
THE CUSTOM CODE HERE
{/if}
{foreach from=$_items name="loop" item="entry"}
{if isset($entry.menu_function_result) && strlen($entry.menu_function_result) > 0}
{if is_numeric($entry.menu_function_result)}
<li><a href="{$entry.menu_url}">{$entry.menu_label} [{$entry.menu_function_result}]</a></li> ( position 1 )
{else}
<li><a href="{$entry.menu_url}">{$entry.menu_label} <img src="{$entry.menu_function_result}" alt="{$entry.menu_label}"></a></li> ( position 2 )
{/if}
{else}
{if $entry.menu_label == "Private Messages"}
{* THE CUSTOM CODE HERE *}
{if jrUser_is_logged_in()}
<li><a href="{$jamroom_url}/{$_user.profile_url}/follow">Pending Followers: {jrCore_list module="jrFollower" search1="follow_profile_id = `$_user._profile_id`" search2="follow_active = 0" return_count=true no_cache=true}</a></li>
{/if}
{/if}
<li><a href="{$entry.menu_url}">{$entry.menu_label}</a></li> ( position 3 )
{/if}
{/foreach}
{if jrUser_is_logged_in()}
<li><a href="{$jamroom_url}/{$_user.profile_url}/follow">Pending Followers: {jrCore_list module="jrFollower" search1="follow_profile_id = `$_user._profile_id`" search2="follow_active = 0" return_count=true no_cache=true}</a></li> (position 4 )
{/if}
error: function(res) { jrCore_stream_url_error(res); },