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

Also another thing, http://i.imgur.com/WBb53UX.png its nice with milestones.. that the "donation line" changes color and whatnot but no way to somehow show the people that once the goal reaches 30% something happends and once it hits 70% something else happends, like show them the titles of the milestones or something?
 
Server Error
Invalid model 'bdPaygate_Model_Processor' specified

  1. XenForo_Model::create() in XenForo/Controller.php at line 101
  2. XenForo_Controller->getModelFromCache() in Audentio/DonationManager/ControllerPublic/Donation.php at line 223
  3. Audentio_DonationManager_ControllerPublic_Donation->actionPay() in XenForo/FrontController.php at line 351
  4. XenForo_FrontController->dispatch() in XenForo/FrontController.php at line 134
  5. XenForo_FrontController->run() in /home/xpoffcom/public_html/index.php at line 13

???? Somewhere we have to setup paygate or what is the problem here?
 
Like why does it show users that hasnt donated at all under "Top Donations"? shouldnt this list be completely empty untill someone donates?

This has been fixed and will be released in a patch soon.

no way to move the text BELOW the donation goals and what not and actually style it as when you make a thread? right now it just looks like a wall of text

You can edit the template and move it exactly where you want, and style it how you want. You can also use HTML in the description

Also another thing, http://i.imgur.com/WBb53UX.png its nice with milestones.. that the "donation line" changes color and whatnot but no way to somehow show the people that once the goal reaches 30% something happends and once it hits 70% something else happends, like show them the titles of the milestones or something?

Server Error
Invalid model 'bdPaygate_Model_Processor' specified

  1. XenForo_Model::create() in XenForo/Controller.php at line 101
  2. XenForo_Controller->getModelFromCache() in Audentio/DonationManager/ControllerPublic/Donation.php at line 223
  3. Audentio_DonationManager_ControllerPublic_Donation->actionPay() in XenForo/FrontController.php at line 351
  4. XenForo_FrontController->dispatch() in XenForo/FrontController.php at line 134
  5. XenForo_FrontController->run() in /home/xpoffcom/public_html/index.php at line 13

???? Somewhere we have to setup paygate or what is the problem here?

Yes, you have to install paygates to use this add-on.

So.... can I have any answers on my 3-4 questions from the previous comments=/?

Unfortunately we cannot monitor all of the threads constantly, and sometimes things get missed due to the way XenForo's alert system works. If you require urgent assistance you can create a ticket over at audentio.com :)
 
I've just repackaged and reuploaded the add-on. It still had the old XML in it, sorry for the confusion.

Jake
I do notice a issue, I updated this and tried to just overwrite the main template as I made a few small changes to it, now I'm getting this but its not showing the bar or anything?

9355d8e913bd15aa6b124420dc67371b.png


Any idea what I could have done wrong? Here is the code:
Code:
<xen:if is="{$visitor.user_id}">
<xen:if is="{$featuredCampaign}">
            <xen:require css="addm.css" />
            <xen:require css="thread_prefixes.css" />
            <div class="donationCampaign donationCampaignPage donationCampaignList">
            <div class="secondaryContent">
            <div class="featuredIconWrapper">
            <div class="campaignIconLarge">
            <a class="avatar Av1s donationCampaignImage featuredCampaignImage">
            <xen:if is="{$campaign.image_url}">
            <img src="{$campaign.image_url}">
            <xen:else />
            <img src="@addm_defaultCampaignImage">
            </xen:if>
            </a>
            </div>
            <div class="campaignMeta">
            <h3><a href="{xen:link donations/campaign, $featuredCampaign}"><span class="prefix prefixPrimary">{xen:phrase addm_featured}</span></a> <a href="{xen:link donations/campaign, $featuredCampaign}">{$featuredCampaign.title}</a></h3>
            <xen:if is="{$featuredCampaign.description}">
            <p class="description">{$featuredCampaign.description}</p>
            </xen:if>
            </div>
            </div>
            <xen:if is="{$campaign.campaign_type} == 'goal'">
            <xen:include template="addm_progress_bar">
            <xen:set var="$progressBarText">{xen:number $featuredCampaign.progress_percent, 1}%</xen:set>
            <xen:set var="$progressBarWidth">{$featuredCampaign.progress_bar_width}</xen:set>
            <xen:set var="$progressBarOverlayClass">{$featuredCampaign.progress_bar_overlay_class}</xen:set>
            <xen:set var="$milestoneId">{$featuredCampaign.milestone_id}</xen:set>
            <xen:set var="$progressBarColor">{$featuredCampaign.progress_bar_color}</xen:set>
            </xen:include>
            </xen:if>
            <div class="goalBlocks">
            <div class="{xen:if '{$campaign.campaign_type} == "goal"', 'goalBlockWidth', 'goalBlockFull'}">
            <div class="primaryContent goalBlock left">
            <span>{xen:phrase addm_earned}</span>
            <em>{$featuredCampaign.current_progress_string}</em>
            <xen:if is="{$featuredCampaign.time_left_phrase}">
            <p class="muted">&nbsp;</p>
            </xen:if>
            </div>
            </div>
          
            <xen:if is="{$campaign.campaign_type} == 'goal'">
            <div class="goalBlockWidth">
            <div class="primaryContent goalBlock right">
            <span>{$featuredCampaign.goal_phrase}</span>
            <em>{$featuredCampaign.goal_string}</em>
            <xen:if is="{$featuredCampaign.time_left_phrase}">
            <p class="muted">{$featuredCampaign.time_left_phrase}</p>
            </xen:if>
            </div>
            </div>
            </xen:if>
            </div>
            </div>
            </div>
            </xen:if>
            <xen:else />
        <center><img src="forum image banner here"></center>
        </xen:if>
 
