Because of the way administration/infusions works your method ($inf_insertdbrow) does not work! It invariably adds "root/infusions/" to the link that is created. However I have it working great by doing it this way:
$inf_insertdbrow[] = DB_PANELS." (panel_name, panel_filename, panel_content, panel_side, panel_order, panel_type, panel_access, panel_display, panel_status, panel_url_list, panel_restriction, panel_languages) VALUES('My Panel', 'my_infusion_panel', '', '4', '3', 'file', '0', '1', '1', '', '3', '".LANGUAGE."')";
if (isset($_POST['infuse'])) {
$result = dbquery("INSERT INTO ".DB_SITE_LINKS." (link_name, link_url, link_visibility, link_position, link_window, link_order, link_status, link_language) VALUES('My Link Name', 'my_folder/index.php', '0', '2', '0', '8', '1', '".LANGUAGE."')");
$result = dbquery("INSERT INTO ".DB_SITE_LINKS." (link_name, link_url, link_visibility, link_position, link_window, link_order, link_status, link_language) VALUES ('Submit Data', 'my_folder/my_submit.php', -101, '2', '0', '17', '1', '".LANGUAGE."')");
}
But thanks for trying. My way gets me BOTH links plus my side panel in one swoop. Problem solved.
I also discovered that with a few tweaks this works well for the version 8 of my infusion