Release Notes

Fixed issues in several places.

All donators now works

Member list shows donation status

Profile shows donation status

Tested on Elgg 1.8.8

To upgrade from older version:

  1. Deactivate old plugin
  2. Delete old plugin folder
  3. Install new version
  4. Activate and check settings.
  5. Maybe flush cache to be sure.
  • @Michele - Thanks, I have put your upgrade instructions in the release notes.

  • Can i just ask... where exactly do i put this ...

     

    Setup:

    To get this plugin to show in the sidebar of a page you have point to it. See example below:

    $sidebar = elgg_view("donation/sidebar");

    $params = array('content' => $content, 'title' => $title, 'sidebar' => $sidebar);

    $body = elgg_view_layout('one_sidebar', $params);

     

    Any help appreciated :)

  • ps, i'm using ishouvic river dashboard

     

  • @Vex - I can't support integration with other plugins that I do not use.

  • @vex, you are using the river_activity_3C?.....its a favorite of mine and if so, i will do a litte coding today/tonight and figure it out for you

  • Try putting it in

    /mod/river_addon/views/default/page/elements/custom_module.php

  • i have the code if he wants it, send me a pm.  also for river activity3C

     

  • Sorry, 1'm using elg v1.8.12 and i'm using the Purity Three Theme 1.0, along with iShouvik Riverdashboard alpha 1, i dont have a river_addon....

     

  • Where do you put that code if your using a bog-standard site?

  • dhrup would soon solve our problems if we could entice him over here :)

  • I'm still looking to find where the aforementioned snippet of code goes as the donation widget isnt showing up in the sidebars but everthing else works.

  • i'm thinking of including some other options into this plugin than paypal.. 
    i've never used it (and to be honest, i think its an insane idea.. like all forms of money) but bitcoin is one i am considering.. (i'm only really doing this to 'pay' for the server space to host the website).. 
    does anyone have any comments on this topic? 

  • @ura soul

    Anyone who want to improve the plugin is more than welcome - it is open source.

    If anyone has done something smart with the code, and is willing to share, I'm more than happy to include it a future release.

    Bitcoins could be an interesting idea :-)

  • to clarify my previous comment.. i am presently learning about bitcoin and considering it as a way to receive donations.. i am also thinking that its design is flawed, so wondering if anyone here has input on it.. perhaps through experience?
    also am wondering about paypal alternatives like dwolla.. any comments? 

  • I put it on the sidebar like this:

    Change /mod/river_addon/views/default/page/elements/custom_module.php from this:

     

    <?php 

    /**

     * Custom Content module

     *

     */

     

    $title = elgg_echo("river_addon:demo:title"); 

    $text = elgg_echo("river_addon:demo:text");

     

    echo elgg_view_module('aside', $title, $text);

     

    ?>

     

     

    to this:

     

     

    <?php 

    /**

     * Custom Content module

     *

     */

     

    $sidebar = elgg_view("donation/sidebar");

    $params = array('content' => $content, 'title' => $title, 'sidebar' => $sidebar);

     

    echo elgg_view_layout('aside', $sidebar, $params);

     

    ?>

     

  • from what i have seen, bitcoin is beneficial in that it is peer 2 peer and decentralised.. with littler transaction overheads.. and not beneficial in the way it functions, including a minting process that basically says 'he who hath the biggest gpu bank wins'.. which is not much better than 'he who hath the biggest army and slayeth all others and then starts a bank/government/monarchy wins'.. not least because the same people can be the 'rulers' of both systems.

  • ok, so... i am going to consider the donate page at wikileaks as having the most extensive list of donation options i've seen anywhere:

    http://shop.wikileaks.org/donate

    adapting this plugin to use as many of the options there as possible, would really improve its usage..
    the flattr idea is interesting.. not sure how much use it's getting.

     

  • I set someone as a donator to test this feature. Can I remove their donator status again? I see no such option anywhere.

  • I agree that bitcoins would be a great option along with the ability to enable and disable other options.  For my use all I'd want to use are bit coins.

  • Also I haven't checked the plugin (I need Bitcoin) other than the screen shots but another good option would be to the allow the user to specify whether to stay anonymous or not using a checkbox.  Hopefully one of us or the author can get it done. :)

     

  • Where uin the world do you have to add those 3 lines for setting up this plug in?

    The author says:

    To get this plugin to show in the sidebar of a page you have point to it. See example below:

    $sidebar = elgg_view("donation/sidebar");

    $params = array('content' => $content, 'title' => $title, 'sidebar' => $sidebar);

    $body = elgg_view_layout('one_sidebar', $params);

  • I dont get it to work in socialize theme.. copyd the code intoo:

    Plugin is enabled but in the side bar just display the code I copyd.

     

    /mod/socialize/views/default/page/layouts/one_sidebar.php

     

    -----------------------------------------------------------

    $sidebar = elgg_view("donation/sidebar"); $params = array('content' => $content, 'title' => $title, 'sidebar' => $sidebar); $body = elgg_view_layout('one_sidebar', $params);

    -----------------------------------------------------------

    This code displaying in my side bar.

     

    Best regards,

    Pala

  • @Pala Delete your edits and add this line to start.php in your theme init function,

    elgg_extend_view('page/elements/sidebar', 'donation/sidebar');

Stats

  • Category: Tools
  • License: GNU General Public License (GPL) version 2
  • Updated: 2016-10-1
  • Downloads: 6336
  • Recommendations: 17

Other Projects

View slyhne's plugins