Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > General > Member Archives
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools
Has anyone already got mobile phone SMS working from vBulletin? Details »»
Has anyone already got mobile phone SMS working from vBulletin?
Version: , by HeadStAtE! HeadStAtE! is offline
Developer Last Online: Jun 2013 Show Printable Version Email this Page

Version: Unknown Rating:
Released: 07-03-2002 Last Update: Never Installs: 0
 
No support by the author.

Has anyone already done an SMS script, I performed a search but could only find requests, I just wondered as it would save me some work?

I've been up all night with an existing SMS class and have it working (sending SMS's successfully) from a vBulletin template but I've never documented or posted a hack here before so any advice would be appreciated.

Where can I find details on vBulletin variables to pass to the script?

Maybe a mod could shift this post to "Help Me Finish" if that's considered more appropriate - thanks...

Screenshot of work in progress:

Download Now

File Type: (21.3 KB, 110 views)

Show Your Support

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

Comments
  #2  
Old 07-03-2002, 06:34 AM
Admin's Avatar
Admin Admin is offline
Coder
 
Join Date: Oct 2023
Location: Server
Posts: 1
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

What kind of vBulletin variables do you need?
Reply With Quote
  #3  
Old 07-03-2002, 07:08 AM
HeadStAtE! HeadStAtE! is offline
 
Join Date: Feb 2002
Posts: 15
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

The username (as I'll include this to the end of the SMS (or maybe the userID) to prevent SMS spam abuse.

I'd also want to create three custom fields (hidden from public view) in the user cp profile which I'd need to pass to the SMS class:

1) The mobile number of the user.
2) The username on the chosen SMS portal (for example Genie - now O2).
3) The password on the chosen portal. I could also do with having the password encrypted in the database if this is possible.
Reply With Quote
  #4  
Old 07-03-2002, 07:15 AM
Admin's Avatar
Admin Admin is offline
Coder
 
Join Date: Oct 2023
Location: Server
Posts: 1
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

$bbuserinfo[userid] = user ID; $bbuserinfo[username] = username; $bbuserinfo[field#] = field number #.

Setup the custom profile fields from the Admin CP, note the profile field ID and use it as # in the example above.
Reply With Quote
  #5  
Old 07-03-2002, 07:21 AM
HeadStAtE! HeadStAtE! is offline
 
Join Date: Feb 2002
Posts: 15
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Firefly, thank you for that.

That's fairly straight forward. What about making the password field encrypted?
Reply With Quote
  #6  
Old 07-03-2002, 07:45 AM
Admin's Avatar
Admin Admin is offline
Coder
 
Join Date: Oct 2023
Location: Server
Posts: 1
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

What kind of encryption do you want to use?
Reply With Quote
  #7  
Old 07-03-2002, 07:56 AM
HeadStAtE! HeadStAtE! is offline
 
Join Date: Feb 2002
Posts: 15
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Is it possible to encrypt it in the same manner as the existing forum password (I'm assuming that's fairly well encrypted). My concern is that the same username/password combination used on some of the SMS portals are the same one the users would enter for their billing so must be protected.

Please bear in mind with any reply that I'm a PHP n00b, although I have a sound programming knowledge of other languages so have some sense.

Also is it not possible to refer to the custom field by name?
Reply With Quote
  #8  
Old 07-03-2002, 08:42 AM
HeadStAtE! HeadStAtE! is offline
 
Join Date: Feb 2002
Posts: 15
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally posted by FireFly
$bbuserinfo[field#] = field number #.

Setup the custom profile fields from the Admin CP, note the profile field ID and use it as # in the example above.
I can add custom fields in the admin CP.

But what is the ID, obviously I give each field a name, it has a display order too, and also a seperate ID which I can only find if I view the table via phpmyadmin?

When I refer to a field for example $bbuserinfo[10] I get one of the existing default fields like user title, or yahoo and such like.
Reply With Quote
  #9  
Old 07-03-2002, 08:46 AM
Admin's Avatar
Admin Admin is offline
Coder
 
Join Date: Oct 2023
Location: Server
Posts: 1
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

You need to use $bbuserinfo[field10]. And you canu use PHP's md5() for the hashing.
Reply With Quote
  #10  
Old 07-03-2002, 01:17 PM
Delmon Delmon is offline
 
Join Date: Nov 2001
Posts: 26
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

are you going tomake it as a hack?
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 01:26 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.04443 seconds
  • Memory Usage 2,310KB
  • Queries Executed 24 (?)
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
  • (1)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (6)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (1)pagenav_pagelink
  • (10)post_thanks_box
  • (10)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (10)post_thanks_postbit_info
  • (9)postbit
  • (1)postbit_attachment
  • (10)postbit_onlinestatus
  • (10)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