professorpascal
Forum Replies Created
-
Forum: Plugins
In reply to: [GiveWP - Donation Plugin and Fundraising Platform] Donation HistoryHello Matt! thanks!
actually, i locked it to anonymous.. hardcoded.. I’m considering adding a radio button to ask if the donor wants the “first name” public or not. Giving the option, and, would only display the first_name field.
if not last_name = CAT(first_name, Last_name) first_name = "donor" end
this way, no changes to database or anything, i’d just parasite the donation form php code, and change the variable before it’s saved. And on the donation_history, i’d always display the adjusted first_name field.
Just not sure yet in which php file I should add that radio button… it would be in the form where they fill first_name, last_name. Any hints of where to look would save me from lots of digging!
thanks & Happy New Year!
PascalForum: Plugins
In reply to: [GiveWP - Donation Plugin and Fundraising Platform] Donation HistoryHello
(3) is resolved
This is how you can display only the completed donations, by adding the post_status line shown here to previous code pasted in pastebin link.$args = array( 'post_type' => 'give_payment', 'post_status' => 'publish', 'posts_per_page' => 10000,//$atts['number'], );
Forum: Plugins
In reply to: [GiveWP - Donation Plugin and Fundraising Platform] Donation HistoryHello!
me again,
(1) still don’t know how to do that one.
(2) I’ve found how to display post and arrays and etc.
(3) I’ve found how to display 100 last donations.
(3.1) How do I display only completed transactions. It seems that there are a lot of pendings, failed, and so on. I just want the completed ones to show.That’s what I have right now.
https://pastebin.com/NtYVzhCHThanks!
Forum: Plugins
In reply to: [GiveWP - Donation Plugin and Fundraising Platform] Donation HistoryHello There,
I’ve used the code you show at better-donor-list-shortcode.php as I want to do the same thing as the original post..
See code there: https://pastebin.com/ebhLK5vh
result display: https://pastebin.com/TMrruvdkwith light changes:
(1) hiding the name.. for now replaced with Anonymous, where would I need to go to change the label of the field to say that the first name would be public, to write first name accordingly. etc. (or if I’d like to add a field that would be the public name).(2) added the date.. Is there a place to see/know what variables/columns are accessible?
(3) btw, code seems to have hiccup.. it shows only 10 last donations?.. Is there a way to show it all? or display numbers of available records, idk. looking for way to show all completed individual donations. Am almost there.
Thanks!!
PascalThank you!!
Sadly I don’t have proper access (cpanel/ftp) to do that.. but I’ve edited directly the template, removing the two columns view. Until I’m provided proper access by site owner (organization administration), all I can do is to go through Editor in WordPress.
I’m adding PHP and HTML comments with file names in all files I can access.. too much pain to move around and locate and administer sites that I haven’t built or anything..
Have a nice day!
Solved. ??
Formatting page..
wrap single event page format{has_location}#_LOCATIONMAP {/has_location}
>>
Used this, with the #tag that was there, different #tag name.
https://www.ads-software.com/support/topic/plugin-events-manager-hiding-the-map-unavailable-notification/