• Hey,

    what I am trying to do is to make a poll only visible for BuddyPress users with a certain or multiple information in their profile.
    The fields in Buddypress are limited and can only be filled with information we provide (they select from dropdown), so the amount of checks should be only a few, I guess.

    To be specific: If I create a poll, I would love to have a metafield for e.g. gender and enter female and after I publish it, only BuddyPress profiles with female as gender can view and participate in this poll.
    I am aware, that this is probably nothing you can answer with a quick code snippet (if you can, you’d make me even happier) but I am also willing to do the main part of the work, once you can give me a little information on where to start / how your poll-displaying works and how I might filter the BuddyPress information.

    Thanks in advance and have a great weekend.

    https://wordpress.org/plugins/wp-polls/

Viewing 1 replies (of 1 total)
  • Thread Starter rufrage

    (@rufrage)

    So while I am waiting for your answer, I was doing some research and found out, that I probably need to create an own plugin that creates “requirement-metaboxes” for your post-type and uses your action hook when displaying a poll to check, if the metaboxes match the profile info of the logged-in Buddypress User. I’ll try to figure this out and might have success with all the tutorials out there. What I would appreciate, is if you could name the filter you built in to display the polls 🙂 Thanks a lot and have a great Sunday.

Viewing 1 replies (of 1 total)
  • The topic ‘Polls only for certain BuddypressUsers’ is closed to new replies.