vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   Modification Graveyard (https://vborg.vbsupport.ru/forumdisplay.php?f=224)
-   -   Integration with vBulletin - Text Messaging (SMS) for vBulletin 4.0 (https://vborg.vbsupport.ru/showthread.php?t=235208)

robwoelich 02-06-2010 10:00 PM

Text Messaging (SMS) for vBulletin 4.0
 
June 2014: I just realized that this thing was still around after getting a random PM about it - I may have some short-term plans to redo this, but for now I'm pulling the files because it's been so long and I have no idea if anything still works. At one point I bought a vB Suite license for 4.1 (at the time, I have no idea where vB is at now) so I'll poke around and see if it'll be practical to update this.

Original description text still below.

Text Messaging for vBulletin does what it implies - adds text messaging functions to your forums! Users can set up their cell phone number and sign up for notifications of a new private message or visitor message received. The forum will send them a text message in close to real time, letting them know about their new message wherever they might be.

Updated 2-15-2010 6:30AM GMT to add support for T-Mobile and Virgin Mobile.

This is being brought back from when I retired it in 2008 from vB 3.7, I think it was. It's been redesigned from scratch to be more reliable, as well as compatible with vB 4.0. It is not yet compatible with vBulletin 3.8 - I'll be working on downgrading it within the next week or so.

This version supports Alltel, AT&T, Sprint, T-Mobile, Virgin Mobile and Verizion cell phone numbers. It is a light version of a bigger modification - you can learn more about the full version here. Please note that I will only answer question or otherwise discuss the full version modification via my website.

Features:
- Compatible with Alltel, AT&T, Sprint, T-Mobile, Virgin Mobile and Verizon cell phones
- Allows users to receive text messages when they receive a new PM or visitor message
- PIN verification ensures number ownership and saves forum resources
- Users can be reached by your forum wherever they are, any time of day
- Nearly fully phrased (including the text of the text messages), making translation easy

Live Demo:
A live demo can be found on my Demonstration Forums at this link. Please note that registration is required to set up text messaging, as there's no way to store your user info as a guest, obviously.

Screenshots:
Attached to this post. Also, I thought the picture with my phone turned out cool. And as for the 2016 date, it's an HTC phone plagued by a Windows Mobile date display glitch... haha.

Support:
I will provide support whenever I can - I've been pretty good about it lately. Please click Install before asking for support.

I also appreciate it when you support me by purchasing the full versions of the free products you get a lot of use out of. :)

robwoelich 02-07-2010 05:03 AM

This post is designed to answer common questions and troubleshoot issues. It should contain the extent of my knowledge and/or ability to help you with the Text Messaging modification, so if myself or someone else has directed you here, please take the time to read what I've put together for you.

Please note that as per Paul M, all discussion of the full/"commercial" version of this modification is to be kept to private message or my website. His post stating such can be seen here.



General FAQ About the Product and the Texting Process

Q: How does the modification work?
A: The modification can send texts to your users from your forum at no charge to the forum, and generally no charge to the user (though this depends on their cell phone company). Sending texts, for all practical purposes, is basically done by email as far as your forums are concerned. Emails are translated by the cell phone companies, who then turn them into texts and get them to the user. That's the long and short of it.

Q: Is there any cost associated with this modification?
A: Not to you as the forum owner to use the system and send the texts. And more often than not, there is also no cost to the user to receive texts, but that depends entirely on the user's cell phone plan and not by me. For example, if the user has to pay (according to their contact) to receive texts, they have to pay for them regardless of whether the text is received from your forum or from another cell phone. And while most users should know if that's the case and they don't get free texting, a disclaimer is made anyway during the text messaging setup process.

Q: Something something full version something?
A: I will no longer discuss the full version modification here on vBulletin.org, but don't think that means I don't want to talk to you about it or I don't care what you think. Contact me by PM or on my website and I'll talk to you about it all you want. This decision/policy has been backed by Paul M.

Q: Why are there so few companies? / Your previous modification had a ton more companies?
A: This is a simple two-part answer.
  • Only settings for companies that are verified to be working are being included in this version.
  • Support for more companies is being added on a regular basis as I can continue to verify that there are no issues with those companies and with the modification itself.
Please have patience as I verify new company entries and add them to the modification. I'm not withholding them because I'm mean, rather I'm trying to control the use and release of the modification and expand it slowly so I don't release something that's broken to hundreds or thousands of people at once.

Q: Can you add my company, _____?
A: You can send me a message on my website requesting for me to do so (don't PM me here, they pile up and I don't have a good way to organize/manage them), but please read the above answer first.

Companies will be added at the rate of approximately two per week, for as long as I have a supply of ones that can be verified to work. After that, I may request volunteers to help test companies I can't verify myself. Keep an eye on the thread and/or modification description if you're interested in helping with that.

Q: Can I change the email / "from" address that appears on the texts?
A: Not really, because how the "from" field on a text message is handled depends on the cell phone company. Some companies show the "from" email as set in the email headers, others show the email address associated with a hosting account, and others just display a random number. These have all been observed regardless of what has been set in email headers in the past.

Since the companies all process the messages differently, there isn't really a way to standardize how the "from" address appears. To help avoid user confusion, I have included your forum title in every message sent out.



Quick Troubleshooting and Problems/Solutions

P: Can't "turn on" texting in usergroups/usergroup permissions:
S: Upload the bitfield XML to /includes/xml/ before you import the product XML.

P: No menu option to set up texting in the User CP:
S: Verify texting is turned on in Admin CP > vBulletin Options > Text Messaging Options. Your User CP templates may have also been modified and are missing the template hook at the bottom of the menu, or another modification is using that template hook incorrectly (YAFB has been known to do this).

Compare your User CP templates to the default ones, or in the case of YAFB, set the User CP Menu plugin to execute after YAFB's (usually execution order 6 or higher).

P: Not receiving the confirmation PIN:
S: Incorrect cell phone number, number format, and/or company selected. Ensure you have selected the proper company, and in the case of U.S. numbers, entered the 10 digit number without spaces or additional characters (1234567890). Alternatively, user is not able to receive text messages as per their contract or has disabled texting.

P: Clicking the "resend PIN" link causes 500 / Internal Server Error:
S: At the bottom of the User CP Text Messaging Options plugin (the very bottom lines), change mail( ... ) to vbmail( ... ), leaving whatever's between the ( ) intact.

P: Not receiving texts, but receiving the confirmation PIN:
S: Verify usergroup has texting permissions (including secondary usergroups), and verify texting is enabled in User CP > Edit Options (both globally, and for each notification type, i.e. private messaging).

P: Anything else:
S: Post it and I'll look into it, and then it will probably end up here. :)

cory_booth 02-07-2010 05:55 AM

Woot!

Awesome!

TimberFloorAu 02-07-2010 06:03 AM

Good Work Rob.

Cannot see what the paid version covers in terms of Country and Carriers

Also little unclear as to what a license covers, if I have 8000 members and 10% of those want to use this system, am I right in thinking the paid version costs me 800 x $2.50 per month ?

ahmedipa 02-07-2010 06:07 AM

very good mod

edytwinky 02-07-2010 06:30 AM

Sucks Sprints not involved on this

robwoelich 02-07-2010 06:44 AM

Quote:

Originally Posted by TimberFloorAu (Post 1976457)
Good Work Rob.

Cannot see what the paid version covers in terms of Country and Carriers

Also little unclear as to what a license covers, if I have 8000 members and 10% of those want to use this system, am I right in thinking the paid version costs me 800 x $2.50 per month ?

You can see the full list of current countries and carriers on my demo forum if you go through the process of setting up your own number there. Leave the search box blank and it will return a list of all cell phone providers in all countries.

For the licensing, you'd be correct. The idea behind the user licenses, though, is that you'd have enough users who would actually purchase paid subscriptions to support that. So in your example, your licensing fees would be 800 x $2.50, but your income would be the same at $5/subscription. :cool: Obviously the per user license is not going to be the best solution for all forums, which is why the other full version option is one reasonable price regardless of the number of users.

This probably isn't the best place to discuss full version licensing, though... I'd be happy to talk more about it via PM or via my website. :)

