 | [Solved]SMS Contact Form |  |
Posted: 06/26/2007 4:47 PM |
|
|
|
|
|
| Citation |
| Posts |
487 |
| Word Cnt. |
35,729 |
| BDay |
Oct 3 |
| Sign |
Libra |
| Sex |
 |
|
|
|
Joined: Oct 29, 2006
Local time: 7:22 PM
Location: Klang, Malaysia
|

|
|
|
|
 |
This MOD i added long time edi.but i didnt can success to use it.Coz i dunno at the last indrustion :
## Author Notes:
## You will need to know your cell phone email address.This is usally in a from of you do not know your cell phone email address(SMS Address,etc) then talk to your provider.MOD Author is not responabile for any text message or any other charges billed on your phone,it is your problem,not mine
Where do i get the cell phone emaill address? <<Does i can change the phone number since my old phone was lost.Just want to know where to get my OWN cell phone emaill adrss?
Here is the MOD ~~
| Code:
|
##############################################################
## MOD Title: SMS Contact Form
## MOD Author: Shof515 < > (Shaun) http://shof515.com
## MOD Author, Secondary: Thoul < (N/A) > (N/A) http://darkmods.sourceforge.net/
## MOD Description: This will a add a page where a user can send you a SMS Message thru your phone.Admins can disable or enable the SMS Contact Form from the admin panel
## MOD Version: 1.3.0
##
## Installation Level: Easy
## Installation Time: 5-10 Minutes
## Files To Edit: admin/admin_board.php
## admin/index.php
## includes/constants.php
## includes/page_header.php
## language/lang_english/lang_admin.php
## language/lang_english/lang_main.php
## templates/subSilver/admin/board_config_body.tpl
## templates/subSilver/overall_header.tpl
## sms.php
## viewonline.php
## Included Files:sms.php
## sms_install.php
## templates/subSilver/images/icon_mini_sms.gif
##############################################################
## For Security Purposes, Please Check: http://www.phpbb.com/mods/ for the
## latest version of this MOD. Downloading this MOD from other sites could cause malicious code to enter into your phpBB Forum. As such, phpBB will not offer support for MOD's not offered in our MOD-Database, located at: http://www.phpbb.com/mods/
##############################################################
## Author Notes:
## You will need to know your cell phone email address.This is usally in a from of you do not know your cell phone email address(SMS Address,etc) then talk to your provider.MOD Author is not responabile for any text message or any other charges billed on your phone,it is your problem,not mine
##############################################################
## MOD History:
## 2003-12-31 - Version 1.0.0
## - first verison of my first phpBB modification
## 2004-01-10 - Version 1.2.2
## - Fixed a few things
## 2004-01-14- Verison 1.2.5
## - Thanks to Wappy(http://www.wappyme.co.uk) for making me a icon
## 2004-07-22- Verison 1.3.0
## - Major Upgrade,added a section in the admin panel to enable or disable the form,uses the phpBB files
##############################################################
## Before Adding This MOD To Your Forum, You Should Back Up All Files Related ## To This MOD
##############################################################
#
#-----[ COPY ]------------------------------------------
#
sms.php
sms_install.php
templates/subSilver/images/icon_mini_sms.gif
#
#-----[ SQL ]------------------------------------------
#
INSERT INTO phpbb_config (config_name, config_value) VALUES ('sms_disable', '0');
or run the sms_install.php
#
#-----[ OPEN ]------------------------------------------
#
admin/admin_board.php
#
#-----[ FIND ]------------------------------------------
#
$disable_board_no = ( !$new['board_disable'] ) ? "checked=\"checked\"" : "";
#
#-----[ AFTER ADD ]------------------------------------------
#
// SMS Contact
$disable_sms_yes = ( $new['sms_disable'] ) ? "checked=\"checked\"" : "";
$disable_sms_no = ( !$new['sms_disable'] ) ? "checked=\"checked\"" : "";
// SMS Contact
#
#-----[ FIND ]------------------------------------------
#
"L_DISABLE_BOARD_EXPLAIN" => $lang['Board_disable_explain'],
#
#-----[ AFTER ADD ]------------------------------------------
#
// SMS Contact
"L_DISABLE_SMS" => $lang['sms_disable'],
"L_DISABLE_SMS_EXPLAIN" => $lang['sms_disable_explain'],
// SMS Contact
#
#-----[ FIND ]------------------------------------------
#
"S_DISABLE_BOARD_NO" => $disable_board_no,
#
#-----[ AFTER ADD ]------------------------------------------
#
// SMS Contact
"S_DISABLE_SMS_YES" => $disable_sms_yes,
"S_DISABLE_SMS_NO" => $disable_sms_no,
// SMS Contact
#
#-----[ OPEN ]------------------------------------------
#
admin/index.php
#
#-----[ FIND ]------------------------------------------
#
case PAGE_FAQ:
$location = $lang['Viewing_FAQ'];
$location_url = "index.$phpEx?pane=right";
break;
#
#-----[ AFTER, ADD ]------------------------------------------
#
// SMS Contact
case PAGE_SMS:
$location = $lang['SMS_Contact'];
$location_url = "sms.$phpEx?pane=right";
break;
// SMS Contact
#
#-----[ FIND ]------------------------------------------
#
case PAGE_FAQ:
$location = $lang['Viewing_FAQ'];
$location_url = "index.$phpEx?pane=right";
break;
#
#-----[ AFTER, ADD ]------------------------------------------
#
// SMS Contact
case PAGE_SMS:
$location = $lang['SMS_Contact'];
$location_url = "sms.$phpEx?pane=right";
break;
// SMS Contact
#
#-----[ OPEN ]------------------------------------------
#
includes/constants.php
#
#-----[ FIND ]------------------------------------------
#
define('PAGE_GROUPCP', -11);
#
#-----[ AFTER, ADD ]------------------------------------------
#
// SMS Contact
define('PAGE_SMS', -4444);
// SMS Contact
#
#-----[ OPEN ]------------------------------------------
#
includes/page_header.php
#
#-----[ FIND ]------------------------------------------
#
'U_GROUP_CP' => append_sid('groupcp.'.$phpEx),
#
#-----[ AFTER, ADD ]------------------------------------------
#
// SMS Contact
'L_SMS' => $lang['SMS_Contact'],
'U_SMS' => append_sid('sms.'.$phpEx),
// SMS Contact
#
#-----[ OPEN ]------------------------------------------
#
language/lang_english/lang_admin.php
#
#-----[ FIND ]------------------------------------------
#
$lang['Board_disable_explain'] = 'This will make the board unavailable to users. Administrators are able to access the Administration Panel while the board is disabled.';
#
#-----[ AFTER ADD ]------------------------------------------
#
// SMS Contact
$lang['sms_disable'] = 'Disable SMS Contact Form';
$lang['sms_disable_explain'] = 'This will make SMS Contact Form unavailable to users.';
// SMS Contact
#
#-----[ OPEN ]------------------------------------------
#
language/lang_english/lang_main.php
#
#-----[ FIND ]------------------------------------------
#
$lang['Board_disable'] = 'Sorry, but this board is currently unavailable. Please try again later.';
#
#-----[ AFTER ADD ]------------------------------------------
#
// SMS Contact
$lang['sms_disable'] = 'SMS Contact Form is currently disable.';
// SMS Contact
#
#-----[ FIND ]------------------------------------------
#
?>
#
#-----[ BEFORE, ADD ]------------------------------------------
#
//SMS Contact
$lang['SMS_Contact'] = 'SMS Contact';
//SMS Contact
#
#-----[ OPEN ]------------------------------------------
#
templates/subSilver/admin/board_config_body.tpl
#
#-----[ FIND ]------------------------------------------
#
<tr>
<td class="row1">{L_DISABLE_BOARD}<br /><span class="gensmall">{L_DISABLE_BOARD_EXPLAIN}</span></td>
<td class="row2"><input type="radio" name="board_disable" value="1" {S_DISABLE_BOARD_YES} /> {L_YES} <input type="radio" name="board_disable" value="0" {S_DISABLE_BOARD_NO} /> {L_NO}</td>
</tr>
#
#-----[ AFTER ADD ]------------------------------------------
#
<!-- SMS Contact Form -->
<tr>
<td class="row1">{L_DISABLE_SMS}<br /><span class="gensmall">{L_DISABLE_SMS}</span></td>
<td class="row2"><input type="radio" class="checkbox" name="sms_disable" value="1" {S_DISABLE_SMS_YES} /> {L_YES} <input type="radio" class="checkbox" name="sms_disable" value="0" {S_DISABLE_SMS_NO} /> {L_NO}</td>
</tr>
<!-- SMS Contact Form -->
#
#-----[ OPEN ]------------------------------------------
#
templates/subSilver/overall_header.tpl
#
#-----[ FIND ]------------------------------------------
#
<a href="profile.php?mode=editprofile" class="mainmenu"><img src="templates/subSilver/images/icon_mini_profile.gif" width="12" height="13" border="0" align="top" alt="Profile" hspace="3" />Profile</a>
#
#-----[ AFTER ADD ]--------------------------
#
<a href="{U_SMS}" class="mainmenu"><img src="templates/subSilver/images/icon_mini_sms.gif" border="0" align="top" alt="SMS Contact" hspace="3" />{L_SMS}</a>
#
#-----[ OPEN ]------------------------------------------
#
sms.php
#
#-----[ FIND ]------------------------------------------
#
yournumber@yourprovider.com
#
#-----[ REPLACE WITH ]--------------------------
#
This is where you put your cell phone number email address,If you dont know,call or email your
cell phone provider,they might tell you.It is usally in a form of
#
#-----[ FIND ]------------------------------------------
#
you@yoursite.com
#
#-----[ REPLACE WITH ]--------------------------
#
Your email address
#
#-----[ OPEN ]------------------------------------------
#
viewonline.php
#
#-----[ FIND ]------------------------------------------
#
case PAGE_FAQ:
$location = $lang['Viewing_FAQ'];
$location_url = "faq.$phpEx";
break;
#
#-----[ AFTER, ADD ]------------------------------------------
#
// SMS Contact
case PAGE_SMS:
$location = $lang['SMS_Contact'];
$location_url = "sms.$phpEx";
break;
// SMS Contact
#
#-----[ SAVE/CLOSE ALL FILES ]------------------------------------------
#
# EoM
|
|
|
Last edited by masteranu84 on 06/29/2007 4:31 PM; edited 1 time in total |
|
 |
 |
| Back to Top |
|
|
 | Re: SMS Contact Form |  |
Posted: 06/27/2007 11:22 PM |
|
|
|
|
|
| Site Admin |
| Posts |
30757 |
| Word Cnt. |
2,628,690 |
| BDay |
Jul 28 |
| Sign |
Leo |
| Sex |
 |
|
|
|
Joined: Sep 25, 2004
Local time: 3:22 PM
Location: St Pete, FL
|

|
|
|
|
 |
Since I don't have a cell phone and when I did, it didn't have Internet access, I really don't know what this would be. But down in the MOD script, the MOD author included this comment which should give you an idea of what to try:
| Code:
|
#
#-----[ REPLACE WITH ]--------------------------
#
This is where you put your cell phone number email address, If you dont know,call or email your cell phone provider,they might tell you. It is usally in a form of
|
 |
|
|
 |
 |
| Back to Top |
|
|
 | Information |  |
|