Description

The Textmarketer SMS Integration module provides integration between the Textmarketer SMS service and the SMS Framework module. It adds the Textmarketer service as a gateway in the SMS Framework module, the module provides no interface of its own but can be accessed through the interfaces provided by the SMS Framework.

Installation

The Textmarketer SMS Integration module makes use of the PHP wrapper (v1.3) provided by Textmarketer http://www.textmarketer.co.uk/pdfebooks/TMRestClient.zip, in order for the module to work this should be placed so the file is reachable on the following path: sites/all/libraries/TMRestClient/TMRestClient.php

Project Page: Textmarketer SMS Integration
Git: git clone http://git.drupal.org/sandbox/FlakMonkey46/1943208.git textmarketer_sms_integration
Compatibility: Drupal 7.x

Reviews of other projects

Comments

t-lo’s picture

You got a clean review from the code sniffer here:
http://ventral.org/pareview/httpgitdrupalorgsandboxflakmonkey461943208git

The configure path you define in the info file isn't set up anywhere: admin/config/services/sms_textmarketer

sd46’s picture

Thanks, the configure path should now be correct.

t-lo’s picture

I can't find any documentation on this, but I believe the permission key uses spaces rather than underscores as standard.
Not that this will affect anything, just a code styling issue.
see the api example at http://api.drupal.org/api/drupal/modules%21system%21system.api.php/funct...

PA robot’s picture

We are currently quite busy with all the project applications and I can only review projects with a review bonus. Please help me reviewing and put yourself on the PAReview: review bonus high priority list. Then I'll take a look at your project right away :-)

I'm a robot and this is an automated message from Project Applications Scraper.

likebtn’s picture

1) I've installed:
- http://drupal.org/project/libraries
- http://drupal.org/project/smsframework (7.x-1.x-dev)

and gettings the following notices on /admin/modules page:

Notice: Use of undefined constant SMS_TEXTMARKETER_LIBRARY - assumed 'SMS_TEXTMARKETER_LIBRARY' in sms_textmarketer_requirements() (line 24 of /sites/all/modules/textmarketer_sms_integration/sms_textmarketer.install).
    Notice: Use of undefined constant SMS_TEXTMARKETER_LIBRARY - assumed 'SMS_TEXTMARKETER_LIBRARY' in sms_textmarketer_requirements() (line 54 of /sites/all/modules/textmarketer_sms_integration/sms_textmarketer.install).
    Notice: Use of undefined constant SMS_TEXTMARKETER_LIBRARY - assumed 'SMS_TEXTMARKETER_LIBRARY' in sms_textmarketer_requirements() (line 55 of /sites/all/modules/textmarketer_sms_integration/sms_textmarketer.install).

2) Module sets variables in sms_textmarketer_admin_form(). You must manually delete the variables when the module is uninstalled in the sms_textmarketer.install:

/**
 * Implements hook_uninstall().
 */
function sms_textmarketer_uninstall() {
    variable_del('sms_textmarketer_user');
    variable_del('sms_textmarketer_pass');
    variable_del('sms_textmarketer_sender');
    variable_del('sms_textmarketer_state');
    variable_del('sms_textmarketer_validity');
    variable_del('sms_textmarketer_email');
    variable_del('sms_textmarketer_custom');
}
sd46’s picture

Thanks for your feedback, I've made changes to the install file to fix both of the issues you raised. Just to check though, the variables you've listed don't get created when I use the module, it just creates a single sms_textmarketer_settings variable, is that the same for you or do you get 7 separate variables?

Thanks

sd46’s picture

Issue summary: View changes

Added review of other project, working towards getting the review bonus.

sd46’s picture

Issue summary: View changes

Working towards review bonus

sd46’s picture

Issue tags: +PAreview: review bonus

Review bonus

nickgundry’s picture

I did a manual review of the code, and ran it through codesniffer. I only had one suggestion.

sms_textmarketer.module line 148

The field is called API password but is a textfield. Should this be a password field?
'#type' => 'password',

sd46’s picture

Thanks for having a look at the module, I've changed the API password field type to password.

klausi’s picture

Assigned: Unassigned » zzolo
Status: Needs review » Reviewed & tested by the community
Issue tags: -PAreview: review bonus

Looks RTBC to me after a manual review. Removing review bonus tag, you can add it again if you have done another 3 reviews of other projects.

Assigning to zzolo as he might have time to take a final look at this.

klausi’s picture

Status: Reviewed & tested by the community » Fixed

no objections for more than a week, so ...

Thanks for your contribution, FlakMonkey46!

I updated your account to let you promote this to a full project and also create new projects as either a sandbox or a "full" project.

Here are some recommended readings to help with excellent maintainership:

You can find lots more contributors chatting on IRC in #drupal-contribute. So, come hang out and get involved!

Thanks, also, for your patience with the review process. Anyone is welcome to participate in the review process. Please consider reviewing other projects that are pending review. I encourage you to learn more about that process and join the group of reviewers.

Thanks to the dedicated reviewer(s) as well.

sd46’s picture

Thanks klausi

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.

Anonymous’s picture

Issue summary: View changes

Progress towards review bonus.