Question Remove Earned amount, bar and Donators list

Status
Not open for further replies.

ChicagoCoin

Customer
Sorry in advance about these template questions, I need specific instructions about editing them.

I'm using the donation system for 1 non-recurring drive and manually added the donation history, thanks for the info about removing the goal amount. I also want to remove the earned amount and bar, wish it was in the settings, I found this post at XF and your next post explains the edits a little more but I'm used to instructions like add, delete and replace with the code in the dbtech_donate_drive template to remove the earned bar and amounts.

I also read a different post on your forums here about removing the listing of donators and amounts from the same template, (<div class="block block--messages">)? I did try to set the Donations per page to 0 and that makes all of them except for the last donation to disappear.
 
Donators list cannot be removed. To remove Earned amount, open dbtech_donate_drive_macros and delete these blocks:

Code:
                    <div class="driveGoals {{ $drive.goal_amount > 0 ? 'half' : 'full' }}">
                        <div class="info">
                            <div class="title">{{ phrase('dbtech_donate_earned') }}</div>
                            <div class="points {{ $sidebar ? 'points--sidebar' : '' }}">{{ $drive.getParsedEarnedAmount() }}</div>
                        </div>
                    </div>

Code:
                        <dl class="pairs pairs--inline">
                            <dt>{{ phrase('dbtech_donate_earned') }}</dt>
                            <dd>{{ $drive.getParsedEarnedAmount() }}</dd>
                        </dl>

Code:
                <dl class="pairs pairs--rows">
                    <dt>{{ phrase('dbtech_donate_earned') }}</dt>
                    <dd>{{ $drive.getParsedEarnedAmount() }}</dd>
                </dl>

Please do note that template modifications are not a normal part of support and so it may not always be possible to assist.
 
Hello @ChicagoCoin,

We hope your ticket regarding DragonByte Donate has been addressed to your satisfaction. This ticket has now been scheduled to be closed.

If your ticket has not been resolved, you can reply to this thread at any point in the next 7 days in order to reopen the ticket, afterwards this thread will be closed.

Please do not reply to this thread if your ticket has been resolved.

Thank you.


- DragonByte Technologies, Ltd.
 
Status
Not open for further replies.

DragonByte Donate

XenForo 1.5.3+ XenForo 2.0.x XenForo 2.1.x XenForo 2.2.x XenForo 2.3.x
Seller
DragonByte Technologies
Release date
Last update
Total downloads
1,768
Customer rating
5.00 star(s) 1 ratings
Back
Top