Autoadding tags to users submitted URLs
-
Hello everyone! I hope you all are having a great day.
I have a website where users can submit offers from third party stores.
I want users to be able to add their own affiliate tags in each profile field so tags are added automatically to their all submitted links.
I know I need to modify the last code of here: http://rehubdocs.wpsoul.com/docs/rehub-theme/user-submit-memberships-profiles/auto-adding-affiliate-links-to-user-submitted-offers/
But instead of that, I need it gets the ID from the field value on user profiles always it is filled, and then be added to all their offer post urls, and add my ID just if the value field of the user is empty.
I’ve been trying so hard to modify it and using bp_member_profile_data and xprofile_get_field_data I didn’t get anything, so any help would be very welcome.
Thank you very much for your time and help.
- You must be logged in to reply to this topic.