Maintainers are looking for help reviewing issues.

forWhereiAm - Basic

List of announcements shown to the user based on where they are

Quick Overview

This module creates a basic widget for displaying all the latest announcements made on the forWhereiAm platform by your organisation (and any of its associated branches) for a given user's location. This module interacts with the forWhereiAm API and implements the client-side flow.

The forWhereiAm platform allows any organisation to target their online and mobile communications from a country wide region, right down to a single postcode. The messages are only seen by users who are in the regions explicitly targeted. Currently forWhereiAm only supports the UK market.

This module adds a jQuery plugin to your site which performs client-side flow requests to forWhereiAm announcements API. It fetches announcements for a given user's location, and displays them in a list form, ordered by the newest announcement at the top. This module can also communicate with the forWhereiAm API to fetch the full details for a given announcement, or optionally rate an announcement where rating of an announcement has been enabled.

This module uses Google Maps v3 API for rendering maps, if enabled.
This module uses AddThis for displaying social sharing buttons for an announcement, if enabled.

Further reading

Filer

Drupal module to store large amounts of data in files (csv, json, ...).

Usage examples:
<?php
$nids = array_keys(db_select('node', 'n')
->fields('n', array('nid'))
->condition('n.type', 'my_content_type')
->condition('n.status', 1)
->execute()
->fetchAllAssoc('nid'));

/**
* Example 1.
* Default usage.
*/

// Create a new Filer, this is an object that manages a set of files.
$filer = new Filer('example_one');

$options = array(
'items' => $nids, // Each one of these items is passed to the hooks one after another
'append' => TRUE, // Append or overwrite the contents of the file for every item, (e.a: CSV: append => TRUE, JSON: append => FALSE)
'read' => FALSE, // If TRUE the contents of our file will be passed to our hook (should be false if not used).
);

// Add a task to our Filer specifying the file to write to.
// If third param ($enqueue = TRUE) is FALSE, the task will not be added to the queue and needs to be run manually @see example_three
$filer->add('public://example_one.csv', $options);

/**
* Implements hook_filer_FILER_NAME_first();
* Only called for the first item.
*/
function hook_filer_example_one_first($item, $fh, $info) {
// $info['frid'] The frid of this file.
// $info['content'] The contents of the file if $options['read'] were TRUE.

wishlist

this is a simple module for wish list with flags.

Achievements Embeddable

This project allows external websites to interact with the Achievements module on your Drupal site. It provides a Services API and Javascript library that can be used on any site.

Currently this library exposes the following API to external sites:

  • get_all_achievements: Retrieves a list of all possible achievements that can be awarded.
  • get_user_achievements: Retrieves a list of all achievements awarded to a given user.
  • achievement_trigger: Triggers credit toward an achievement for a user.

Requirements

NOTES and WARNINGS

This initial version of the module has been built for a very specific intranet implementation. As such, it may not be appropriate for use on public websites.

  • Users on external sites must have an account on the Drupal site.
  • The Services API is setup with session authentication, so the users must either already be logged into the Drupal site or the Drupal site must be configured to support an automatic SSO

uc_shipping_price_percentage

this is only a shipping method per price percentage,
the contributions are grateful.

Pages

Subscribe with RSS Subscribe to RSS - Seeking co-maintainer(s)