Program O

Gautam Rao's Avatar

Gautam Rao

28 Jan, 2010 06:50 AM via web

Hi,

I asked a question recently about integrating the IMified service with Alice, and I used Program E with the imified.php file you told me to use. Can I do the same thing with Program O? Program O is an extension of Program E with admin support. I was wondering where do I place the imified script so that it works with Program O.

Thanks,
Gautam

  1. Support Staff 2 Posted by Adam Kalsey on 29 Jan, 2010 12:33 AM

    Adam Kalsey's Avatar

    I'm not familiar with Program O, but it should be possible to adapt
    the code I wrote to work with it.

  2. 3 Posted by Gautam on 05 Feb, 2010 07:57 AM

    Gautam's Avatar

    Hi,

    I tried modifying the code a bit, but I've hit a bit of a roadblock. The code you had provided me for Program E, which I tried modifying looks like this now:

    <?php
    include "response_handler.php";
    $user = md5($POST['user'] .'@'. $POST['network']); $botresponse=checkresponse($_POST['msg'], $user, $response_Array['bot']); echo $botresponse->response;
    ?>

    The file that seems to be similar to Program E's "response.php" is "response_handler.php" in Program O. The main method, that seems to be equivalent to Program E's "replybotname" is "checkresponse". It takes as it's arguments, an array $response_Array that seems to contain all the information, from the user to the bot.

    I'm guessing the $_POST and $user are both related to IMified, and should be included somehow in the final file. I've attached response_handler.php and chat.php (another php file in Program O) as reference.

    Thanks,
    Gautam

  3. 4 Posted by mlucas on 15 Oct, 2010 05:39 PM

    mlucas's Avatar

    Sorry for the late response regarding your issue. Is this still an issue that you are currently experiencing? I will be monitoring this page for a reply and I look forward to helping resolve this for you.

    -Matt Lucas
    IMified Support

  4. 5 Posted by Armin on 14 Nov, 2011 04:58 AM

    Armin's Avatar

    Hi,
    I have he same problem. How can I use Program O with imified?

  5. 6 Posted by Armin on 15 Nov, 2011 04:16 AM

    Armin's Avatar

    Does this code is working for program o for use with imified?

Reply to this discussion

Internal reply

Formatting help or Preview

Attached Files

You can attach files up to 10MB

What number comes after 20?

If you don't have an account yet, we need to confirm you're human and not a machine trying to post spam.