Hello,

Is there a way to verify that a video media field has not already been posted? For example, check the document id of youtube prior to inserting the node?

Thanks for any help,
John

Comments

alexkessler’s picture

Hi there!

You're right. This would be a nice and helpfull feature.
With php knowledge (which i still don't have) it should be possible to compare the new document id with the database entries.

It would be nice to have e.g. a 'verify' button next to the embed URL CCK field. Maybe Ajax which lets the user check for duplicates before he fills out all the additional data and hit submit.

This would help me a lot to keep my site clean!

alex

aaron’s picture

Status: Active » Postponed

that would be a nice (optional) feature. won't be able to do it till after the d6 push for at least a month, though.

g051798’s picture

Thanks, I will wait patiently. Thank you for the great module!

cappelle’s picture

Hi
I was also looking for this feature. There is a "Unique Field" module for this purpose but I couldn't get it to work.

Maybe a message "This video has already been submitted" could show up whenever someone tries to submit a video that already exists in the database, with a link to the existing video.

I'm looking forward to an update for this.
Thanks,

Frank

cappelle’s picture

I got the unique field module to work with emfield - http://drupal.org/project/unique_field

After installing the module, go to admin/content/types and select your content type You will find the "unique field configuration" all the way at the top. Then select the cck fields to which you want to apply it.

Frank