ToNetU 02-07-2010 07:21 AM

why you force us to register to your forum just to see the full list of current countries and carriers!!!
please put it here and share it with us! i don't want to register! just to see if i like it or not

TimberFloorAu 02-07-2010 07:23 AM

THe free version comes with 2 , he has mentioned that. So no need for you to register anywhere

robwoelich 02-07-2010 07:43 AM

Quote:

Originally Posted by ToNetU (Post 1976486)
why you force us to register to your forum just to see the full list of current countries and carriers!!!
please put it here and share it with us! i don't want to register! just to see if i like it or not

The only reason you'd need to register on my demo forum is if you're considering purchasing one of the full version products. And I would recommend doing so if that were the case, as it would be silly to not thoroughly test out the text messaging system as it's installed on my forum before purchasing it. :up:

This free product includes two companies. They are listed in the modification description. :)

Bluefin221 02-07-2010 08:32 AM

I was always interested in this but could never get Vodafone UK to work, I hadn't even attempted other numbers or networks as I couldn't get my own to work.

Zaiaku 02-07-2010 01:06 PM

If Tmo was added to the list it would of been perfect. My members are mostly ATT and Tmo. Maybe if I wait there may be an update with them.

paratek 02-07-2010 01:09 PM

When i send a test PM to my admin account this error pops up
Parse error: syntax error, unexpected $end in /home/XXXXXX/public_html/forum/includes/functions_txt.php on line 90

