.standalone-info{display:none !important}'; } if ($_SESSION['db_type'] == 1) { $prefix_guess = ""; } else { $result = $db->execute(" SHOW TABLES FROM " . $_SESSION['db_name'] . " "); if ($result AND $db->count_select() > 0) { $prefixs = array(); while ($row = $db->fetch_array($result)) { if (strpos($row[0], "_") === false) { } else { $end = strstr($row[0], "_"); $prefix = str_replace($end, "_", $row[0]); if (array_key_exists($prefix, $prefixs)) { $prefixs[$prefix]++; } else { $prefixs[$prefix] = 0; } } } $old_val = 0; foreach ($prefixs as $key => $val) { if ($val > $old_val) { $old_val = $val; $key2 = $key; } } if ($old_val >= 10) { $prefix_guess = $key2; } else { $prefix_guess = ""; } if ($prefix_guess == "arrowchat_" OR $prefix_guess == "searchtowords_" OR $prefix_guess == "sys_" OR $prefix_guess == "video_" OR $prefix_guess == "core_" OR $prefix_guess == "skin_" OR $prefix_guess == "blog_" OR $prefix_guess == "cms_" OR $prefix_guess == "posts_" OR $_SESSION['version'] == "ilias_v1") { $prefix_guess = ""; } } } if (!isset($_SESSION['db_prefix'])) $prefix_val = $prefix_guess; else $prefix_val = $_SESSION['db_prefix']; ?>

Enter the configuration details for your ArrowChat installation below. Make sure these details are correct or your installation will not work properly.

 

 

Choose your buddylist setup
Choose who can chat
Choose where to retrieve information
  • To enable a push server:
    1. Create an account here
    2. Wait for the confirmation email
    3. Enter your new API keys:
    API Key 1:

    API Key 2:
Complete your configuration details
The path where your ArrowChat installation is located (relative to your public_html or www folder). You probably don't need to change this.
We have automatically guessed your prefix to the left. If it is not correct, please enter your table's existing prefix. Sometimes the correct value is blank.

Database Details
In order for ArrowChat to connect with your existing database, we need some details about your database. Consult our custom installation guide if you need additional assistance with this.

The name of the table where your usernames and IDs are located
...and the name of the username field in that table
...and the name of the user ID field in that table
...and the name of the avatar field in that table. Fill this in with the user id field if none exists. Do not leave blank.
The name of the table where the friends data is located (Optional, if friend system exists)
...and the name of the user ID field in that table (Optional, if friend system exists)
...and the name of the friend ID in that table (Optional, if friend system exists)
...and the name of the field that determines if the users are friends. (Optional, if friend system exists)
$(document).ready(function() { $(".step2").removeClass("disabled"); $(".step2_input").removeAttr("disabled"); $("#'.$_SESSION['buddylist'].'").attr("checked", "checked"); $("#'.$_SESSION['buddylist'].'").parent().parent().css("border", "5px solid #017fd6"); if ($("#no_friend_system").is(":checked")) { $(".friends_table").css("display", "none"); } }); '; } if (!empty($_SESSION['who_chat'])) { ?>