-
Author
-
January 16, 2015 at 19:50 #42399jrichardsonParticipant
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!
January 16, 2015 at 20:47 #42403sharmstrModeratorAssuming 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 solutionThis support site is not about custom work. If you need custom development please contact cornel@seventhqueen.com
January 16, 2015 at 20:49 #42404sharmstrModeratorJust 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 solutionThis support site is not about custom work. If you need custom development please contact cornel@seventhqueen.com
January 16, 2015 at 20:54 #42406jrichardsonParticipantThanks 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.
January 16, 2015 at 21:01 #42409sharmstrModeratorAhh. 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 solutionThis support site is not about custom work. If you need custom development please contact cornel@seventhqueen.com
-
AuthorPosts
The forum ‘General questions’ is closed to new topics and replies.