BuddyDev

Search

Replies

  • Keymaster
    (BuddyDev Team)
    Posts: 25174
    Brajesh Singh on in reply to: Restrict Email Domains #2511

    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.

  • Keymaster
    (BuddyDev Team)
    Posts: 25174
    Brajesh Singh on 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

  • Keymaster
    (BuddyDev Team)
    Posts: 25174

    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

  • Keymaster
    (BuddyDev Team)
    Posts: 25174
    Brajesh Singh on in reply to: Restrict Email Domains #2506

    Thank you Jay.

  • Keymaster
    (BuddyDev Team)
    Posts: 25174
    Brajesh Singh on in reply to: MediaPress #2505

    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.

  • Keymaster
    (BuddyDev Team)
    Posts: 25174
    Brajesh Singh on in reply to: Restrict Email Domains #2502

    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.com

    That 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.

  • Keymaster
    (BuddyDev Team)
    Posts: 25174
    Brajesh Singh on in reply to: Restrict Email Domains #2500

    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
    Brajesh

  • Keymaster
    (BuddyDev Team)
    Posts: 25174
    Brajesh Singh on in reply to: Restrict Email Domains #2497

    There 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.

  • Keymaster
    (BuddyDev Team)
    Posts: 25174
    Brajesh Singh on in reply to: Restrict Email Domains #2496

    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.

  • Keymaster
    (BuddyDev Team)
    Posts: 25174
    Brajesh Singh on in reply to: Restrict Email Domains #2494

    Hi Jay,
    Can you please send me a temporary admin access on brajesh@buddydev.com

    Need to check a few things to fix it.