Replies
- Mical Johnson on June 29, 2020 at 12:38 am in reply to: Members Type Pro: Need to disable /members but keep /members/type/athletes #31291
Thanx. I handled the /members/type/coaches with the plugin fine. I also tried the buffering solution for the /members URL, but that didn’t work for me … also the link above doesn’t have the buffering solution, I found that in another blog post … used that code you wrote in the bp-custom.php file, but that didn’t do anything … the /members URL kept working for non-logged in users anyway …
- Mical Johnson on April 3, 2020 at 3:48 am in reply to: [Resolved] BuddyPress Member Types Pro : Need help with Pagination #28514
THANKYOU VERY MUCH!! U DA BEST!!!
- Mical Johnson on April 3, 2020 at 3:43 am in reply to: BuddyPress Member Types Pro – Looking for REST API end points #28513This reply has been marked as private.
- Mical Johnson on April 2, 2020 at 12:18 am in reply to: BuddyPress Member Types Pro – Looking for REST API end points #28471
Thankyou Brajesh,
That helped a lot and I am pretty close. And I think I found the reason why I’m getting wrong results with this:
https://asm-poc.cyberizegroup.com/wp-json/buddypress/v1/members?member_type=athlete&search=FOOTBALL
I just checked and found that somehow the plugin is adding extra member_types like this:
"member_types": [ "american-football", "american-football-athletes", "athlete" ],
You see, the only way I’m creating member types is through your plugin. And only 2 member types of members I added are “athlete” and “coach”. So can you plz tell me how those other member types got in there? At least can you guide me in the right direction? Cuz those extra member types were never meant to be in there. Why the system is doing that and how? Any idea? I’d appreciate any insight you may wanna share and how to fix this. Thanx in advance.
Moose
- Mical Johnson on April 1, 2020 at 7:52 am in reply to: BuddyPress Member Types Pro – Looking for REST API end points #28444
This is the site I’m working with:
https://asm-poc.cyberizegroup.com/wp-json/buddypress/v1/members
https://asm-poc.cyberizegroup.com/wp-json/buddypress/v1/members?search=football - Mical Johnson on April 1, 2020 at 7:49 am in reply to: BuddyPress Member Types Pro – Looking for REST API end points #28443
Sorry, Brajesh,
the file you referred to isn’t helping me … I was hoping more like usage link like this:
https://asm-poc.cyberizegroup.com/wp-json/buddypress/v1/members
More like how to use the member type in the REST url to get an isolated result … for example,
I have 2 types of members 1) athlete & 2) coach and athletes have xprofile field for ‘Choose Your Sports’ with value ‘US FOOTBALL’ so, is there a way to have a REST link to isolate a list of members that are Athletes that plays US FOOTBALL?
"49": { "name": "Choose Your Sport", "value": { "raw": "US FOOTBALL", "unserialized": [ "US FOOTBALL" ], "rendered": "<p><a href="https://asm-poc.cyberizegroup.com/members/?members_search=US+FOOTBALL" rel="nofollow">US FOOTBALL</a></p> " } }
So far I tried this:
https://asm-poc.cyberizegroup.com/wp-json/buddypress/v1/members?member_type=athlete&search=football
Well, I managed to isolate to Athlete member type, but I cannot get the correct sports name without narrowing down to proper xprofile field …
I know it’s a lot to ask, but I’m desperate … there is no help out there on this … If you could help me with this I’d be grateful for life …
Thanx a lot in advance.
Moose
- Mical Johnson on March 6, 2020 at 2:28 am in reply to: Is there a way extend or customize the "Recent Visitors For BuddyPress Profile" #28097
THANK YOU very much! You are truly a lifesaver … and this is why you’re running probably the best BP Plugin company in the World!! Feel like I’m getting 10 times the money back that I’ve spent here … plz, keep up the BEST work and God Bless!
- Mical Johnson on March 5, 2020 at 11:45 am in reply to: Is there a way extend or customize the "Recent Visitors For BuddyPress Profile" #28064
Thanx very much Brajesh … just one more question … can we limit the shortcode to show only a certain member-type? Basically, we’re using your Member Type pro plugin and we have 2 types of users and we want to track only one type … is it possible somehow … that be super awesome! Plz let me know. Thanx a bunch!
- Mical Johnson on February 29, 2020 at 12:37 am in reply to: Is there a way extend or customize the "Recent Visitors For BuddyPress Profile" #27958
Thank you very much Brajesh … you’re a life saver … plz drop a few lines here with some directions so I can take it from there … Thanx again and I’ll be checking this thread …
- Mical Johnson on February 27, 2020 at 6:56 am in reply to: Is there a way extend or customize the "Recent Visitors For BuddyPress Profile" #27919
Also, is it possible to display which member looked at the profile … Thanx.