I'm working on adding a page called "Your donations" where you can see donations and if you are subscribed. Also adding a link to Paypal for your subscriptions.Is there a way for the user to know they are subscribed from the forum (instead of only on PayPal's site)?
Cool. I'm really liking this add-on. Much cleaner than the others I've looked at. Currently working on doing some custom stuff to the templates. I'll show what I did when I finish.I'm working on adding a page called "Your donations" where you can see donations and if you are subscribed. Also adding a link to Paypal for your subscriptions.
Added "Your donations" page where you can view your donations. If a donation is a subscription, it will be marked as such and added a link to your payment provider account where you can view and cancel subscriptions.
The page is linked from the visitor account menu and on other pages where donation stats are displayed.
Have added a sidebar widget position for this page as well.
Donation goal in donation lists are now linked to their own page.
Nice. That was quick.Siropu updated Donations by Siropu with a new update entry:
Improvements
Read the rest of this update entry...
How are you uploading files to server? Are you using the built in "Install/upgrade from archive" feature or FTP?should I do anything here?
FTPHow are you uploading files to server? Are you using the built in "Install/upgrade from archive" feature or FTP?
Upload files in binary mode. You should use the "Install/upgrade" from archive feature in ACP. Much easier.
"Various directories must be writable by the web server user to install from an archive and this may be considered to be insecure in some hosting environments."Upload files in binary mode. You should use the "Install/upgrade" from archive feature in ACP. Much easier.
When you enable that feature, you usually don't need to change anything else, like directory permissions so I don't see how that can be a problem.Is it actually less secure to do it this way?
<xf:button href="{{ link('donations/donate', null, {'donation_goal_id': $goal.donation_goal_id}) }}" class="button--cta button--fullWidth siropuDonations-donateButton" overlay="true" fa="fas fa-donate">{{ phrase('siropu_donations_donate_to_goal') }}</xf:button>
1
?ReplaceWhat would I change in the HTML to give that button the ID of1
?
$goal.donation_goal_id
with 1
.Add this in extra.less:Looks like the progress bar is bugged if it goes beyond 100%:
.siropuDonations-progressBar--progress
{
max-width: 100%;
}
Thanks. Think you can eventually update the add-on with that?Add this in extra.less:
CSS:.siropuDonations-progressBar--progress { max-width: 100%; }
We use essential cookies to make this site work, and optional cookies to enhance your experience.