Hi,I wonder if it is possible to send the results to user uddeIM inbox? ๐
Thanks.
Thanks.
Hi postmanj,
Almost certainly Yes but I've never heard of uddeIm and have no idea which tables you'd need to write to :-(
Bob
Almost certainly Yes but I've never heard of uddeIm and have no idea which tables you'd need to write to :-(
Bob
Thanks Bob,Could you teach me a little bit how it can be done? 8)
Here is the download link of udde instant message:
http://www.slabihoud.de/software/id4001.htm
Beside this,There was 2 problem after enable watchman plug-in with "Watch user groups" and "Watch opening and closing dates"
1. {chronocontact}my_form_name{/chronocontact} ,this leds to a blank page.
2. index.php?option=com_chronocontact&chronoformname=my_form_name.
The form works great but some words display above the form AND the whole 'left menu' blank out and move below the end of the form on the left side..
Debug information
Params: JParameter Object ( [_raw] => redirect_url=index.php?option=com_content&view=article&id=80 debug=1 gid=18|19|20|21|30|23|24|25 redirect_message_users= open=01-05-2009 00:00 redirect_message_open= close=30-05-2009 00:00 redirect_message_close= days=1|2|3|4|5|6|0 redirect_message_days= open_time=00:00 redirect_message_open_time= close_time=00:00 redirect_message_close_time= [_xml] => [_elements] => Array ( ) [_elementPath] => Array ( [0] => /var/www/html/libraries/joomla/html/parameter/element ) [_defaultNameSpace] => _default [_registry] => Array ( [_default] => Array ( [data] => stdClass Object ( [redirect_url] => index.php?option=com_content&view=article&id=80 [debug] => 1 [gid] => Array ( [0] => 18 [1] => 19 [2] => 20 [3] => 21 [4] => 30 [5] => 23 [6] => 24 [7] => 25 ) [redirect_message_users] => [open] => 01-05-2009 00:00 [redirect_message_open] => [close] => 30-05-2009 00:00 [redirect_message_close] => [days] => Array ( [0] => 1 [1] => 2 [2] => 3 [3] => 4 [4] => 5 [5] => 6 [6] => 0 ) [redirect_message_days] => [open_time] => 00:00 [redirect_message_open_time] => [close_time] => 00:00 [redirect_message_close_time] => ) ) ) [_errors] => Array ( ) )
date("w"): 3 << Display above the form
No redirection - form is available.
Overall the form save me from big headache :mrgreen: I gonna pay the license but
Do you accept bank wire since i haven't any cards..? ๐ถ
Here is the download link of udde instant message:
http://www.slabihoud.de/software/id4001.htm
Beside this,There was 2 problem after enable watchman plug-in with "Watch user groups" and "Watch opening and closing dates"
1. {chronocontact}my_form_name{/chronocontact} ,this leds to a blank page.
2. index.php?option=com_chronocontact&chronoformname=my_form_name.
The form works great but some words display above the form AND the whole 'left menu' blank out and move below the end of the form on the left side..
Debug information
Params: JParameter Object ( [_raw] => redirect_url=index.php?option=com_content&view=article&id=80 debug=1 gid=18|19|20|21|30|23|24|25 redirect_message_users= open=01-05-2009 00:00 redirect_message_open= close=30-05-2009 00:00 redirect_message_close= days=1|2|3|4|5|6|0 redirect_message_days= open_time=00:00 redirect_message_open_time= close_time=00:00 redirect_message_close_time= [_xml] => [_elements] => Array ( ) [_elementPath] => Array ( [0] => /var/www/html/libraries/joomla/html/parameter/element ) [_defaultNameSpace] => _default [_registry] => Array ( [_default] => Array ( [data] => stdClass Object ( [redirect_url] => index.php?option=com_content&view=article&id=80 [debug] => 1 [gid] => Array ( [0] => 18 [1] => 19 [2] => 20 [3] => 21 [4] => 30 [5] => 23 [6] => 24 [7] => 25 ) [redirect_message_users] => [open] => 01-05-2009 00:00 [redirect_message_open] => [close] => 30-05-2009 00:00 [redirect_message_close] => [days] => Array ( [0] => 1 [1] => 2 [2] => 3 [3] => 4 [4] => 5 [5] => 6 [6] => 0 ) [redirect_message_days] => [open_time] => 00:00 [redirect_message_open_time] => [close_time] => 00:00 [redirect_message_close_time] => ) ) ) [_errors] => Array ( ) )
date("w"): 3 << Display above the form
No redirection - form is available.
Overall the form save me from big headache :mrgreen: I gonna pay the license but
Do you accept bank wire since i haven't any cards..? ๐ถ
Hi postmanj,
a) Sorry, I don't have time to look at uddeIM at the moment (it can take anything from 30 minutes to several hours to dig out the information you need).
b) You have Debug turned On in the Watchman Plugin
c) To remove the "date" message please open plugins/cf_watchman.php and look for this line
d) With debug on the form doesn't redirect - it just shows the debug info
e) Please contact Max directly about payments - use the Contact form here.
Bob
a) Sorry, I don't have time to look at uddeIM at the moment (it can take anything from 30 minutes to several hours to dig out the information you need).
b) You have Debug turned On in the Watchman Plugin
c) To remove the "date" message please open plugins/cf_watchman.php and look for this line
// Check day of the week
echo 'date("w"): '.print_r(date("w"), true ).'</div>';
around line 250-260 and remove it.d) With debug on the form doesn't redirect - it just shows the debug info
e) Please contact Max directly about payments - use the Contact form here.
Bob
Thanks Bob,after remove the date code,it work perfect for the options 2. ๐
however {/chronocontact} tag is a blank page while debug off.just let you know that.
I try with the uddeIM for few hours but no luck.
Glad that anybody here could lead me a direction :?
however {/chronocontact} tag is a blank page while debug off.just let you know that.
I try with the uddeIM for few hours but no luck.
Glad that anybody here could lead me a direction :?
Hi postmanj,
are you sure you have the same version of the component, the module and the mambot/plugin of Chronoforms ?
I suggest that you open your database and check the tables of uddeIM and see which table holds the inbox messages and write few PHP code lines to inject the data into this table, Chronoforms DB connection may help you but you should add the correct fields names to your form or to the onsubmit field!
Cheers
Max
however {/chronocontact} tag is a blank page while debug off
are you sure you have the same version of the component, the module and the mambot/plugin of Chronoforms ?
I try with the uddeIM for few hours but no luck.
I suggest that you open your database and check the tables of uddeIM and see which table holds the inbox messages and write few PHP code lines to inject the data into this table, Chronoforms DB connection may help you but you should add the correct fields names to your form or to the onsubmit field!
Cheers
Max
are you sure you have the same version of the component, the module and the mambot/plugin of Chronoforms ?
Thanks!I forgot go update the latest plugin of Chronoforms,Now perfect!๐
I suggest that you open your database and check the tables of uddeIM and see which table holds the inbox messages and write few PHP code lines to inject the data into this table, Chronoforms DB connection may help you but you should add the correct fields names to your form or to the onsubmit field!
below code to the onsubmit field but not work at all. Any ideas Max ๐คจ
<?php
$database = uddeIMgetDatabase();
$user =& JFactory::getUser();
$fromid = $user->fromid;
$toid = webmaster->toid;
$themode = 2;
$thepass=$pass;
if (!$thepass) { // no password entered, then fallback to obfuscating
$themode = 1;
$thepass= cryptkey; }
$cm = uddeIMencrypt($message,$thepass,CRYPT_MODE_BASE64);
$sql="
INSERT
INTO #__uddeim
SET fromid = '(int)$fromid',
toid = '(int)$toid',
replyid = '(int)$replyid',
message = '$cm',
datum = '$date',
cryptmode = '$themode',
crypthash = 'md5($thepass)';"
$database->setQuery($sql);
if (!$database->query()) {
die("SQL error when attempting to save a message" . $database->stderr(true));
}
$insID = $database->insertid();
return $insID;
}
?>
I have attached original code of uddeIM.
Hi postmanj,
The information for this line is missing (and the code looks as though it may be missing a $) :
Bob
The information for this line is missing (and the code looks as though it may be missing a $) :
$toid = webmaster->toid;
Other than that you'll need to either change the $database line or include the uddeIM database object here. Try replacing $database = uddeIMgetDatabase();
with $database =&JFactory::getDBO();
Bob
Hi,
webmaster, cryptkey and some function name are not defined, you may need to find how they are defined first and do the same before the code piece you added! then try to use static values for the insert query so you limit the range of problems!
Regards,
Max
webmaster, cryptkey and some function name are not defined, you may need to find how they are defined first and do the same before the code piece you added! then try to use static values for the insert query so you limit the range of problems!
Regards,
Max
This topic is locked and no more replies can be posted.