This topic has 4 replies, 2 voices, and was last updated 9 years by sharmstr.

  • Author

    Tagged: ,

  • #42399
     jrichardson
    Participant

    Hello, I have a fairly straightforward question:

    Is the userID posted on the profile page and what is the $_GET value for it?

    I’m using a plugin called Formidable Pro to allow users to add fields to their profile pages. Formidable Pro’s support has been guiding me through the process, but say that I need to be able to access the userID from the profile page in order to pass the userID to the plugin.

    Thank you!

    #42403
     sharmstr
    Moderator

    Assuming you are using buddypress $bp->displayed_user->id will get you the user ID of the profile you are looking at.

    Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solution

    This support site is not about custom work. If you need custom development please contact cornel@seventhqueen.com

    #42404
     sharmstr
    Moderator

    Just so I understand your requirement…. The built in x-profile wont work for you because you want to give your member the ability to add whatever field they want instead of filling out pre-defined fields?

    Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solution

    This support site is not about custom work. If you need custom development please contact cornel@seventhqueen.com

    #42406
     jrichardson
    Participant

    Thanks for the quick response.

    Well, the idea is that I would have two levels of membership.
    The first level would be for normal users, the second for admins.

    So if a normal, registered user wants to become an admin, they would have to fill out an additional form with extra bio fields. After they submit the form, I could either approve it, or deny it. If I approve it, I would change the user type, and by using Formidable Pro, approve the form. At that point the extra fields would be added to the user profile.

    #42409
     sharmstr
    Moderator

    Ahh. Okay. More complex than I thought. Most of what you need to know will be in the Buddypress codex: https://codex.buddypress.org/ Good luck.

    Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solution

    This support site is not about custom work. If you need custom development please contact cornel@seventhqueen.com

Viewing 5 posts - 1 through 5 (of 5 total)

The forum ‘General questions’ is closed to new topics and replies.

Log in with your credentials

Forgot your details?