1
Mods & Plugins (Releases & Support) / Re: [MOD] Media sites v1.10 (2010-07-04)
« on: July 04, 2010, 06:15:58 PM »
In acp, admin sets some video sites which are allowed for embedding. Then a user is trying to embed something, using the entire embed code generated by the video site.
After user has pressed the submit/save button, the mod only checks if the link from the embed code is allowed (allowed sites from the acp). If yes, save everything to database and publish it, if not return message : try again with embed codes from these sites: youtube, google, etc.
No need to edit the mod's files, each time a user propose another video site.
My php/html knowledge is at beginner level... so if what i'm saying it's wrong or not safe... just ignore it ).
After user has pressed the submit/save button, the mod only checks if the link from the embed code is allowed (allowed sites from the acp). If yes, save everything to database and publish it, if not return message : try again with embed codes from these sites: youtube, google, etc.
No need to edit the mod's files, each time a user propose another video site.
My php/html knowledge is at beginner level... so if what i'm saying it's wrong or not safe... just ignore it ).