FrontlineSMS allows you to text message with large groups of people anywhere there is a mobile signal.
Tags: frontlinesms, wordpress
Permalink Reply by Axel Minet on January 15, 2012 at 5:38pm As I've come across this post asking how to create a WordPress post via FrontlineSMS, I've taken the liberty to modify your example plugin to do just that.
It can be found at https://gist.github.com/1617749
This is only a very stripped-down proof of concept and will simply use the SMS message as post title and post description (and create a draft post), but could eg be modified to use the keyword as a post category (as Fabian requested above).
Hope this comes in useful for someone...
Permalink Reply by kaka enindhita prakasa on January 17, 2012 at 8:03pm cool plugin :)
Permalink Reply by sudi on January 23, 2012 at 11:45am
Permalink Reply by Axel Minet on January 23, 2012 at 2:56pm Hi Sudi,
what exactly are you trying to achieve, and where are you struggling?
Permalink Reply by sudi on January 27, 2012 at 10:01am Well I m trying to interface with word press, I downloaded the latest wp-frontlinesms plugin, & installed , @ settings i get a page giving me a link with KEY , i guess which i am suppose to link in frontlinesms external trigger , which i did , still no sucess , i don't know i am missing somthing ... pls advice
Permalink Reply by Axel Minet on January 28, 2012 at 3:52pm there is an extra space after "kk=" (and before"</b>") on line 35 of frontlinesms_admin.php in kaka enindhita prakasa's plugin, which stops the link from working.
You can either edit that file, or manually remove the space from the link before pasting it into FSMS and it'll work...
Alternatively, the modified plugin I posted above *should* work as is - just upload the php file to your plugins directory and activate.
Do not try to run both plugins at the same time though, as they share a function of the same name and will cause an error.
Both of these plugins are not really suitable for installing on a production site as they are - they are a proof-of-concept and will need some work, but should point you in the right direction...
Permalink Reply by sudi on January 29, 2012 at 12:46am Thanks axel for reply,
but still i think i am missing somthing , as you commented, this is probably not the right way to go for production scenario , can u pls support on this ....
Permalink Reply by Axel Minet on February 1, 2012 at 9:04am Hi Sudi,
while I'm happy to help out with specific problems whenever possible, I do not have the time to write your software for you, especially without knowing what that software is supposed to achieve.
The above code successfully posts to WordPress, which is what you asked for.
I can think of a number of great community-journalism-type applications for this, and if there is a non-profit organisation that needs help implementing this in an interesting real-world case, I might be interested to get involved (time permitting).
For commercial use however I'm afraid I'll have to refer you to either FrontlineSMS's commercial support or a competent web developer.
Permalink Reply by sudi on February 12, 2012 at 10:46am HI Alex,
Thanks for your support,
finally it worked, i am still exploring the application ...
Thanks for suggestion .
BR
© 2013 Created by kiwanja.net.
Powered by