HI Brajesh,
ok I put in my code in functions.php :
if( $form_id==112 ) { bp_featured_members()->add_user($user_id); update_user_meta( $custom[3], '_paid_featured', 1 ); update_user_meta( $custom[3], '_bpfm_featured_expiry_time', time() + bpfm_paypal_get_role_based_interval( $custom[3] ) ); }
and added in your plugin the mentioned code
I clicked the button manually “set featured” and several hours after the member is still present
How can this work according to the xprofile field or by clicking on your button manually to “highlight”?I’m sorry for the delay this week because I have 1 site for association that has been hacked, I am less available
RegardsHi Herve,
I am sorry to hear about your other site.For this site, Please share complete code including file header on pastebin. It seems to me that you might have removed the plugin header again. I don’t see any reason why the already running code won’t work.
The code in previous reply does not have any affect on the original.
Regards
BrajeshHello Brajesh,
To understand each other, I did not retest what worked.
1 After doing what you asked, I just clicked on the “set featured” button to members. The members stay all the time “set featured”!
2 / I do not see where you support the xprofileHi Herve,
I am sorry but each time I share the code you keep changing and that breaks it.For example, The code you have shared in the above link is incapable of adding members as featured after Payment. You have removed the section which marked user as featured on Payment.
Please provide me FTP and let me update the file for you. That will be much easier and I can update this quickly. That will save you time too.
Thank you
BrajeshHi Herve,
Thank you.
Happy Holiday and Wish you a wonderful year ahead:)Regards
Brajesh
The topic ‘ [Resolved] paiement with featured Member’ is closed to new replies.