Modify mod_jd_donors.pcp to include unpublish

More
14 years 7 months ago - 14 years 7 months ago #1616 by hans
I have created a custom field in the donation form which allows users to select if the wish to remain anonymous.

I would like to incorporate this into the donors module (mod_jd_donors.php)but I am unable to adapt the code for the sql query properly to make this work.

My custom fields are:

`field_id` is 2

t0r4j_jd_field_value` is "Do not publish"


Can anyone tell me how to write the php code for the sql query that would not post the user name in the donors module if this custom field is selected?

I must be dislexic.:S I can't make this work.

Maybe there is another way of doing this?
Last edit: 14 years 7 months ago by hans.

Please Log in or Create an account to join the conversation.

More
14 years 6 months ago #1671 by Tuan Pham Ngoc
Replied by Tuan Pham Ngoc on topic Re:Modify mod_jd_donors.pcp to include unpublish
Hi
This feature is now available on version 2.2 of Joom Donation . When donor makes donation to your site , If he checks on "Hide from donor list" checkbox , he will not be showed on donor list .
Thanks ,
Ossolution Team

Please Log in or Create an account to join the conversation.

Moderators: Mr. DamDũng Nguyễn Việt