[TH] Donate [Deleted]

Hey, can you add donate at resources to allow user add payment own settings for Paypal and Bitcoin, others without AdminCP or Moderation tools needed
I don’t think that’s something we’d have plans to add unfortunately, XenForo’s payment system is only designed to accept payments to the configured providers and wouldn’t work for payments to individual users.
 
I don’t think that’s something we’d have plans to add unfortunately, XenForo’s payment system is only designed to accept payments to the configured providers and wouldn’t work for payments to individual users.
Thank you! Please let me know when you are planning to add this in a future
 
Hello,

Since I upgraded to version 1.9, I've been having problems. When I click on the Donate button, nothing happens.
For your information, I've installed Xenforo v2.3.0.

When I updated the [TH] Donate add-on, I use Admin > Add-ons menu and the Install/Upgrade from archive button. It failed, same issue. I had a quick look at the contents of the zip file and the contents on the server (via ftp), and everything seemed fine.
So I decided to delete [TH] Donate completely and install again. For information, I've lost all the campaigns and the history that goes with them.
I went back to the Admin > Add-ons menu and the Install/Upgrade from archive button. As a result, I still get the same error:

Code:
TypeError: Macro public:thdonate_campaign_macros :: donate_block() error: XF\Mvc\Entity\AbstractCollection::offsetGet(): Return value must be of type ?XF\Mvc\Entity\Entity, string returned src/XF/Mvc/Entity/AbstractCollection.php:104

Code:
Stack trace         

#0 internal_data/code_cache/templates/l2/s11/public/thdonate_campaign_macros.php(255): XF\Mvc\Entity\AbstractCollection->offsetGet(1)
#1 src/XF/Template/Templater.php(922): XF\Template\Templater->{closure}(Object(ThemeHouse\UIX\XF\Template\Templater), Array, NULL)
#2 internal_data/code_cache/templates/l2/s11/public/thdonate_campaign_donate.php(10): XF\Template\Templater->callMacro('thdonate_campai...', 'donate_block', Array, Array)
#3 src/XF/Template/Templater.php(1792): XF\Template\Templater->{closure}(Object(ThemeHouse\UIX\XF\Template\Templater), Array, NULL)
#4 src/XF/Template/Template.php(24): XF\Template\Templater->renderTemplate('thdonate_campai...', Array)
#5 src/XF/Mvc/Renderer/Json.php(86): XF\Template\Template->render()
#6 src/XF/Mvc/Renderer/Json.php(70): XF\Mvc\Renderer\Json->renderHtmlFallback('ThemeHouse\\Dona...', 'public:thdonate...', Array)
#7 src/XF/Mvc/Dispatcher.php(471): XF\Mvc\Renderer\Json->renderView('ThemeHouse\\Dona...', 'public:thdonate...', Array)
#8 src/XF/Mvc/Dispatcher.php(453): XF\Mvc\Dispatcher->renderView(Object(XF\Mvc\Renderer\Json), Object(XF\Mvc\Reply\View))
#9 src/XF/Mvc/Dispatcher.php(412): XF\Mvc\Dispatcher->renderReply(Object(XF\Mvc\Renderer\Json), Object(XF\Mvc\Reply\View))
#10 src/XF/Mvc/Dispatcher.php(66): XF\Mvc\Dispatcher->render(Object(XF\Mvc\Reply\View), 'json')
#11 src/XF/App.php(2777): XF\Mvc\Dispatcher->run()
#12 src/XF.php(798): XF\App->run()
#13 index.php(23): XF::runApp('XF\\Pub\\App')
#14 {main}

Thank you in advance for your help.
 
Hello,

Since I upgraded to version 1.9, I've been having problems. When I click on the Donate button, nothing happens.
For your information, I've installed Xenforo v2.3.0.

When I updated the [TH] Donate add-on, I use Admin > Add-ons menu and the Install/Upgrade from archive button. It failed, same issue. I had a quick look at the contents of the zip file and the contents on the server (via ftp), and everything seemed fine.
So I decided to delete [TH] Donate completely and install again. For information, I've lost all the campaigns and the history that goes with them.
I went back to the Admin > Add-ons menu and the Install/Upgrade from archive button. As a result, I still get the same error:

Code:
TypeError: Macro public:thdonate_campaign_macros :: donate_block() error: XF\Mvc\Entity\AbstractCollection::offsetGet(): Return value must be of type ?XF\Mvc\Entity\Entity, string returned src/XF/Mvc/Entity/AbstractCollection.php:104

Code:
Stack trace        