THe PM still goes through. Had to uninstall for the time being

Seeing how Admins are going to be the bulk of people installing this, it would have been nice to have the "notify on new registrations" added to the free version.

molieman 02-07-2010 01:37 PM

Got all excited when I saw this and downloaded the free version. Then looked at limitations, it had to be connect to authors server... OUCH. Do not want to depend on a other server!!!

Then the limitations of phone companies (free version)... OUCH just two????? and if I want more phone companies, I would have to go to the full version and pay $89.99 a year. No thank you, I've got enough costs to run my site.

robwoelich, this is a fantastic product, but a bit too rich for me. Too bad for me.... :(

Datenpapst 02-07-2010 01:41 PM

too bad this isnt for european phone companies like Orange or T-Moblie ;)

cory_booth 02-07-2010 02:39 PM

Not picking up my database prefix

PHP Code:

UPDATE user SET xxx_txtoptions 'a:2:{s:2:\"co\";s:7:\"Verizon\";s:3:\"dom\";s:9:\"vtext.com\";}'
            
WHERE userid '1'
            
LIMIT 1;

MySQL Error   Table 'domain_xxx.user' doesn't exist
Error Number  : 1146
Request Date  : Sunday, February 7th 2010 @ 09:36:40 AM
Error Date    : Sunday, February 7th 2010 @ 09:36:40 AM
Script        : http://xxx.com/profile.php?do=updatetxtnumber
Referrer      : http://xxx.com/profile.php?do=edittxtnumber
IP Address    : 71.163.243.11
Username      : yyy
Classname     : vB_Database_MySQLi
MySQL Version : 5.1.43 


cory_booth 02-07-2010 02:50 PM

OK something messed up.
I added my domain to the SQL and now I get:
"unknown column xxx_txtoptions"
I think the SQL prefix call is in the wrong spot for all the SQLs

Currently it says
UPDATE user SET xxx_txtoptions

Should be:
UPDATE xxx_user SET txtoptions

????

drummaster 02-07-2010 03:11 PM

A good mod but i registerd on your site but sorry to say o2 uk didnt work for me a shame really.

ndut 02-07-2010 04:04 PM

only supports AT&T and Verizion cell phone numbers???

indonesian phone numbers, cannot??? :(

carrlos 02-07-2010 04:31 PM

Interesting. Tagged.......

robwoelich 02-07-2010 04:37 PM

Quote:

Originally Posted by cory_booth (Post 1976690)
I think the SQL prefix call is in the wrong spot for all the SQLs

Currently it says
UPDATE user SET xxx_txtoptions

Should be:
UPDATE xxx_user SET txtoptions

My bad - I don't use prefixes so I didn't catch this. I've updated the product file and uploaded the new ZIP. Thanks!

imported_pmay68 02-07-2010 04:53 PM

Quote:

Originally Posted by paratek (Post 1976615)
When i send a test PM to my admin account this error pops up
Parse error: syntax error, unexpected $end in /home/XXXXXX/public_html/forum/includes/functions_txt.php on line 90

THe PM still goes through. Had to uninstall for the time being

Seeing how Admins are going to be the bulk of people installing this, it would have been nice to have the "notify on new registrations" added to the free version.

I too am having the same error message..

JasonReynolds 02-07-2010 04:54 PM

Need it in european aswell please.

robwoelich 02-07-2010 05:42 PM

Quote:

Originally Posted by imported_pmay68 (Post 1976781)
I too am having the same error message..

I just now uploaded a new version of functions_txt.php within the ZIP file, try that one and let me know if you still have issues. :)

robwoelich 02-07-2010 05:44 PM

Quote:

Originally Posted by drummaster (Post 1976710)
A good mod but i registerd on your site but sorry to say o2 uk didnt work for me a shame really.

O2 UK has been known to work before - I'm unfamiliar with the number format or country codes that need to be entered with the phone number, though. Also, I believe you also need to enable "mobile email" or something like that through O2 before you'll receive messages.

AzzidReign 02-07-2010 05:55 PM

This is awesome! Thanks.

Kolbi 02-07-2010 06:02 PM

Theres the full list of avaible providers?

imported_pmay68 02-07-2010 06:16 PM

Quote:

