Replies
Hi Jay,
The email already in use should not come from this plugin. It is strange that it fixes it. The already in use means either they created the account earlier and have pending account or already existing account. It is very strange that this plugin is doing that.- Brajesh Singh on February 4, 2016 at 12:03 am in reply to: Mediapress breaks the cropping function of Buddypress #2509
Hi Ross,
Welcome to BuddyDev forums.
Which version of MediaPress you are using? There was an issue which was fixed a few months ago in beta state.If you are using 1.0.0, It will work fine. Please let me know more details.
Thank you
Brajesh - Brajesh Singh on February 3, 2016 at 6:40 pm in reply to: [Resolved] Mediapress – Predefined User Galleries #2507
Hi,
The functionality to filter is not there but I have implemeted it. I will be pushing it tomorrow after making a few more changes and simplifying the things further.I have added filtering by type as well as status
Now, if you will visit http://yoursite.com/members/username/mediapress/type/photo or any valid type, It lists galleries of that type only. Same is for status e.g
http://yoursite.com/members/username/mediapress/status/public will list the public galleries of the user.
Thank you
Brajesh Thank you Jay.
Hi Michael,
Welcome to BuddyDev forums.1. Changing the label from “Audio” to “Music” can be done easily by translation. All you need to do is translate the included po file and generate mediapress-en_US.mo file with your changes.
This linek may help
https://buddydev.com/mediapress/topics/getting-started/translating/translating-mediapress-into-your-local-language/
Make sure to put the translation in wp-content/languages/plugins directory to avoid it getting overridden in future updates.2. Breaking the plugin into 3 section, that’s interesting. Please give me 12-24 hours and I will have something ready for that too.
Hi Jay,
In that case, It will be better for now to limit by the domain name and I can update this plugin in next 2 weeks to have a separate table for storing email. That will remove any limit.For now, add the last part of the email to allow the registration from a site.
So, instead of adding
one@example.com
two@example.com..
we can just add
example.comThat will allow registrations from example.com domain but not others. I will keep this thread active and redo the plugin in next two week, the current storage implementation is not going to work for large scale.
Hi Jay,
No problem. Let us fix it then for larger limit.
What is your expected number of users you want to allow? Any idea?Thank you
BrajeshThere are other solutions too( like dynamically setting the limit ) but I will prefer the normal ways as if the domain suits your need, It can make 1000+ entry to one single.
Ok, I have got the reason and yes, our regular expression is failing after the limit you specified. I got this message in debug
Warning: preg_match_all(): Compilation failed: regular expression is too large at offset
So, we need to keep the list small. Now, That will not be an issue in your case.
As I see, most of your emails are from a particular domain. Do you want to allow all users from that to register? If yes, we can use just one entry for all of them.
Hi Jay,
Can you please send me a temporary admin access on brajesh@buddydev.comNeed to check a few things to fix it.