#0 internal_data/code_cache/templates/l2/s11/public/thdonate_campaign_macros.php(255): XF\Mvc\Entity\AbstractCollection->offsetGet(1)
#1 src/XF/Template/Templater.php(922): XF\Template\Templater->{closure}(Object(ThemeHouse\UIX\XF\Template\Templater), Array, NULL)
#2 internal_data/code_cache/templates/l2/s11/public/thdonate_campaign_donate.php(10): XF\Template\Templater->callMacro('thdonate_campai...', 'donate_block', Array, Array)
#3 src/XF/Template/Templater.php(1792): XF\Template\Templater->{closure}(Object(ThemeHouse\UIX\XF\Template\Templater), Array, NULL)
#4 src/XF/Template/Template.php(24): XF\Template\Templater->renderTemplate('thdonate_campai...', Array)
#5 src/XF/Mvc/Renderer/Json.php(86): XF\Template\Template->render()
#6 src/XF/Mvc/Renderer/Json.php(70): XF\Mvc\Renderer\Json->renderHtmlFallback('ThemeHouse\\Dona...', 'public:thdonate...', Array)
#7 src/XF/Mvc/Dispatcher.php(471): XF\Mvc\Renderer\Json->renderView('ThemeHouse\\Dona...', 'public:thdonate...', Array)
#8 src/XF/Mvc/Dispatcher.php(453): XF\Mvc\Dispatcher->renderView(Object(XF\Mvc\Renderer\Json), Object(XF\Mvc\Reply\View))
#9 src/XF/Mvc/Dispatcher.php(412): XF\Mvc\Dispatcher->renderReply(Object(XF\Mvc\Renderer\Json), Object(XF\Mvc\Reply\View))
#10 src/XF/Mvc/Dispatcher.php(66): XF\Mvc\Dispatcher->render(Object(XF\Mvc\Reply\View), 'json')
#11 src/XF/App.php(2777): XF\Mvc\Dispatcher->run()
#12 src/XF.php(798): XF\App->run()
#13 index.php(23): XF::runApp('XF\\Pub\\App')
#14 {main}

Thank you in advance for your help.
The addon does not currently support 2.3, which is why it is erroring on 2.3. I’m not sure why you deleted it but unfortunately we can’t do anything about the lost data. XenForo’s guidance is to make sure addons are updated before you upgrade, but they also advise you take a backup of your forum before you upgrade. I assume you did this, so you should be able to recover the data for the Donate tables from your backup.
 
A compatible version was anticipated to be released 4 days ago, but unfortunately was not
We did plan to release some updates, but we are still carrying out testing, and our team also has other work that we need to fit the addon updates around. We need to work at our own pace on it to make sure everything is working properly, and unfortunately can’t accelerate that to cater for users upgrading already. We appreciate people are keen to upgrade to 2.3, and if people wish to do so before the addons and themes they use have been upgraded (whether they’re our addons or from other developers), they will need to simply be disabled until updates are available, otherwise you will have countless errors and a broken forum. There is nothing any addon developer can do about a forum being upgraded to 2.3 before the addons have been updated.
 
I understand that entirely. No need to justify the time you invest into the work that is required, I was simply stating facts and reiterating what was communicated as well as what happened.

Since v1.1.9 is not mentioned in the resources here at XF (only the predecessor v1.1.8 Patch Level 1), it might very well have been the case that you released a compatible version over at your own site instead of here (as you did with v1.1.9) and the user might not be aware. So I told him as much.
 
This addon seems to work great for 2.3, the only issue i have noticed is the scrollbars do not fully go to 100% for goals

As u can see here the goal hits 100% but the bar itself does not cover completely.
To view this content we will need your consent to set third party cookies.
For more detailed information, see our cookies page.

Other then that the one from TH works great atm.
 
Hello,

Since I upgraded to version 1.9, I've been having problems. When I click on the Donate button, nothing happens.
For your information, I've installed Xenforo v2.3.0.

When I updated the [TH] Donate add-on, I use Admin > Add-ons menu and the Install/Upgrade from archive button. It failed, same issue. I had a quick look at the contents of the zip file and the contents on the server (via ftp), and everything seemed fine.
So I decided to delete [TH] Donate completely and install again. For information, I've lost all the campaigns and the history that goes with them.
I went back to the Admin > Add-ons menu and the Install/Upgrade from archive button. As a result, I still get the same error:

Code:
TypeError: Macro public:thdonate_campaign_macros :: donate_block() error: XF\Mvc\Entity\AbstractCollection::offsetGet(): Return value must be of type ?XF\Mvc\Entity\Entity, string returned src/XF/Mvc/Entity/AbstractCollection.php:104

Code:
Stack trace        

