Replies
- Brajesh Singh on November 17, 2018 at 11:26 pm in reply to: [Resolved] Password Protect BuddyPress Username Changer #18806
Hi Mark,
The plugin is not designed with that and It will need a lot of modification.I am sorry but I am unable to add it to the plugin as it will not be a backward compatible change.
Regards
Brajesh Hi Kerem,
You can use the wp_heade hook for generating the meta.
https://codex.wordpress.org/Plugin_API/Action_Reference/wp_headYou can put the code in bp-custom.php or functions.php in your theme.
Regards
Brajesh- Brajesh Singh on November 17, 2018 at 11:20 pm in reply to: [Resolved] paiement with featured Member #18803
Hi Herve,
Thank you for confirming that my update was working.I have checked and the 404 is not due to my code. You should check and see if you have the page on the site.
Also, what is the second desire? using member type for time?
Regards
Brajesh Hi Mark,
Thank you for posting.
Which notifications you want to add the username too? There are two many notifications and the user is not always part of the context.Please let me know. It’s weekend, so will be assisting on/after Monday based on your reply.
Regards
Brajesh- Brajesh Singh on November 16, 2018 at 7:56 pm in reply to: [Resolved] BP Gallery (Am I the only one still using it?) Error #18790
Hi George,
I will strongly recommend moving away from B Gallery as it has not been updated for more than 4 years now.For the current issue, you can replace that line by this
logged_in_cookie: "<?php echo isset($_COOKIE[LOGGED_IN_COOKIE] ) ? $_COOKIE[LOGGED_IN_COOKIE] : ''; ?>"And it will remove the notice.
PS:- How many media is there in your BP Gallery site? Since we recently started supporting remote urls and added an API for importing media, It will be easy to import from BP Gallery to MediaPress now. The only problem I see is moving the activities.
- Brajesh Singh on November 16, 2018 at 2:56 pm in reply to: [Resolved] How to create a profile field of all countries in the world #18787
Hi Dale,
Thank you for posting.1. There are existing solution for adding countries list. The most popular seems to be adding all countries as Multi selection fields and child options. The problem with this approach is it won’t work for multi lingual websites.
2. For a client in past, I did create countries field using code. That allowed us to translate the names. The problem with that approach is the default search won’t be able to find the countries properly. BP profile Search can.
Now coming back to states and provinces, I don’t think there exist any solution for this. The list can become quiet exhaustive. It is feasible to do it for a few countries.
I will love to work on it in future and do it something similar to what WooCommerce does for the Country/States.
For now, If you want to go with multiselect option, you may use the code from here.
https://github.com/Mamaduka/cfcommunity/blob/master/wp-content/plugins/bp-custom.php#L91Regards
Brajesh - Brajesh Singh on November 16, 2018 at 1:43 pm in reply to: BuddyPress Deactivate Account Plugin: in which DB-table is the information store #18785
Hi Miriam,
Thank you for using the plugin.The account status is stored in user meta table( yourdatbasaprefix_usermeta).
For each user, you can set the account status deactivated by adding a meta ‘_is_account_inactive’ and setting its value as numeric 1.
To make a user active again, you can delete the meta with the key ‘_is_account_inactive’ for that user.
Regards
Brajesh - Brajesh Singh on November 16, 2018 at 8:50 am in reply to: Implementing Instagram Photos into MediaPress ? #18783
Hi Daniel,
We did work on it but we cold not make it into something which was releasable. We did it twice and in both the cases, there were limitations/bottlenecks. I will explain.
First time, we used Javascript Canvas to do client side manipulation of images(applying effects in browser) using Camanjs library and then saving the generated image(png data) to server. This was the demo I showed you earlier.
It failed because the filesize became untenable. Sometimes the file sizes got increased by 10 folds some times even more.
There were times when server was not even able to handle the data(even when using chunking while sending png to server for save).
It was not the solution we wanted and we dropped it. I will ask my team to put this project on github to allow others to explore it.
The second time, the person working on this project used a library
https://github.com/marjadej/instagraphWhich was mentioned to be MIT licensed(MIT is still mentioned at the bottom of the git page). It seems the same library is used by the other BuddyPress Media plugin.
While reviewing the code(I don’t remember correctly but I believe I was doing a pre-release review of the code) I found that the class was licensed under CC BY NC(Can not be used for commercial purposes)
https://github.com/marjadej/instagraph/blob/master/lib/Instagraph/Instagraph.phpIf we continued it, Only Non commercial entities could use the plugin. So, I decided to scrap this project as well.
There hasn’t been any development on it for last few months. Our challenge for doing this project is finding implementation details for various filters. Even though we can implement filters ouselves we don’t know what configuration to apply for each of the instagram effects(e.g brighness, alpha, various channeles etc).
I am not sure about the future of this project anymore and will be doing another review next year after things settle down for us.
If you find anything interesting in the meantime, Please do share.
Regards
Brajesh - Brajesh Singh on November 16, 2018 at 8:33 am in reply to: How to send a message to all users #18782
Hi Daniel,
You can safely disable it.It creates same tables as BuddyPress Message component, so there should not be any issue in switching between the two.
Regards
Brajesh - Brajesh Singh on November 16, 2018 at 7:28 am in reply to: [Resolved] Media Press gallery images disappear when deleting junk member requests to join #18780This reply has been marked as private.