BuddyDev

Search

Replies

  • Keymaster
    (BuddyDev Team)
    Posts: 25057
    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: 25057
    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: 25057
    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: 25057
    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: 25057
    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: 25057
    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.

  • Keymaster
    (BuddyDev Team)
    Posts: 25057
    Brajesh Singh on in reply to: BuddyPress Confirm Actions + Stripe #2492

    Hi Kenny,
    Thank you. Please drop me a mail at brajesh@buddydev.com and I will help. If you just need a trigger, I can do that in minutes and you won’t have to pay anything( you will have to call your own stripe processing code in that case).

    Thank you
    Brajesh

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

    Hi Jay,
    Can you please check if there is an empty line at the bottom of the list? I am sorry about that but after the last entry, there should not be any empty line/space. That matches everything and allows registration from all.

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

    Thank you for clarifying Jay. Please let me check it and I will get back to you in next 5-10 minutes.

  • Keymaster
    (BuddyDev Team)
    Posts: 25057

    Hi,
    Thank you for confirming.

    If I understand correctly, you want different tabs for each type of gallery. I don’t remember correctly if we have already implemented it in MediaPress( You can always use custom query to do it, I am checking it we have it inbuilt). I will get back to you in an hour.

    Thank you
    Brajesh