#0 internal_data/code_cache/templates/l2/s11/public/thdonate_campaign_macros.php(255): XF\Mvc\Entity\AbstractCollection->offsetGet(1)
#1 src/XF/Template/Templater.php(922): XF\Template\Templater->{closure}(Object(ThemeHouse\UIX\XF\Template\Templater), Array, NULL)
#2 internal_data/code_cache/templates/l2/s11/public/thdonate_campaign_donate.php(10): XF\Template\Templater->callMacro('thdonate_campai...', 'donate_block', Array, Array)
#3 src/XF/Template/Templater.php(1792): XF\Template\Templater->{closure}(Object(ThemeHouse\UIX\XF\Template\Templater), Array, NULL)
#4 src/XF/Template/Template.php(24): XF\Template\Templater->renderTemplate('thdonate_campai...', Array)
#5 src/XF/Mvc/Renderer/Json.php(86): XF\Template\Template->render()
#6 src/XF/Mvc/Renderer/Json.php(70): XF\Mvc\Renderer\Json->renderHtmlFallback('ThemeHouse\\Dona...', 'public:thdonate...', Array)
#7 src/XF/Mvc/Dispatcher.php(471): XF\Mvc\Renderer\Json->renderView('ThemeHouse\\Dona...', 'public:thdonate...', Array)
#8 src/XF/Mvc/Dispatcher.php(453): XF\Mvc\Dispatcher->renderView(Object(XF\Mvc\Renderer\Json), Object(XF\Mvc\Reply\View))
#9 src/XF/Mvc/Dispatcher.php(412): XF\Mvc\Dispatcher->renderReply(Object(XF\Mvc\Renderer\Json), Object(XF\Mvc\Reply\View))
#10 src/XF/Mvc/Dispatcher.php(66): XF\Mvc\Dispatcher->render(Object(XF\Mvc\Reply\View), 'json')
#11 src/XF/App.php(2777): XF\Mvc\Dispatcher->run()
#12 src/XF.php(798): XF\App->run()
#13 index.php(23): XF::runApp('XF\\Pub\\App')
#14 {main}

Thank you in advance for your help.
What is your PHP version?
 
PHP 8.2.19
I've upgraded from 8.1.10 to 8.3.9 and Enabled ZipArchive on my php.ini

Looks like It is still working and there are no errors for the ZipArchive install add-on or FTP

All add-ons in this batch installed/upgraded successfully.

I suggest you use Laragon on your own PC localhost to test if there is no error for you then addon others or your own server may cause issue
 
Updated to 1.2.0 and still encountering this error:

  • TypeError: Macro public:thdonate_campaign_macros :: donate_block() error: XF\Mvc\Entity\AbstractCollection::offsetGet(): Return value must be of type ?XF\Mvc\Entity\Entity, string returned
  • src/XF/Mvc/Entity/AbstractCollection.php:104
  • Generated by:
  • Aug 3, 2024 at 6:55 AM

Stack trace​

#0 internal_data/code_cache/templates/l1/s10/public/thdonate_campaign_macros.php(255): XF\Mvc\Entity\AbstractCollection->offsetGet(2)
#1 src/XF/Template/Templater.php(922): XF\Template\Templater->{closure}(Object(XFA\RMMarketplace\XF\Template\Templater), Array, NULL)
#2 internal_data/code_cache/templates/l1/s10/public/thdonate_campaign_donate.php(10): XF\Template\Templater->callMacro('thdonate_campai...', 'donate_block', Array, Array)
#3 src/XF/Template/Templater.php(1792): XF\Template\Templater->{closure}(Object(XFA\RMMarketplace\XF\Template\Templater), Array, NULL)
#4 src/XF/Template/Template.php(24): XF\Template\Templater->renderTemplate('thdonate_campai...', Array)
#5 src/XF/Mvc/Renderer/Json.php(86): XF\Template\Template->render()
#6 src/XF/Mvc/Renderer/Json.php(70): XF\Mvc\Renderer\Json->renderHtmlFallback('ThemeHouse\\Dona...', 'public:thdonate...', Array)
#7 src/XF/Mvc/Dispatcher.php(471): XF\Mvc\Renderer\Json->renderView('ThemeHouse\\Dona...', 'public:thdonate...', Array)
#8 src/XF/Mvc/Dispatcher.php(453): XF\Mvc\Dispatcher->renderView(Object(XF\Mvc\Renderer\Json), Object(XF\Mvc\Reply\View))
#9 src/XF/Mvc/Dispatcher.php(412): XF\Mvc\Dispatcher->renderReply(Object(XF\Mvc\Renderer\Json), Object(XF\Mvc\Reply\View))
#10 src/XF/Mvc/Dispatcher.php(66): XF\Mvc\Dispatcher->render(Object(XF\Mvc\Reply\View), 'json')
#11 src/XF/App.php(2813): XF\Mvc\Dispatcher->run()
#12 src/XF.php(802): XF\App->run()
#13 index.php(23): XF::runApp('XF\\Pub\\App')
#14 {main}

 
This has been fixed with version 1.2.0 Patch Level 1 along with a javascript issue with choosing a custom amount when the campaign has donation presets.
 
hello @mattrogowski we would like to create different campaigns. Is it possible to create different promotions for each of these camaipns?
For example, 2 campaigns. If a user donates to campaign 1, they are placed in the suporter group. If a user donates to campaign 2, they are placed in the insider group.
 
Back
Top Bottom