Replies
Hi Sujee,
That’s strange. The above code should work for logged out too. It should hide all members form directory.Are you modifying member loop in any other way except the above code.
@ravisharma,
Thank you for the code but I will rather like it to work without it too.Regards
Brajesh- Brajesh Singh on June 1, 2018 at 5:21 am in reply to: [Resolved] BP Non Editable Profile Fields 1.0.1 can not moved #15432
Thank you for creating the topic here.
I have tested the plugin with 3.0 (on a text field).
If I have to guess from the above, I will suggest disableing “BP)SuitePlugins – Advanced XProfile Fields for BuddyPress” and then trying again.
It seems to be the only plugin that can cause it.
Please give it a try and let me know.
Thank you
Brajesh Hi David,
I have tested conditional field plugin by applying conditions on a field based on another text field and a select box and it is working for me.I am not sure what could be causing it for you.
Regards
Brajesh- Brajesh Singh on May 31, 2018 at 2:26 pm in reply to: to the connection of an existing member: change (role, plan) #15421
Hi Herve,
I am sorry but I don’t think I will be able to assist you on this.For me, as I said earlier, the solutions provided are very specific to what you mention. In some of the cases, they may act as a general solution but most of the time they will break.
In your case, even after so many days, I am still not sure, what exactly you are looking for.
The latest solution is tested to change the the role on completion.
Here is teh notice on BuddyPress 2.9
https://i.imgur.com/FQcmNH5.pngand on BuddyPress 3.0
https://i.imgur.com/LVWiwJM.png
Regards
Brajesh - Brajesh Singh on May 31, 2018 at 2:14 pm in reply to: [Resolved] I don't know if it's a bug from this plugin. #15420
Thank you for clarifying.
BuddyPress member Type field(s) are not compatible with the current version of BuddyPress Profile search.
We have an update lined up for it tomorrow that will add the compatibility.
Thank you
Brajesh - Brajesh Singh on May 31, 2018 at 1:59 pm in reply to: Display Custom field post to content body activity #15419
Hi Nidia,
I am sorry but I am not familiar with BuddyForms.I will suggest asking in their forums.
if there is anything else related to BuddyPress or our Plugins, Please feel free to ask in our forums. I will be glad to assist.
Regards
Brajesh Hi David,
I am not sure about this. I am going to test an report back in 30 minutes.Regards
Brajesh- Brajesh Singh on May 31, 2018 at 1:54 pm in reply to: BuddyPress Custom Xprofile Fields, compatibility with BP Profile Search #15417
Hi Carsten
Thank you. Looks perfect.
I will have it by Monday or before.
Best Regards
Brajesh - Brajesh Singh on May 30, 2018 at 4:34 pm in reply to: to the connection of an existing member: change (role, plan) #15407
Can you please take backup of the first code and try it.
It does exactly that.
Also, I am still not sure what a connection is but it works by checking on each page load. since it uses the logged in user’s user meta for checking, The impact on performance will be neglible.
Login is just one of the events where profile status changes. The profile status may also change on photo upload/delete or profile filed update.
Regards
Brajesh - Brajesh Singh on May 30, 2018 at 4:09 pm in reply to: to the connection of an existing member: change (role, plan) #15405
Hi Herve,
to be honest, I have no idea what worked in the first and what did not. That’s why I tried to rewrite it.As per your previous message
The idea is at the moment of connection (That’s when I can not do it, I think), check if the member has
* a photo
* all mandatory fields filled
* a subscriber role
* a special value for an xprofile fieldIf yes I change the role of the member (member0)
I made it such.
What changes do you want in this. Please do know that like I explained earlier, I am unable to work with parts. The code you had supplied was using incorrect variable($this outside the class scope, $bp without declaring global).
Can you please tell me the issue you are facing with the above code. It is just an upgrade of the previous code and as per your requirement, It does change the role.
Thank you
Brajesh