FOR ARCHIVAL PURPOSES ONLY

The information in this wiki hasn't been maintained for a good while. Some of the projects described have since been deprecated.

In particular, the "Ushahidi Platform v3.x" section contains information that is often misleading. Many details about this version of Platform have changed since.

This website is an extraction of the original Ushahidi wiki into a static form. Because of that, functions like logging in, commenting or searching will not work.

For more documentation, please refer to https://docs.ushahidi.com

Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

  1. To start configuring data providers, first copy this file from application/config/data-provider.php to application/config/environments/development/data-provider.php
  2. Edit application/config/environments/development/data-provider.php and enable the providers you need. Here's an example config to enable SMSSync and email providers.

    Code Block
    titleapplication/config/environments/development/data-provider.php
    <?php defined('SYSPATH') OR die('No direct script access.');
    
    return array(
        'default_providers' => array(
            Message_Type::SMS => 'smssync', // If you're using a different provider you should change this default provider for sending SMS.
            Message_Type::EMAIL => 'email',
        ),
        'providers' => array(
            'smssync' => TRUE,
            'email' => TRUE,
        ),
        'smssync' => array(
            'from' => '12345', // This should be the mobile number we send from
            'secret' => '1234' // Put this secret key in the SMSSync settings on your phone
        ),
        'email' => array(
            'from' => 'test@gmail.com',
            'from_name' => 'tester',
    
            'incoming_type' => 'pop3',
            'incoming_server' => 'pop.gmail.com',
            'incoming_port' => '995',
            'incoming_security' => 'ssl',
            'incoming_username' => 'test@gmail.com',
            'incoming_password' => 'sometestpassword',
    
            'outgoing_type' => 'smtp',
            'outgoing_server' => 'smtp.gmail.com',
            'outgoing_port' => '465',
            'outgoing_security' => 'ssl',
            'outgoing_username' => 'test@gmail.com',
            'outgoing_password' => 'sometestpassword'
        )
    );
    
    
  3. Once you've configured providers, run
    ./minion dataproviderDataProvider:incoming - to check incoming messages
    ./minion dataproviderDataProvider:outgoing - to send outgoing messages

For a real deployment you probably want to set up a cronjob to run ./minion dataproviderDataProvider:incoming regularly.

At the moment there isn't any UI for sending outgoing messages, so there's not much use creating a cronjob for that.