By Manish Arora on Wednesday, 28 May 2014
Posted in General Issues
Replies 3
Likes 0
Views 632
Votes 0
i need to do this

when a new discussion is created
{
Run some code
also get the user id of creator
}



when a reply is added
{
run some code
also get user id of participants
}
Hello Manish,

You can tweak the codes in this files:
\components\com_easydiscuss\controllers\posts.php .
\components\com_easydiscuss\themes\simplistic\form.new.php .
\components\com_easydiscuss\themes\simplistic\form.reply.php .

I am sorry but can you explain to us what you're trying to achieve?

Hope this will help.
Thanks.
·
Wednesday, 28 May 2014 17:14
·
0 Likes
·
0 Votes
·
0 Comments
·
please help me with this ,i need to do 2 things
1) Send SMS to a set of premium user whenever there is a new discussion is created
2) Send SMS to all users in a existing discussion whenever a new reply is made

i can get mobile numbers from joomsocial for a given userid


Here is SMS API
<?php

//Your authentication key
$authKey = "YourAuthKey";

//Multiple mobiles numbers seperated by comma
$mobileNumber = "9999999";

//Sender ID,While using route4 sender id should be 6 characters long.
$senderId = "102234";

//Your message to send, Add URL endcoding here.
$message = urlencode("$discussion_title");

//Define route
$route = "default";
//Prepare you post parameters
$postData = array(
'authkey' => $authKey,
'mobiles' => $mobileNumber,
'message' => $message,
'sender' => $senderId,
'route' => $route
);

//API URL
$url="http://sms.msgdaddy.com/sendhttp.php";
·
Friday, 30 May 2014 19:26
·
0 Likes
·
0 Votes
·
0 Comments
·
Hello Manish,

I am really sorry but we do not provide support for customizations. If you want us to integrate this with your sms provider, you can always contact us at https://crm.stackideas.com and inquire for a quote

Thanks for understanding!
·
Saturday, 31 May 2014 15:26
·
0 Likes
·
0 Votes
·
0 Comments
·
View Full Post