Program O
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
Support Staff 2 Posted by Adam Kalsey on 29 Jan, 2010 12:33 AM
I'm not familiar with Program O, but it should be possible to adapt
the code I wrote to work with it.
3 Posted by Gautam on 05 Feb, 2010 07:57 AM
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
4 Posted by mlucas on 15 Oct, 2010 05:39 PM
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
5 Posted by Armin on 14 Nov, 2011 04:58 AM
Hi,
I have he same problem. How can I use Program O with imified?
6 Posted by Armin on 15 Nov, 2011 04:16 AM
Does this code is working for program o for use with imified?