[TH] Donate - Multi-campaign manager [Deleted]

Fixed it! Now maybe they can add this or maybe someone else try it other than me see if it works!

Make HTML Description with Image

Description:You may use HTML.
something bigger than your block size with an image like this without resizing it <img src="image" alt="">

Then add css resize script
Go to: Appearance, Styles, Style name, Template: addm_forum_list_sidebar

Add this to bottom

img {
width: 100%;
height: auto;
}
 
Seems to be a bug on the campaign page... Doubled "Goal".
Bildschirmfoto 2016-07-21 um 18.17.23.webp

Checking on the template, I am not quite sure why there are two different phrases – one followed by another.
Code:
<span>{$campaign.goal_phrase} {xen:phrase addm_goal}</span>

In the sidebar block it is just this:
Code:
<span>{$campaign.goal_phrase}</span>
 
Seems to be a bug on the campaign page... Doubled "Goal".
View attachment 137950

Checking on the template, I am not quite sure why there are two different phrases – one followed by another.
Code:
<span>{$campaign.goal_phrase} {xen:phrase addm_goal}</span>

In the sidebar block it is just this:
Code:
<span>{$campaign.goal_phrase}</span>

I just uploaded a patch to fix this, but you can just remove
Code:
{xen:phrase addm_goal}

And accomplish the same thing :)
 
Seems to be a bug on the campaign page... Doubled "Goal".
View attachment 137950

Checking on the template, I am not quite sure why there are two different phrases – one followed by another.
Code:
<span>{$campaign.goal_phrase} {xen:phrase addm_goal}</span>

In the sidebar block it is just this:
Code:
<span>{$campaign.goal_phrase}</span>
did the patch work, and is it OK use update yet?
 
I just updated to the latest release and I get an error on my admin panel when trying to edit a campaign:

Code:
Template Errors: addm_campaign_edit
Invalid argument supplied for foreach() in /var/www/888/888/library/XenForo/Template/Abstract.php(265) : eval()'d code, line 211:
210: $__compilerVar8 = array();
211: foreach ($recurringLengths AS $id => $title)
212: {

If I try to add a new campaign I get:
Code:
Server Error

Undefined index: timezone

XenForo_Application::handlePhpError() in Audentio/DonationManager/Model/Campaign.php at line 628
Audentio_DonationManager_Model_Campaign->prepareCampaignForEdit() in Audentio/DonationManager/ControllerAdmin/Campaign.php at line 112
Audentio_DonationManager_ControllerAdmin_Campaign->_getAddEditResponse() in Audentio/DonationManager/ControllerAdmin/Campaign.php at line 140
Audentio_DonationManager_ControllerAdmin_Campaign->actionAdd() in XenForo/FrontController.php at line 351
XenForo_FrontController->dispatch() in XenForo/FrontController.php at line 134
XenForo_FrontController->run() in /var/www/***/***/admin.php at line 13

Also, I can not edit an existing donation manually.. I get an 404 error page when I click on edit!
 
Last edited:
I just updated to the latest release and I get an error on my admin panel when trying to edit a campaign:

Code:
Template Errors: addm_campaign_edit
Invalid argument supplied for foreach() in /var/www/888/888/library/XenForo/Template/Abstract.php(265) : eval()'d code, line 211:
210: $__compilerVar8 = array();
211: foreach ($recurringLengths AS $id => $title)
212: {

If I try to add a new campaign I get:
Code:
Server Error

Undefined index: timezone

XenForo_Application::handlePhpError() in Audentio/DonationManager/Model/Campaign.php at line 628
Audentio_DonationManager_Model_Campaign->prepareCampaignForEdit() in Audentio/DonationManager/ControllerAdmin/Campaign.php at line 112
Audentio_DonationManager_ControllerAdmin_Campaign->_getAddEditResponse() in Audentio/DonationManager/ControllerAdmin/Campaign.php at line 140
Audentio_DonationManager_ControllerAdmin_Campaign->actionAdd() in XenForo/FrontController.php at line 351
XenForo_FrontController->dispatch() in XenForo/FrontController.php at line 134
XenForo_FrontController->run() in /var/www/***/***/admin.php at line 13

Also, I can not edit an existing donation manually.. I get an 404 error page when I click on edit!

These errors went away after upgrading Xenforo to latest release!
 
Is there a way to generate a list of 'people who haven't donated in n units of time'? I have a lot of people who haven't donated in well over a year, but are still classified as a 'donator' (usergroup I had created for people who donate).
 
Also, is there a feature currently (or can it be considered), that there is the ability to perform a user-group promotion when 'user has donated within the last n units of time'?
 
Hi this is not working for me. Can someone tell me how to put the picture and how to put the Donation button and then put in the account the money is supposed to go in? How does one do this?
 
Hi this is not working for me. Can someone tell me how to put the picture and how to put the Donation button and then put in the account the money is supposed to go in? How does one do this?

After you install it, create a 'donation campaign'. In the campaign settings, you can set the image there:
QtqTh2x.png


You enter the email address where the money goes to: AdminCP > Users > User Upgrades > Payment Gateway Setup
 
I updated 1.1.6a today, the update installed fine and I did not have to change any settings or reset the permissions. :-)
Good Job.
 
Hey,

just bought it and I guess a few of my suggestions are missing. Any plans to implement them soon?

- Is it possible to have the user reward x credits in the [ad] Credits system for each amout spent (for example 100 credits for each dollar donated)?
This.

- Integration of PSC, Credit Cards (VISA / Master) and SOFORT Überweisung would be nice
Does anyone know of a [bd]PayGates extension for PSC?

- Does it support manual donations (e.g. when being donated through bank transfer)?
You can manually add donations via the admin panel. (Anonymous donations in this case arn't tied to a user at all in the db.)​
I want to accept manual donations via bank transfer but I would like to get them tied to a user (well, the donation actually came from a user, so why not tie it to them)? Of course it's also necessary to apply the user-group-promotions, then.

A few more feature requests:
- Control the level of privacy (anonymity) of a donation (Public, hide user, hide amount or hide both (private))
- Ability to set a default donation note via admin cp
 
Last edited:
I want to accept manual donations via bank transfer but I would like to get them tied to a user (well, the donation actually came from a user, so why not tie it to them)? Of course it's also necessary to apply the user-group-promotions, then.
This is possible, you can create a manual donation for a user.
- Control the level of privacy (anonymity) of a donation (Public, hide user, hide amount or hide both (private))
I'll look into this.
- Ability to set a default donation note via admin cp
I'll look into this as well!
 
Top Bottom