Looks like it may be a bug in the upgrade script. I'll get a patch out, but there won't be a need for you to upgrade, just run these two queries:

Code:
ALTER TABLE `addm_campaign`
     ADD `payment_type` VARCHAR(25) NOT NULL DEFAULT 'default' AFTER `goal`;

Code:
ALTER TABLE `addm_campaign`
     ADD `campaign_type` VARCHAR(25) NOT NULL DEFAULT 'goal' AFTER `display_order`;

Edit: Just released the patch. If you already tried to upgrade the patch won't do anything for you, just run the two queries above :)
 
Looks like it may be a bug in the upgrade script. I'll get a patch out, but there won't be a need for you to upgrade, just run these two queries:

Code:
ALTER TABLE `addm_campaign`
     ADD `payment_type` VARCHAR(25) NOT NULL DEFAULT 'default' AFTER `goal`;

Code:
ALTER TABLE `addm_campaign`
     ADD `campaign_type` VARCHAR(25) NOT NULL DEFAULT 'goal' AFTER `display_order`;

Edit: Just released the patch. If you already tried to upgrade the patch won't do anything for you, just run the two queries above :)
Hmm ran those, but I do not see any changes?
 
Thanks
Now supports Zarinpal but:
  • Toman currency doesn't have .00 decimal
  • It shows $USD still next to the donation goal.. But it should show تومان instead of $USD
2016-03-09_21-18-56.webp
 
Bad news about supporting of this version of [bd] Zarinpal is problems I said above. Hope to be fixed.

But good news is that now that it supports [bd] zarinpal, it also supports [bd] Jahanpay. You can add it to the list of newly supported paygates ;)
It also supports [bd] banking.
 
:( Throwing server errors I'm afraid

Code:
ErrorException: Undefined index: campaign_type - library/Audentio/DonationManager/Model/Campaign.php:359

Code:
#0 /home/bigdogsp/public_html/library/Audentio/DonationManager/Model/Campaign.php(359): XenForo_Application::handlePhpError(8, 'Undefined index...', '/home/bigdogsp/...', 359, Array)
#1 /home/bigdogsp/public_html/library/Audentio/DonationManager/Model/Campaign.php(259): Audentio_DonationManager_Model_Campaign->prepareCampaign(Array)
#2 /home/bigdogsp/public_html/library/Audentio/DonationManager/Extend/XenForo/ControllerPublic/Forum.php(12): Audentio_DonationManager_Model_Campaign->prepareCampaigns(Array)
#3 /home/bigdogsp/public_html/library/Andy/RemoveRss/ControllerPublic/Forum.php(8): Audentio_DonationManager_Extend_XenForo_ControllerPublic_Forum->actionIndex()
#4 /home/bigdogsp/public_html/library/XenForo/FrontController.php(351): Andy_RemoveRss_ControllerPublic_Forum->actionIndex()
#5 /home/bigdogsp/public_html/library/XenForo/FrontController.php(134): XenForo_FrontController->dispatch(Object(XenForo_RouteMatch))
#6 /home/bigdogsp/public_html/index.php(13): XenForo_FrontController->run()
#7 {main}
 
Back
Top Bottom