Media Types

From TNG_Wiki
Jump to: navigation, search

TNG 7: User Media Types

TNG 7.0.0 adds a tng_mediatypes database table that now saves the user-created media types you add to TNG

If you previously modified the mediatypes.php file to add your own media types, you no longer need to modify this file. See Media Types - Migrating mods for notes on how to migrate your previous modifications to mediatypes.php to 7.0.0

You might still need to modify the mediatypes.php file if you want to remove

Recordings
Videos

from the Media pull down menu, if you are not using those media types by commenting the line out for these two media types, as follows (by adding double-slashes in front of the line):

//recordings
//setMediaType(array("mediatypeID"=>"recordings","path"=>$mediapath,"icon"=>"tng_rec.gif","liketype"=>"recordings","type"=>0));

//video
//setMediaType(array("mediatypeID"=>"videos","path"=>$mediapath,"icon"=>"tng_video.gif","liketype"=>"videos","type"=>0));

Related links