PL|imac 0 Report post Posted February 2, 2005 Hi liebe IPBS-Community, ihr habt mir ja diese Woche schon ganz stark geholfen ([externe Auflistung der User in meinem Forum] http://www.ipbsupport.de/board/index.php?showtopic=3721). Deswegen gleich die nächste Frage . In Bezug auf den oben genannten Thread möchte ich nun noch Folgendes erreichen: Die Benutzer in meinem Forum werden nun auf einer externen Seite (quasi die Einstiegssite meiner Page) aufgelistet. Nun öffnet sich bei einem Klick das Profil (die vorhergehende Site wird durch dem neuen Site-Inhalt ersetzt). Ich möchte aber, daß sich das Profil in einem Java-Popup öffnet, welche Parameter muss ich hier noch setzen? //+------------------------------------------------- // Display who's Currently Online // By: KaLiTe (ibf@kalite.de) //+------------------------------------------------- function do_online() { global $DB, $ibforums, $root_path, $templates_dir, $std; $template = load_template("online.html"); $to_echo = ""; // Get the topics, member info and other stuff $time = time() - 900; $DB->query("SELECT s.member_id, s.member_name, s.login_type, g.suffix, g.prefix FROM ibf_sessions s, ibf_groups g WHERE running_time > '$time' AND g.g_id=s.member_group ORDER BY running_time DESC"); // cache all printed members so we don't double print them $cached = array(); $active = array(); while ($result = $DB->fetch_row() ) { if ($result['member_id'] == 0) { $active['GUESTS']++; } else { if (empty( $cached[ $result['member_id'] ] ) ) { $cached[ $result['member_id'] ] = 1; if ($result['login_type'] == 1) { $active['ANON']++; } else { $active['MEMBERS']++; } } } } $active['TOTAL'] = $active['MEMBERS'] + $active['GUESTS'] + $active['ANON']; $DB->query("SELECT s.member_id, s.member_name, s.login_type, g.suffix, g.prefix FROM ibf_sessions s, ibf_groups g WHERE running_time > '$time' AND g.g_id=s.member_group ORDER BY running_time DESC"); // cache all printed members so we don't double print them $cached = array(); while ($result = $DB->fetch_row() ) { if (empty( $cached[ $result['member_id'] ] ) && $result['member_name'] != "" ) { $cached[ $result['member_id'] ] = 1; if ($result['login_type'] != 1) { $active['NAMES'] .= " <span id='highlight'>></span> <a href='{$ibforums->vars['board_url']}/index.{$ibforums->vars['php_ext']}?s={$ibforums->session_id}&act=Profile&MID={$result['member_id']}'>{$result['prefix']}{$result['member_name']}{$result['suffix']}</a><br>"; } } } if (!isset($active)) $active['NAMES'] = "<i>none</i>"; $to_echo = parse_template( $template, array ( 'online_users' => $active['NAMES'], 'total' => $active['TOTAL'] ? $active['TOTAL'] : 0 , 'members' => $active['MEMBERS'] ? $active['MEMBERS'] : 0, 'guests' => $active['GUESTS'] ? $active['GUESTS'] : 0, 'anon' => $active['ANON'] ? $active['ANON'] : 0 )); echo $to_echo; exit(); } Desweiteren möchte ich nur für die externe Verlinkung zum Profil ein extra Template benutzen, in dem auch nur bestimmte Infos (Realname, Alter, persönliches Photo, PM verschicken etc.). Wiederum vielen Dank im Vorraus imac Share this post Link to post