Originally Posted by robwoelich (Post 1976807)
I just now uploaded a new version of functions_txt.php within the ZIP file, try that one and let me know if you still have issues. :)

Nope sorry now get this error:

Parse error: syntax error, unexpected $end in /home/scootin1/public_html/forums/includes/functions_txt.php on line 92

woffie 02-07-2010 06:40 PM

Another demo mod advertisement for a paid mod. They should just have a paid mods section here.

BlackJacket 02-07-2010 06:46 PM

Really great product but way too expensive for pro. Maybe you could add the top three or four carriers to the free version?

Tagged.

robwoelich 02-07-2010 06:50 PM

Quote:

Originally Posted by imported_pmay68 (Post 1976826)
Nope sorry now get this error:

Parse error: syntax error, unexpected $end in /home/scootin1/public_html/forums/includes/functions_txt.php on line 92

That's odd. Can you PM me a link to your forum? :)

robwoelich 02-07-2010 06:51 PM

Quote:

Originally Posted by NittoMOD (Post 1976844)
Really great product but way too expensive for pro. Maybe you could add the top three or four carriers to the free version?

Tagged.

I will most likely do so shortly. The current idea is to verify the vB 4.0 version doesn't have any critical bugs before it ends up with such wide use.

BlackJacket 02-07-2010 07:02 PM

Quote:

Originally Posted by robwoelich (Post 1976848)
I will most likely do so shortly. The current idea is to verify the vB 4.0 version doesn't have any critical bugs before it ends up with such wide use.

Thanks Rob. We all appreciate it greatly and im sure this Mod will be a hit!

robwoelich 02-07-2010 07:10 PM

Quote:

Originally Posted by imported_pmay68 (Post 1976826)
Nope sorry now get this error:

Parse error: syntax error, unexpected $end in /home/scootin1/public_html/forums/includes/functions_txt.php on line 92

Never mind my last comment, I found the issue. It was a missing bracket in the functions_txt.php file. I've corrected the issue for sure and have updated the ZIP file with the new file. Thanks! :)

BlackJacket 02-07-2010 07:12 PM

Is it possible to also receive a text when someone replies to a specific forum such as "announcements" etc... and when someone replies to a thread you have created?

robwoelich 02-07-2010 07:30 PM

Quote:

Originally Posted by NittoMOD (Post 1976865)
Is it possible to also receive a text when someone replies to a specific forum such as "announcements" etc... and when someone replies to a thread you have created?

Possible, yes, but not yet implemented.

For the first example, I would have to set up settings for users to specify which forums they wanted texts about/on new threads versus new replies/etc. This will probably be practical within the next version or two of Text Messaging.

For the second example, one of my originally intended notification types/methods was to send a text in accordance with thread subscriptions, i.e. whatever your thread subscription settings were to trigger an email, they would also trigger a text. The problem with that, though, is that the way the subscription notifications are set up with vBulletin, the messages would have to be modified to be text-friendly (160 chars). Until I could figure out a good way to do this, particularly with daily and weekly subscriptions where multiple threads are listed in an email, I decided to hold off. This will also probably be added at some point.

I'd like to find a lot more notification methods/options to add in future versions, and started with the general ones that I thought would be useful. As new versions of Text Messaging come out, though, you're likely to see more notifications options/methods. :)

edytwinky 02-07-2010 07:30 PM

Sounds extremely intriguing. Not sure if its worth the $89 or whatever since i'm not sure how much use it'll get but nonetheless, a very good mod.

If Sprint and T-Mobile get added to the freebie part, i'll surely add this on.

drummaster 02-07-2010 08:15 PM

Quote:

Originally Posted by robwoelich (Post 1976808)
O2 UK has been known to work before - I'm unfamiliar with the number format or country codes that need to be entered with the phone number, though. Also, I believe you also need to enable "mobile email" or something like that through O2 before you'll receive messages.

Well I have got everything set up mobile email mms you name it i got it but still not working on o2 uk

The area code is +44 and I cant get this to work from your site.

woffie 02-07-2010 08:42 PM

Quote:

Originally Posted by edytwinky (Post 1976876)
Sounds extremely intriguing. Not sure if its worth the $89 or whatever since i'm not sure how much use it'll get but nonetheless, a very good mod.

If Sprint and T-Mobile get added to the freebie part, i'll surely add this on.

Me too

GrossKopf 02-07-2010 08:56 PM

The Text Messaging section is not appearing in my User CP.


All times are GMT. The time now is 05:25 PM.

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.01457 seconds
  • Memory Usage 1,856KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)bbcode_php_printable
  • (14)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (2)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (40)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.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/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.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
  • printthread_start
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete