Mediafront Troubleshooting

Note: Many issues with playback using the MediaFront module are usually due to improperly formatted/encoded files. Please take the time to learn how to properly format and encode your files.

Make sure to test your video playback in multiple browsers, Operating Systems and devices to see if you can replicate the issue you are having before proceeding. Isolating which browser, OS and device that are causing the issues will aid in determining which solution might be best.

Download properly encoded sample video files to use for testing purposes. Included in an .mp4, .webm and .ogv. Files are licensed under the Creative Commons Attribution 3.0 license for the Peach Open Movie Project, Big Buck Bunny.

Issue: The player doesn't play your files.

Solution: The mimetype is likely set incorrect or not at all on your server. The mimetype must be set, or HTML5 browsers refuse to play the files.

Read:
Setting mime types in Apache
Setting mime types in Windows IIS
Setting mime types using cPanel

Importing content from a csv emailed to an address using mailhandler

First Draft so I don't forget the process for the future.

This is the process used to import a csv that was sent to a gmail address using feeds and mailhandler. Everything is on Drupal 7

This is a rough approximation of what I did. Some things need some polishing e.g. I set it up to import even if it isn't authorized on the file import. I need to secure that.

Install PHP IMAP library (On your server)
First install Mailhandler
Install Feeds
Install Attachment Links

Create the Gmail account you will be importing from.
Enable POP in Gmail ( I Also set it to archive messages once they were downloaded to prevent multiple imports.

Enable the modules you installed on the site.
Create the content type you are trying to import.
Create a file holder content type to hold the csv you are importing from. On the content type edit page there is a new vertical tab for attachment links, enable it for the file field. I set it hold one fiel and used the file widget.

Structure > Mailhandler Mailboxes
+ Add
There is a bug currenlty when it tries to use ajax to test the settings. Fill out the domain and password last, you may have to save it and come back in a couple times. Before clicking save always click elsewhere on the page to initiate the ajax call and wait for it to complete or it won't save the settings.
For Gmail use pop as the protocol

puphpet.com vagrant configured Virtual Machine

Why would you want this?

A Vagrant configured Virtual Machine setup for your Drupal work provides:

  • Match your real go-live production environment (as opposed to a MAMP setup or putting a LAMP stack directly on your machine means your site is dependent on that environment)
  • Repeatability and consistency: can re-run your scripts to setup the VM if you need to, you can share your setup with others

More detail on these at end of doc - see "Background"

Don't get put off by the length of instructions!

A bit long aren't they?! TL;DR and all that!

NOTE: Most of the stuff is a one-off setup. Hang in there! Keep going! After that it's much less and it will pay off - see "Why would you want this?" Contact me if you need advice - post a comment - help me write a better guide :)

Revision History

revision history is here

Credits

How to install this stack on Ubuntu

RVM is highly recommended for Omega 4. For more information about this, please see the previous page and the 'Gem Management' section at https://rvm.io/.

Here's a 3 min screencast that covers an Ubuntu installing everything required via rvm, including ruby and bundler : http://www.youtube.com/watch?v=RDuSrP3w06Y

Reference to EntityReference Field Migration

DESCRIPTION

This module converts references fields (from references module) to entity reference fields. A batch task will be issued (per field) to create a temporary table, store the reference values, delete the reference field, create a new
entity reference field, and copy over the values from the temporary table.

USAGE

There are 2 possible ways to convert fields:

USER INTERFACE

Go to admin/content/migrate-references, select the fields you wish to convert, and click confirm.

DRUSH

Type 'drush entityreference-migrate-references' (or 'drush emr') to convert all fields. You may provide a field machine name as an argument to convert on a field-by-field basis.

PRE-CONVERSION TASK LIST

Before starting any conversion, there are a few recommended tasks.

FIELDS

  1. Create a where-used list of fields, widgets and formatters, using:

VIEWS

  1. Create a where-used list of fields, filter criteria, sort criteria, contextual filters, using:
    • views: /admin/reports/fields/views-fields

Profile2 and Views

The Profile2 module integrates with Views to allow listing of users with their profile information.

While you can create views directly using the a Profiles type view, most views will start with a User type view. To add Profile2 fields to a User view, you need to add a relationship for User: Profile.

Pages

Subscribe with RSS Subscribe to RSS - Needs copy/style review