Shape the future of Social networking with WordPress: Join Project Midnight Sun! The next generation platform for community building with WordPress!

BuddyDev

Search

Replies

  • Keymaster
    (BuddyDev Team)
    Posts: 25307
    Brajesh Singh on in reply to: [Resolved] .Mov Format Video not playing #17063

    Hi,
    Please download the plugin from here.

    1. Make sure you are atleast on VPS and have ffmpeg installed
    2. https://buddydev.com/downloads/mpplt-local-transcoder/versions/mpp-local-transcoder-1-0-0.zip

    3. For better performance, I will recommend configuring wp cron using crontab.

    How it works:-
    Currently, the functionality is simple. When you upload a video, it gets added to the queue. You can see the Queue from the backend.

    The cron job converts the video to mp4 and updates the queue/media entry. Since the cron job is scheduled at 1 minute interval, you may feel a little delay(2-3 minutes) between the enqueuing and the actual conversion.

    Currently, we do not show the status on front end(You can see it in the backend though). In future, we may do that.

    I don’t see much scope for the plugin as using a local transcoder will not work for sites with high video upload rate. This will work fine for the low/medium(say 500 video uploads per day) site.

    Configuring Cron Job on linux.
    1. Edit wp-config and put this line

    
    
    define('DISABLE_WP_CRON', true);
    

    It will stop WordPress from spawning cron.

    2. Now, you can use crontab -e to edit the crontab and add a new entry. Add the entry like

    
    
    * * * * * wget -q -O - http://yoursite.com/wp-cron.php?doing_wp_cron
    

    Please replace yoursite.com with the actual site url.

    Save it.

    restart cron

    
    sudo service cron restart
    

    And it should start working.

    Regards
    Brajesh

  • Keymaster
    (BuddyDev Team)
    Posts: 25307

    You are welcome. Glad it worked.

  • Keymaster
    (BuddyDev Team)
    Posts: 25307
    Brajesh Singh on in reply to: To/From Values custom field issue #17057

    Thank you. That makes sense. I should have been a bit more careful as you had mentioned the plugin in the very first post. I still missed it somehow.

    Sorry for the inconvenience.

  • Keymaster
    (BuddyDev Team)
    Posts: 25307
    This reply has been marked as private.
  • Keymaster
    (BuddyDev Team)
    Posts: 25307
    Brajesh Singh on in reply to: To/From Values custom field issue #17054

    Sorry, I did not check with the enhanced member card. The above code won’t work with it.

    Please allow me to test the plugin today/tomorrow and see if they are providing some hook to add extra.

    Thank you
    Brajesh

  • Keymaster
    (BuddyDev Team)
    Posts: 25307
    Brajesh Singh on in reply to: multi wildcard usage #17053

    Hi Chris,
    I just checked again and we do allow the wildcards ( * and ? ). I will look a little more and see if we can get an expression to match above format with these two? If not, there is going to be expert mode.

    Regards
    Brajesh

  • Keymaster
    (BuddyDev Team)
    Posts: 25307

    Hi Jon,
    Welcome to BuddyDev.

    You can change this line

    
    $bp_title['title'] = $bp_title['title'] . ': ' . $type_object->labels['singular_name'] ;
    
    

    to

    
    $bp_title['title'] =  $type_object->labels['singular_name'] ;
    
    

    That will do it.

    Thank you for considering the member type generator and pro. yes, It will work for both.

    Regards
    Brajesh

  • Keymaster
    (BuddyDev Team)
    Posts: 25307

    Hi Buko,

    Even though it is fixed on our repo, we did not release it on wp.org. I will do that this monday.

    Thank you
    Brajesh

  • Keymaster
    (BuddyDev Team)
    Posts: 25307
    Brajesh Singh on in reply to: [Resolved] .Mov Format Video not playing #17050

    Hi,
    Just updating. The first version will be available in next few hours. I am able to convert mov, flv, mkv and compress mp4 for web.

    I still have issues with avi. Looking at other formats too but most probably, I will be only using the above 4 for the first release.

    PS:- You will need to install FFMPEG on your server to get it working.

    Regards
    Brajesh

  • Keymaster
    (BuddyDev Team)
    Posts: 25307
    Brajesh Singh on in reply to: To/From Values custom field issue #17041

    H Carsten,

    Can you please tell me how this line is printed?

    
    Søger i alderen: ,
    

    I don’t think it is coming from my previous code. Please share the details and I will helps.

    Regards
    Brajesh