Receive an SMS alert whenever someone PMs you on TE!

Status
Not open for further replies.

avi

Keymaster
So, I was bored last sunday and I wrote this little script. It has no advanced features, you will just receive a sms alert saying who sent you the PM. In future versions, I plan to add more cool features.

Download the zip file from here : https://github.com/avinassh/forum-sms-notifier/archive/master.zip

or for geeks : https://github.com/avinassh/forum-sms-notifier.git

Open up config.py file and fill up the details. You also need an account on fullonsms.com Example config file would be :

Code:
forumLink = 'http://www.techenclave.com/community'
myForumUserName = 'avi'
myForumPassword = 'iamsocool'
myFullOnSMSUserName = '9845098450'
myFullOnSMSPassword = 'iamsocool'
myMobileNo = '9845098450'

Save it. And run the sendMeSMSonPM.py with Python (version 2.7). That's all !

Set up a cron job in *nix like machines so that you don't have to run the script again and again. And use Windows Task Scheduler if you are in Windows 7 or higher. More better instructions are here. The script just checks for unread PMs and sends you the sms.

Future plans :
  • Lil conversation description in the SMS.
  • Errors and exceptions handling.
  • Ability to add more than one forum.
  • To support various types of forum softwares (vBulletin and myBB next!).
  • Fallback if one sms provider fails.
  • Better way of specifying frequency to check for new private message.
  • Persistance. So that you don't keep on getting alerts for unread messages.
  • Add better read me and instructions.
Have any doubts ? Shoot!
 
Last edited:
^Thank you!

Anyone do let me know if anyone needs instructions to set up this thing in Windows Task Scheduler.
 
can you tell me, how the pm's are being forwarded via SMS ?

which sms gateway is being used, might help in sms marketing :D
 
can you tell me, how the pm's are being forwarded via SMS ?

which sms gateway is being used, might help in sms marketing :D
PMs are not forwarded. As of now.

Currently, the scripts checks for unread messages in your inbox, retrieves the sender name and sends you the sms. FullOnSMS is being used here. You need to have a account on that site.
 
Status
Not open for further replies.