Release Notes

Version for Elgg 1.8

Use version 1.1 for older Elgg versions

  • your instructions based on elgg ver 1.8 ??

    because there is NO riverdashboard in mod directory

    therefore, i installed and activated and config the setting (got paypal code in there, etc)

    but nothing shows up (no donate button or bank info)

    any tips?

  • Hi Pietro

    Well, much has changed in 1.8. Personally I have made my own 1.8 riverdashboard-like plugin and added this to the page:

    $sidebar .= elgg_view_module('featured', sprintf(elgg_echo('donation:title'), elgg_get_config('sitename')), elgg_view('donation/donation'));

    You can add the above to any page view that has a sidebar.
  • Its a great plugin covering everything i required and most of all i could not find a similar plugin on this much required topic. One problem is that i am using facebook theme and i am finding it difficult to add it to the mainpage sidebar. Please help on this.

  • what simple it is to do that. Put this code in plugins start file just after line 14 in donation_init function.

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

     

    Bingo.

  • in /home/mrcoffee/public_html/mod/social_dashboard/views/default/page/layouts/one_sidebar.php

    what code do i place to make it work? have tried all these..

  • @mrcoffee

    I don't know social_dashboard, but it should not be put in the file you mention - if you do that you'll get the donation module on all pages that use the one_sidebar layout.

    Instead go to the page you load (mod/social_dashboard/pages/index.php ?) and add it to the parameters you send.

    Something like this:

    $sidebar = elgg_view_module('module', sprintf(elgg_echo('donation:title'), elgg_get_config('sitename')), elgg_view('donation/donation'));

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

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

  • i have this working in 1.8.8... all except the list of donators on the widget.. i added me as a donator via the admin options and that displays on the donations page.. but the widget remains empty.
    i notice in the widget code that there is a $time variable that is not being set in the query code.. and it is set on the donations page query. 
    so i set that.. but it made no difference..
    any idea what might be the issue?
    thanks 

  • exactly how do u get it to display in an actual side bar? it's massively displayed across the center of my page....

  • p.s. i'm using the Purity theme, any help on this is massively appreciated

  • Description text above.. says :-)

    Setup:
    To get this plugin to show in the sidebar of your front page you have put it in your index.php. I use the riverdashboard, so I modified /mod/riverdashboard/index.php.

    After these two lines:
    //set a view to display newest members$area1 .= elgg_view("riverdashboard/newestmembers");

    Put in this:
    //set a view to display donation$area1 .= elgg_view("donation/donation");

     

     

  • i followed that but instead of it displaying in a sidebar, it's in main body and massive... lol no sidebar what so ever...

  • Maybe it's down to my theme???? what theme is op using? any 1 klnow?

  • is there any reason why this only covers paypal and bank transfers?
    some of the other services would be helpful, such as payza.. maybe i'll make a variation if no-one else does before me.

  • @Michele - haven't got a clue - I'm not usng this plugin on any of my sites at the moment, så I'll have to setup a clean installation to see what's going on.

  • i'm seeing deprecated function warnings for this in my site log

Stats

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

Other Projects

View slyhne's plugins