diff --git buymeabeer.module buymeabeer.module
index b88429b..5f823be 100644
--- buymeabeer.module
+++ buymeabeer.module
@@ -206,3 +206,12 @@ function _buymeabeer_paypal_query($paypal_mail, $title_text) {
     '&'
   );
 }
+
+/**
+ * Implements hook_views_api().
+ */
+function buymeabeer_views_api() {
+  return array(
+    'api' => 2.0,
+  );
+}
diff --git buymeabeer.views.inc buymeabeer.views.inc
new file mode 100644
index 0000000..9ef0a48
--- /dev/null
+++ buymeabeer.views.inc
@@ -0,0 +1,30 @@
+<?php
+// $Id$
+
+/**
+ * Implements hook_views_data_alter().
+ */
+function buymeabeer_views_data_alter(&$data) {
+  $data['users']['buymeabeer'] = array(
+    'group' => t('Buymeabeer'),
+    'title' => t('Buymeabeer link'),
+    'help' => t('Show a buymeabeer link of the user'),
+    'real field' => 'data',
+    'field' => array(
+      'handler' => 'buymeabeer_handler_field',
+    )
+  );
+}
+
+/**
+ * Implements hook_views_handlers().
+ */
+function buymeabeer_views_handlers() {
+  return array(
+    'handlers' => array(
+      'buymeabeer_handler_field' => array(
+        'parent' => 'views_handler_field',
+      ),
+    ),
+  );
+}
diff --git buymeabeer_handler_field.inc buymeabeer_handler_field.inc
new file mode 100644
index 0000000..9f3aebd
--- /dev/null
+++ buymeabeer_handler_field.inc
@@ -0,0 +1,58 @@
+<?php
+// $Id$
+
+/**
+ * Prints the buymeabeer button for every user.
+ */
+class buymeabeer_handler_field extends views_handler_field {
+  function option_definition() {
+    $options = parent::option_definition();
+    $options['anchor_text'] = array('default' => variable_get('buymeabeer_anchor_text', t(BMAB_ANCHOR_TEXT)));
+    $options['title_text'] = array('default' => variable_get('buymeabeer_link_title_text', t(BMAB_LINK_TITLE_TEXT)));
+
+    return $options;
+  }
+  function options_form(&$form, &$form_state) {
+    parent::options_form($form, $form_state);
+
+    $form['anchor_text'] = array(
+      '#type' => 'textfield',
+      '#title' => t('Anchor Text'),
+      '#default_value' => $this->options['anchor_text'],
+      '#size' => 60,
+      '#maxlength' => 60,
+      '#description' => t('Enter the anchor text for the link.')
+    );
+    $form['title_text'] = array(
+      '#type' => 'textfield',
+      '#title' => t('Link Title Text'),
+      '#default_value' => $this->options['title_text'],
+      '#size' => 60,
+      '#maxlength' => 60,
+      '#description' => t('Enter the title text for the link. This is what is displayed as
+        a tooltip when the cursor is moved over the link. This text is also used as the paypal
+        donation identifier')
+    );
+  }
+
+  function render($values) {
+    $data = unserialize($values->{$this->field_alias});
+    if (!empty($data['buymeabeer_paypal_mail'])) {
+      $anchor_text= $this->options['anchor_text'];
+      $title_text = $this->options['title_text'];
+      $paypal_mail = $data['buymeabeer_paypal_mail'];
+      dsm(get_defined_vars());
+      $link = l(
+        $anchor_text,
+        BMAB_PAYPAL_URL,
+        array(
+          'query' => _buymeabeer_paypal_query($paypal_mail, $title_text),
+          'html' => TRUE,
+          'absolute' => TRUE,
+          'attributes' => array('class' => 'buymeabeer-link', 'title' => $title_text)
+        )
+      );
+      return theme('buymeabeer_link', $link);
+    }
+  }
+}
\ No newline at end of file
