Go Back   vb.org Archive > vBulletin Modifications > vBulletin 3.8 Modifications > vBulletin 3.8 Add-ons
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools
SMS Notify Details »»
SMS Notify
Version: 0.1, by Trek Trek is offline
Developer Last Online: May 2015 Show Printable Version Email this Page

Category: Add-On Releases - Version: 3.8.0 Rating:
Released: 03-02-2009 Last Update: 05-03-2009 Installs: 25
Uses Plugins
Re-useable Code Is in Beta Stage  
No support by the author.

Mod Version: 0.1 BETA
vB Version: 3.8.0 or higher (probably works on lower versions, but untested)

Description:

When users subscribe to threads in a forum you specify, they can be automatically SMS'd when there is an update. Only sends the most recent post.

Let me try and explain how this works. It uses the forums for it's integration, there are no custom pages, etc. This allows you to use all of vBulletins usergroup/forum settings to manage the access and whatnot.

I have a category called "SMS Notifications" Under that I have two forums. In the mod options, you set the PARENT forum ID. Basically any forums with this parent ID will be processed. This is the structure that I use.

SMS Notifications (category)
  • Commanders (forum)
    • SMS - We're meeting reminder! (Thread)
  • Members (forum)
    • SMS - We're under attack! (Thread)
    • SMS - We're all safe now! (Thread)
    • SMS - Servers status update (Thread)
I then set permissions for who can post and who can reply, etc on the forums as you normally would. Just in this case when you're doing it, think about who can send and SMS message. So basically only a few people have POST/REPLY and various people have READ.

The mod will hook events for replies only.

So, I create a separate thread for each "event" that people might need to be alerted about. The members then subscribe to the threads they would like to get a text message about.

Anytime a thread is replied to, all subscribers will get only the latest reply's text sent to them. The way it's setup with the forums also allows you to keep track of who is doing the paging, for what, etc. This doesn't interrupt the standard subscription emails from going out either. That way those without SMS can still get whatever updates if say they have email alerts on their phones or simply just want email subscriptions like normal.

Installation:

Create a new user profile field, this field will be used to contain your members SMS email address.

Import the product as normal.

Edit the options for the mod (Under vBulletin Options -> SMS Notify) in the Admin CP.

Make sure it's on.

Set the parent forum ID

Set the full variable name that you created earlier that holds the SMS email addresses.

Please note, this *IS BETA*. I use it currently, but there may be issues, etc. Please kindly report them here and I'll do my best to correct them. This is only my second vB mod and the other one was just a tweak of someone else's. I'm still learning and if you have tips/pointers, please feel free to suggest things!

Download Now

File Type: xml product-sms_notify.xml (10.8 KB, 200 views)

Screenshots

File Type: jpg sms_notify.jpg (90.0 KB, 0 views)

Show Your Support

  • This modification may not be copied, reproduced or published elsewhere without author's permission.

Comments
  #12  
Old 03-09-2009, 08:03 PM
cscimmia cscimmia is offline
 
Join Date: Feb 2009
Posts: 4
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

The xml file (product-sms_notify.xml) seems to be missing some info. There are no parameters listed for "Options". In fact, there's only a close tag for options... <options /> No open tag and nothing in between!
Reply With Quote
  #13  
Old 03-09-2009, 08:22 PM
Trek Trek is offline
 
Join Date: Sep 2003
Posts: 664
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by cscimmia View Post
The xml file (product-sms_notify.xml) seems to be missing some info. There are no parameters listed for "Options". In fact, there's only a close tag for options... <options /> No open tag and nothing in between!
Sorry it's taken me so long, I'll check into it again today, just had a lot going on. =)
Reply With Quote
  #14  
Old 03-09-2009, 08:26 PM
Trek Trek is offline
 
Join Date: Sep 2003
Posts: 664
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I just exported it again to see. I have open and close tags for options, it's just not grabbing the options for some reason. No idea... I'll see what I can do.
Reply With Quote
  #15  
Old 03-09-2009, 08:38 PM
Trek Trek is offline
 
Join Date: Sep 2003
Posts: 664
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Ok, I've gone back and made sure the settings were under the correct product, I've changed the product, resaved it, changed it back, resaved, etc... nothing seems to work. No idea why the options aren't being included... I'll keep working on it.
Reply With Quote
  #16  
Old 03-09-2009, 08:49 PM
cscimmia cscimmia is offline
 
Join Date: Feb 2009
Posts: 4
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Thanks again for all your help Trek. I'm really excited about seeing this mod work so keep up the good work! I know life sometimes gets in the way too so please don't apologise when you aren't able to reply for a few days! LOL
Reply With Quote
  #17  
Old 03-09-2009, 08:54 PM
Trek Trek is offline
 
Join Date: Sep 2003
Posts: 664
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Thanks for understanding. =) I just deleted the settings group I was using, recreated it from scratch and it still won't export. I'll do some more looking around. =/ It obviously works, I use it on my own site. heh
Reply With Quote
  #18  
Old 04-09-2009, 03:06 PM
MrAgent MrAgent is offline
 
Join Date: Mar 2005
Posts: 7
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Any updates? I would like to deploy this on my site.
Reply With Quote
  #19  
Old 05-04-2009, 06:05 PM
Trek Trek is offline
 
Join Date: Sep 2003
Posts: 664
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Ok, I finally updated the mod, it should install correctly now. I apologize for the long delay in releases, etc.

In any case, please let me know if you have any issues with this release. I've exported it and reinstalled it on my own forums and it's working without issue.
Reply With Quote
  #20  
Old 05-12-2009, 03:33 AM
dancue dancue is offline
 
Join Date: Feb 2008
Posts: 569
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Can it be made to allow user to input only the phone number? The majority of users will not know what their phone's e-mail address is.

Also, can you have the option for the user to be automatically added to the sms list? (automatically subscribed) They could be given the option in the profile field to select (yes or no) if they would like to receive free text alerts. I'd like to steer them away from having to go to two different places in order to achieve their goal.
Reply With Quote
  #21  
Old 05-12-2009, 04:48 PM
bbcentral's Avatar
bbcentral bbcentral is offline
 
Join Date: Apr 2006
Location: Australia
Posts: 96
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by dancue View Post
Can it be made to allow user to input only the phone number? The majority of users will not know what their phone's e-mail address is.
That wouldn't work.
For example in Australia they could enter '0412345678' as their phone number
But the script would have no idea what their SMS email address is.
It could be:
0412345678@three.com.au
0412345678@optus.com.au
0412345678@virginmobile.com.au
0412345678@telstra.com.au
0412345678@vodafone.com.au
The numbers can't be matched to a particular carrier based on the prefix either, because it's possible to transfer the number between carriers (I've had the same number with 4 companies personally).

The only way around that would be to have a list of every single mobile carrier in the world, and have the user choose their mobile network when they enter their number, ie:
Number: (Enter Number)
Carrier: (Select)

But the advantage of doing it this way is that because they can specify an email address, they could also put in their Blackberry address and get short notifications sent there. Or if they have a mobile email account, they could enter that instead.

It's a great idea for a mod! I like it
Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 04:55 AM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2024, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.04838 seconds
  • Memory Usage 2,324KB
  • Queries Executed 26 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (2)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (4)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (3)pagenav_pagelink
  • (11)post_thanks_box
  • (11)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (11)post_thanks_postbit_info
  • (10)postbit
  • (2)postbit_attachment
  • (11)postbit_onlinestatus
  • (11)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_attachment
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete