https://www.icyphoenix.com/viewtopic.php?f=28&t=6165 ----------------------------------- DWho Fri 24 Jul, 2009 16:43 [MOD RELEASE ICY1.3] Media Mod For Icy Phoenix 1.3 ----------------------------------- Version 1.3 Media mod allows members to upload videos and songs to your site and places them in categories of your choice.. [u]Added Features[/u] [list=1][*]you can upload videos from your pc or use embed code from other sites making it easier to add any movie site offering movies to watch. Including youtube, google video anything. [*]Added flv video player to make viewing videos better in all browsers.. and added preview image before video plays [*]Fixed the quicktime video IE7 bug and now working in Firefox [*]Removed AVI upload as it not good for security and can be converted to another format [*]Completely icy 1.3 compatible [*][strike]Able to download videos and songs.. acp option[/strike] REMOVED due to lots of errors [*]Search for videos, songs [*]upload a video image or album cover for your file [*]when editing you can now edit your image and see the image you already have [*]able to open up the media in a pop up so you can watch a video and still carry on viewing your site [*][color=red][b]New editions[/b][/color] Automatic email sent to admin informing them of new media uploaded.. [*]All users are colourized the same as main Icy Phoenix [/list] [b][color=chocolate]Completely incorporated into new ICY code system.. for faster functionality and ease of use[/color][/b] Not sure about how big a file you can upload my server allowed me to upload up to 7mb but maybe that can be changed [b][size=16][color=#FF5500]Quick notice this mod will not work so well with ICY PRO themes as it need tpl files edited separately I will try and have a look when I get the chance[/color][/size][/b] [color=crimson][size=14][b] new install just follow the install file copy over the files and do do you chmods and update your database[/b] upgrade to this version you need to reinstall all files and follow the install file but you do not need to change any data in your database all should work as before[/size][/color] [color=chocolate][size=14][b][u]Language Translations.[/u][/b][/size][/color] as soon as we have translations done I will post links here Language translations ineeded if anyone would like to do them... not many changes since rc1 release [color=#FF5500][size=14][b][font=Comic Sans MS]UPDATE[/font][/b][/size][/color] [b][color=#FF5500]MPG/MPEG do work but you have to wait while the system buffers them. I am working on adding DivX video player but so far the embed code does not work[/color][/b] [url=http://www.icyphoenix.co.uk/dload.php?action=file&file_id=4][b][color=chocolate][size=14]Download From Here[/size][/color][/b] [url=http://www.icyphoenix.co.uk/music.php][b][color=chocolate][size=14]Demo Here [/size][/color][/b] Enjoy ----------------------------------- spydie Fri 24 Jul, 2009 22:14 Re: Media Mod For ICY 1.3 ----------------------------------- THX for this great Mod DWho then i´ve got time, i´m gonna look at spanish translation ----------------------------------- KugeLSichA Fri 24 Jul, 2009 22:40 Re: Media Mod For ICY 1.3 ----------------------------------- thanks DWho i was adding this MOD months ago before you converted it to IP... i have also done many bugfixes and custom adjustments... If i have some time... i share my work... ----------------------------------- DWho Fri 24 Jul, 2009 23:11 Re: Media Mod For ICY 1.3 ----------------------------------- [quote user="KugeLSichA" post="41827"]thanks DWho i was adding this MOD months ago before you converted it to IP... i have also done many bugfixes and custom adjustments... If i have some time... i share my work...[/quote] Fantastic... great to have some other features etc I look forward to it... Especially bug fixes ... I cant wait :mrgreen: :mrgreen: ----------------------------------- DWho Thu 17 Sep, 2009 17:23 Re: [MOD RELEASE ICY1.3]Media Mod For ICY 1.3 ----------------------------------- Couple of errors spotted today with the mod.. please download the attached file if you already have installed the media mod There is one line of code to add and upload the attached file and copy over the original you have... please follow the install.txt Main download updated please see first post.. :mrgreen: :mrgreen: ----------------------------------- tormentor Wed 04 Nov, 2009 00:07 Re: [MOD RELEASE ICY1.3]Media Mod For ICY 1.3 ----------------------------------- Sorry pal, but your mod is not working, [u]not even on your demo site[/u]. I tried with three different browsers (firefox safari google chrome) on MAC OSX (there shouldn't be any difference on windows...) and only firefox "works", I mean "works" because no player is shown, the song (mp3) runs but nothing is on the screen, with safari the row with the player is shown but the song doesn't run. The videos (on firefox) runs but no player and no controls, and the video stucks in the middle of the screen, the only way to eradicate it is to close the browser. This mod, as it is, can only run on Window$ computer (not even on an hackintosh...) and not on macs (I can't check for linux) because it calls the windows media player for playing files. P.S. solved using google media player instead of Window$ one, now is working on all platform, I'm thinking of using it for videos too. I had to change the value ( U_SONG ) passed to the player to the path and name of the file, unfortunately it doesn't work with the original value (I've to say that I don't understand how it worked :oops: ) You could even try a free media player that is on sourgeforce, but I had not the time for testing it... P.P.S. Maybe you didn't have complains because your demo site needs registration, that's a little strange for a demo site. ----------------------------------- DWho Wed 04 Nov, 2009 14:28 Re: [MOD RELEASE ICY1.3]Media Mod For ICY 1.3 ----------------------------------- thanks for the post firstly yes it maybe strange to register on a demo site.. but I do not wish to have all kinds of pornography etc uploaded to my site from guest users so thats why you need to register... regarding some items not working yes that is correct... and when I have the time I will be updating it as best I can.. If you managed to fix some things I and I am sure others would be grateful for anything you can share... i have tested this back in July and most browsers were working fine... but due to updates on all browsers some things are now broken... I also have had no time due to personal reasons to be able to look at anything I have released... Anyway this is a port of a very old mod with updated code... most users use the embed code area to show of videos ect... but please feel free to make or change my version or release something that may work the way you like it to.. :mrgreen: :mrgreen: [color=chocolate][size=14]EDIT[/size][/color] MP3 works in firefox, IE8, Opera and Safari but on a windows machine as you pointed out sadly I cannot test on a MAC but if you have it working could you explain here so I can add it do the install text and the first post thanks :mrgreen: :mrgreen: ----------------------------------- tormentor Wed 04 Nov, 2009 23:50 Re: [MOD RELEASE ICY1.3]Media Mod For ICY 1.3 ----------------------------------- Well, I appreciate your work first of all. I'm not a coder but because I specifically needed a mod like this I looked at the code The main problem is the call to the windows media player for the "media" class, it seems to work only in Windows machines so not at the browser level, then I changed that part in the media_page_body.tpl to this: [code linenumbers=false]
[/code] note that this is a quick patch, using the Google player instead of the Microsoft one: both are property of them, while the best solution should be to use an open source solution like the XSPF media player http://musicplayer.sourceforge.net/ It looks even more powerful but I don't have the time to try it, maybe in the weekend. Anyway note that you can also use the google video player in the same way. Using the player.swf on the site (I mean uploading it on the site) is prohibited so one should use the link every time. Obviously the Google player is multi platform and not an active-x control so it works anywhere (so should be XSPF). My place has a base of users which hardware is of all kinds, PC, Macs, Linux machines (and a hackintosh like mine :oops: ) so it's essential that everyhting works on each different machine. The other problem was the U_SONG var in media_page.php that passed to the player the ID of the file. As I said I'm not a coder, it worked on windows with the microsoft player but the other players wanted the path and the name of the file, so I changed it to this: [code linenumbers=false]'U_SONG' => (MEDIA_FILES_PATH . $thissong['song_filename']),[/code] I know that in this way from the source of the page one can see where the file is and its name but actually I don't have better solutions... I hope this help if you want to improve the mod, I want to add the comment notification to the author, it should be done porting an old solution that I used years ago for the smartor's album, in case I'll let you know. Not being a coder, i can give you only these suggestions, I'm not able to write the instructions for a neat mod, sorry ----------------------------------- ancraz Mon 14 Dec, 2009 03:47 Re: [MOD RELEASE ICY1.3]Media Mod For ICY 1.3 ----------------------------------- does it support sub-categories :oops: ----------------------------------- DWho Mon 14 Dec, 2009 10:57 Re: [MOD RELEASE ICY1.3]Media Mod For ICY 1.3 ----------------------------------- [quote user="ancraz" post="46558"]does it support sub-categories :oops:[/quote] Sadly not at this time but might be something I integrate in the future.. ----------------------------------- Costa Mon 14 Dec, 2009 12:54 Re: [MOD RELEASE ICY1.3]Media Mod For ICY 1.3 ----------------------------------- 1.-It is possible to have function Tags such as Wordpress? That when given an upload or embet for Video beyond the categories set out to get to choose from a list of tags that belonging. This can make more easily find in a large number of Videos 2.-With the new upgrade that prepares for ICYPHENIX you think there will be a problem? Or u thing is it better to wait for the upgrade and then use this very useful mod.... ----------------------------------- Costa Mon 28 Dec, 2009 23:40 Re: [MOD RELEASE ICY1.3]Media Mod For ICY 1.3 ----------------------------------- I installed locally It shows initially has everything but when I go to management in [b]ACP[/b] do not work I put new values in [b]ACP/Media/Settings [/b]but it is not changing anything when I Submit it In [b]ACP/Media/Media Categories [/b]going in [b]Create new category [/b]do not work and do nothing Some idea what is wrong; Also On file with the instructions u say that the files will be changed are those [code linenumbers=false] Files To Edit: 7 includes/constants.php includes/page_header.php language/lang_english/lang_main.php templates/default/overall_inc_header_js.tpl templates/default/nav_quick_links.tpl templates/default/simple_header.tpl[/code] For all you have the change to be done. For [b]templates/default/simple_header.tpl [/b]there is no change be made; in install file Is it because the removal and forgot to remove the file from the instructions; Or is something missing from the instructions ?? ss Thanks for your patience Mike in consecutive questions [hr] [spoiler]edit [quote user="Costa"]I installed locally It shows initially has everything but when I go to management in [b]ACP[/b] do not work I put new values in [b]ACP/Media/Settings [/b]but it is not changing anything when I Submit it In [b]ACP/Media/Media Categories [/b]going in [b]Create new category [/b]do not work and do nothing Some idea what is wrong; [/quote] in someway I solved the problem. to live on line install all works well :mricy: I think my inexperience in XAMPP is the problem[/spoiler] ----------------------------------- PaPa_FoZzY Mon 15 Feb, 2010 06:17 Re: [MOD RELEASE ICY1.3]Media Mod For ICY 1.3 ----------------------------------- my vids aren't playing when I upload them. the player loads says the media is ready but it won't play. and they are for sure allowed media. could it be that my computer is 5 years old running xp? ----------------------------------- DWho Tue 16 Feb, 2010 19:06 Re: [MOD RELEASE ICY1.3] Media Mod For Icy Phoenix 1.3 ----------------------------------- Hi what type of file are you trying to play...? ----------------------------------- PaPa_FoZzY Wed 17 Feb, 2010 03:15 Re: [MOD RELEASE ICY1.3] Media Mod For Icy Phoenix 1.3 ----------------------------------- trying to play WMV ----------------------------------- PaPa_FoZzY Sun 21 Feb, 2010 23:12 Re: [MOD RELEASE ICY1.3] Media Mod For Icy Phoenix 1.3 ----------------------------------- also how can I make it so people just browsing the site can see the videos without registering? ----------------------------------- PaPa_FoZzY Thu 08 Jul, 2010 06:38 Re: [MOD RELEASE ICY1.3] Media Mod For Icy Phoenix 1.3 ----------------------------------- Has anyone managed to come up with a block so that new videos will show up in the portal? ----------------------------------- tormentor Sun 15 Aug, 2010 16:04 Re: [MOD RELEASE ICY1.3] Media Mod For Icy Phoenix 1.3 ----------------------------------- Ok, here are the mods that I made in order to have an universal music player and not the windows media player, as I told before, with the default files this mod works only on window$ computer: Here is the page of a good free universal music player http://musicplayer.sourceforge.net/ the music player can be downloaded at http://sourceforge.net/projects/musicplayer/files/musicplayer/player-0.2.3/xspf_player-0.2.3.zip/download (there are three versions, choose whatever you want) I placed it in my root directory, otherwise modify the script accordingly (template files). here are my mods: music_page.php find [code linenumbers=false]'U_SONG' => append_sid('music_song.' . PHP_EXT . '?song_id=' . $song_id),[/code] replace with: [code linenumbers=false] 'U_SONG' => (MEDIA_FILES_PATH . $thissong['song_filename']),[/code] music_page_body.tpl and music_show_body.tpl find: [code linenumbers=false]
[/code] replace with: (change yourdomain.com with your site name or add the IP_ROOT_PATH) [code linenumbers=false]
[/code] A lot of customization can be made, for example, in the category listing, insted of the "play" button that opens a popup windows, the slim version of this player could be used... For now it's enough for me, there are some other little typo errors in the tpl to correct. I hope that someone will take good care of developing this mod, because it's very useful (and above all it's needed by my site [size=8]>hint< >hint<[/size]) A lot of things hsould be added, for example the smilies in the comment page...