[ABD] phpbb Movies Mod 0.0.4

Any abandoned MODs will be moved to this forum.

WARNING: MODs in this forum are not currently being supported or maintained by the original MOD author. Proceed at your own risk.
Forum rules
IMPORTANT: MOD Development Forum rules

WARNING: MODs in this forum are not currently being supported nor updated by the original MOD author. Proceed at your own risk.
User avatar
ThunderCrew
Registered User
Posts: 1438
Joined: Sat Jun 30, 2007 6:26 pm
Location: Ill, Usa
Contact:

[ABD] phpbb Movies Mod 0.0.4

Post by ThunderCrew » Sun Jul 05, 2009 9:50 am

Teted on firefox 3 and ie 8

Modification Name: phpBB Movies Mod
Author: ThunderCrew

Modification Description:: Adds a page to your site that allows members to watch movies
Modification Version:: 0.0.1

Requirements: None for now. (maybe setting up asx mime types but doubtful)
Features:Allows you to embed for IE and firefox to view .wmv .mpegs etc via an asx file playlist or single movies your choice. With a redirect that will send firefox users to the firefox coded page. Users can use the controls to rewind etc.
NOTE: If you used an ASX playlist file as a link from one of your thumbnails they also get to skip trax as well.

Screenshots:
Image

Image

Image

Demo URL:

Demo Username: test
Demo Password: tester

Modification Download:

Guest have access to download the file.

Planned features. Pagination in the catagories page

Adding more features that people request if I can. Thank you to DoYouSpeakWak for recommending doing a thumbnail type thing. Oigionaly it was just a single asx file you could put "unlimited playlist" and just let it go leaving them clicking next previous etc but no one knew what was next. The nes system as of 0.0.3 now has catagories and in the catagories it has a thumbnail image, movie name, and description and you can just click the name to go view it.

Also still have ability to use asx of course just now will have an image and description to it and always have the catagory list at your fingertips in the movies player screen. Thanx to useless for tips and help when I hit walls on templating or sql queery sometimes.
Last edited by ThunderCrew on Mon Jul 27, 2009 5:02 am, edited 7 times in total.
Ugg im a t0tal newb again ...... 2 years off cant remember jack ... time to get to it

User avatar
woipi90
Registered User
Posts: 908
Joined: Mon Feb 16, 2009 5:32 pm
Location: Austria

Re: [DEV] phpbb Movies Mod

Post by woipi90 » Sun Jul 05, 2009 12:01 pm

sounds like a good idea....

horw about integrating in the ourtube mod?


grz woipi
My mods: Ultimate Board Clubs
Support: only for the UBCS!
-----
function be_friends($uid, $u){return ($u == $user->['user_id']) ? false : true;}
$this->be_friends($uid, $user->['user_id']) ? $allow_pm : echo "You failed again";

User avatar
DoYouSpeakWak
Registered User
Posts: 2307
Joined: Fri Jul 25, 2008 1:32 pm
Location: Island of Wak-Wak
Name: Hans Lassen
Contact:

Re: [DEV] phpbb Movies Mod

Post by DoYouSpeakWak » Sun Jul 05, 2009 12:10 pm

I like the idae very much, the outtube mod needs some scripts running on the server. not all have that. most have windows media player.

Only thing it really needs are gallery over what movies you can see. Having all the movies inside the media player does not provide the option to see what movies there are. Take a peak at NV gallery mod, a box below the video screen with 8-12 stills of each movie would be very very nice.

Btw. Your music mod looks very nice too.

Good luck
Whatever you share comes back. Support the phpBB Communities
My Validated and Released Modifications
Offering paid phpBB help and System administrator services.

User avatar
S.kumaran
Registered User
Posts: 23
Joined: Sun Jan 04, 2009 7:34 pm

Re: [DEV] phpbb Movies Mod

Post by S.kumaran » Sun Jul 05, 2009 3:40 pm

SubSilver2 ?

User avatar
ThunderCrew
Registered User
Posts: 1438
Joined: Sat Jun 30, 2007 6:26 pm
Location: Ill, Usa
Contact:

Re: [DEV] phpbb Movies Mod

Post by ThunderCrew » Sun Jul 05, 2009 5:03 pm

DoYouSpeakWak wrote:I like the idae very much, the outtube mod needs some scripts running on the server. not all have that. most have windows media player.

Only thing it really needs are gallery over what movies you can see. Having all the movies inside the media player does not provide the option to see what movies there are. Take a peak at NV gallery mod, a box below the video screen with 8-12 stills of each movie would be very very nice.

Btw. Your music mod looks very nice too.

Good luck

Thank you for the intrests and compliments on the initial release.
It is basicaly just a blank phpbb templated page with asx embeding.
o not too much to it really.


As far as thumbnailing the movies I will check into a full list of windows media parameters and see if I can find something that allows any sort of previewing in the player itself or side panel etc.

If not I guess I could add an acp module.
In this way you could add a thumbnail screenshot image in the images folders.
Use the acp module to add in the addresses for the images of the movies you have in order of how you have them set up in the player. IE then make an sql for the page and fit it into a scrolling side bar that will load your screen images that means it would be upto the admin to be sure to stay on top of any changes in files to match the acp mod though IE if deleting a file go delete that image from the acp as well :!:

Again thanx for the intrest hopefuly this mod is not bad in any way and will grow nicley :mrgreen:
Ugg im a t0tal newb again ...... 2 years off cant remember jack ... time to get to it

User avatar
ThunderCrew
Registered User
Posts: 1438
Joined: Sat Jun 30, 2007 6:26 pm
Location: Ill, Usa
Contact:

Re: [DEV] phpbb Movies Mod

Post by ThunderCrew » Sun Jul 05, 2009 5:07 pm

S.kumaran wrote:SubSilver2 ?

easy slap all the template files in subsilver 2 folder instead of prosilver I guess.
Might have to tweek the html files to fit the subsilver properties but that's about it.

Subsilver 2 is not going to be standard supported I do not think in the future.
By the time I get any of my developmental mods into releasing to the DB it probably wont be :lol:

I do not use subsilver 2 so I never mod for it :oops:
maybe someone esle can do that fast edits for subsilver 2 and offer me a download link and Ill slap it in the contrib folder. Seriously though it would just be your html files that you need to change and the only coding you need to change in them would be the area around the object as far as I know since I have never opened subsilver2 folders :lol:
Ugg im a t0tal newb again ...... 2 years off cant remember jack ... time to get to it

User avatar
ThunderCrew
Registered User
Posts: 1438
Joined: Sat Jun 30, 2007 6:26 pm
Location: Ill, Usa
Contact:

Re: [BETA] phpbb Movies Mod

Post by ThunderCrew » Mon Jul 06, 2009 4:10 am

beats the mod to it and calls thie beta :roll: told me my other mods were past dev stages :lol:
Figured maybe this one being so easy should not be dev either :roll:
Ugg im a t0tal newb again ...... 2 years off cant remember jack ... time to get to it

User avatar
ThunderCrew
Registered User
Posts: 1438
Joined: Sat Jun 30, 2007 6:26 pm
Location: Ill, Usa
Contact:

Re: [BETA] phpbb Movies Mod

Post by ThunderCrew » Mon Jul 06, 2009 5:40 am

Ok I have had some time to think about this and I think I might be able to do the whole thumbnail bit.
I will test tonight. I think I could set up the variables something along these lines

Code: Select all

$sql = 'SELECT *
                FROM ' . MOVIES_TABLE . " 
                ORDER BY name ASC";

    $result = $db->sql_query($sql);
    while ($row = $db->sql_fetchrow($result))
    {

$template->assign_block_vars('movies', array(
            'NAME'             => ($row['name']),
            'IMAGE'            => ($row['image']),
            'LINK'            => ($row['link']),
 ));
    }

$db->sql_freeresult($result);  

Then have the html set up all normal until the filename and the template var will be like

Code: Select all



<OBJECT
  ID="mediaPlayer"
  CLASSID="CLSID:22d6f312-b0f6-11d0-94ab-0080c74c7e95"
  CODEBASE="http://activex.microsoft.com/activex/controls/mplayer/en/nsmp2inf.cab#Version=5,1,52,701"
  STANDBY="Loading Microsoft Windows Media Player components..."
  TYPE="application/x-oleobject" width="78%" height="350">
  <PARAM NAME="fileName" VALUE>
  <PARAM NAME="animationatStart" VALUE="false">
  <PARAM NAME="transparentatStart" VALUE="true">
  <PARAM NAME="autoStart" VALUE="false">
  <PARAM NAME="showControls" VALUE="true">
</OBJECT>

Code: Select all

<!-- BEGIN movies --><img src="{movies.IMAGE}"><a href="{movies.LINK}" onclick="document.all.movies.filename='{movies.LINK}';return false">Play Movie</a><!-- END movies -->
Or something to that effect.

Illm set up testing tonight and play around with it wishes myself luck teeheee
Ugg im a t0tal newb again ...... 2 years off cant remember jack ... time to get to it

User avatar
ThunderCrew
Registered User
Posts: 1438
Joined: Sat Jun 30, 2007 6:26 pm
Location: Ill, Usa
Contact:

Re: [BETA] phpbb Movies Mod

Post by ThunderCrew » Mon Jul 06, 2009 7:16 am

Good news and bad news :lol:

Good news is I made the acp module for adding info to pull to thumbnails and player etc and it works fine.
(EXCEPT) ----- I need to sort out the javascript bits. (not familiar with it) tried a method I had seen online but got this instead....


http://tnc-all.com/forum/movies_tester.php

log in test
pass tester

It list the players in order by name of the movie and plays each movie upon clicking play button it shows the name of the movie and the thumbnail for it BUT clicking on the image or name link only opens the file on your own windows media player instead of in a single player :lol:

Here is how I tried it

Code: Select all

<!-- BEGIN movie -->

<OBJECT
  ID="mediaPlayer"
  CLASSID="CLSID:22d6f312-b0f6-11d0-94ab-0080c74c7e95"
  CODEBASE="http://activex.microsoft.com/activex/controls/mplayer/en/nsmp2inf.cab#Version=5,1,52,701"
  STANDBY="Loading Microsoft Windows Media Player components..."
  TYPE="application/x-oleobject" width="78%" height="350">
  <PARAM NAME="fileName" VALUE="{movie.LINK}">
  <PARAM NAME="animationatStart" VALUE="false">
  <PARAM NAME="transparentatStart" VALUE="false">
  <PARAM NAME="autoStart" VALUE="false">
  <PARAM NAME="showControls" VALUE="true">
</OBJECT> <img src="movies/images/movies.jpg">


<a href="{movie.LINK}" onclick="document.all.movies.filename='{movie.LINK}';return false">{movie.NAME}<img src="movies/images/{movie.IMG}"></a> <!-- END movie -->

Ill go browsing about javascript.
If anyone knows how to plug in the value variable from the javascript into the value paramater for filename please tip me :geek:
Ugg im a t0tal newb again ...... 2 years off cant remember jack ... time to get to it

User avatar
ThunderCrew
Registered User
Posts: 1438
Joined: Sat Jun 30, 2007 6:26 pm
Location: Ill, Usa
Contact:

Re: [BETA] phpbb Movies Mod

Post by ThunderCrew » Mon Jul 06, 2009 8:22 am

no luck so far seems too crazy that javascript stuff does :lol:
Ill try to stick with php and phpbb :lol:

Just had an idea I'll test out ..... Maybe try pulling the id for the filename so the page name is like this.

http://tnc-all.com/forum/movie_tester.php?name=park.wmv
and have filename="http://site/directory/movies/movies/{movies.NAME}"
IE filename="http"tnc-all.com/forum/movies/movies/{movies.NAME}"

and it will pull the name for what movie you click and still show all thumbnails under the player on each page.......

Might have some luck with something like that using the sql to pull the name instead of listing all :idea:

Back to the testing board :roll:
Ugg im a t0tal newb again ...... 2 years off cant remember jack ... time to get to it

User avatar
ThunderCrew
Registered User
Posts: 1438
Joined: Sat Jun 30, 2007 6:26 pm
Location: Ill, Usa
Contact:

Re: [BETA] phpbb Movies Mod

Post by ThunderCrew » Tue Jul 07, 2009 10:16 am

Good news 8-)
Useless helpped a heap again.

The next version will be out later today.
With thumbnail clicker :P

It also will have acp module for adding all the info needed for the player to gather its files.
That means this will no longer be an asx style player unless you use a .asx file for your movie link in the acp ;)
ie where it asks for a link to a file you could put an asx link and then use a thumbnail that signifies a chunk of movies. Like say you added some clips of you on vacation add a small pick of your vacation as the image and load up your asx file with the info for all your vacation clips then add vacation.asx (or whatever) as your link to file in acp ;)


Might be later today been up all night drinking like a madman and making my life harder then it needed for this simple task :oops: :D
Ugg im a t0tal newb again ...... 2 years off cant remember jack ... time to get to it

User avatar
ThunderCrew
Registered User
Posts: 1438
Joined: Sat Jun 30, 2007 6:26 pm
Location: Ill, Usa
Contact:

Re: [BETA] phpbb Movies Mod

Post by ThunderCrew » Tue Jul 07, 2009 9:01 pm

Ok done testing it
Gonna package it up install instructions update etc.
Comming in this version

ACP for adding editing or deleting movies.
name = name of movie
image = a thumbnail for the movie
catagory = style like horron, classic, family, music video , whatever
id (auto incremented) for pulling all the info for a movie to play once selected.


probably be about an hour or so got to check everything over etc....
Ugg im a t0tal newb again ...... 2 years off cant remember jack ... time to get to it

User avatar
DoYouSpeakWak
Registered User
Posts: 2307
Joined: Fri Jul 25, 2008 1:32 pm
Location: Island of Wak-Wak
Name: Hans Lassen
Contact:

Re: [BETA] phpbb Movies Mod

Post by DoYouSpeakWak » Tue Jul 07, 2009 9:13 pm

Sounds very good. cant wait to test it out.
Whatever you share comes back. Support the phpBB Communities
My Validated and Released Modifications
Offering paid phpBB help and System administrator services.

User avatar
ThunderCrew
Registered User
Posts: 1438
Joined: Sat Jun 30, 2007 6:26 pm
Location: Ill, Usa
Contact:

Re: [BETA] phpbb Movies Mod 0.0.2

Post by ThunderCrew » Tue Jul 07, 2009 10:21 pm

Ok download has been updated.

Had some after thoughts just now as well :roll:
Will add description to next release.
So when I eventualy block the movies into small blocks of layout it will be something like this

==========================
Movie Name: Name Here
Movie image Thumbnail Here
Movie Description Here
==========================

I am thinking best would probably be in a slide bar scroller or something of that nature.
Those will be the default movie page and also under the movie player when viewing a movie.

PS ------ IF UPDATING FROM initial release to 0.0.2 just upload ALL of root again.
Then follow instructions in contrib/update file
Ugg im a t0tal newb again ...... 2 years off cant remember jack ... time to get to it

User avatar
ThunderCrew
Registered User
Posts: 1438
Joined: Sat Jun 30, 2007 6:26 pm
Location: Ill, Usa
Contact:

Re: [DEV] phpbb Movies Mod

Post by ThunderCrew » Tue Jul 07, 2009 10:25 pm

DoYouSpeakWak wrote:
Btw. Your music mod looks very nice too.

That one is actualy just a blank page template laid out with a player I bought that reads all the music on my site etc. BUT this movies mod could easily be turned into a music mod :lol: Just change the language in everything including acp etc do same install instructions except rename the databse stuff to music change the player code to a nifty little flash mp3 player code so you have a cool player instead of the windows player and poof music ala presto chango
Ugg im a t0tal newb again ...... 2 years off cant remember jack ... time to get to it

Locked

Return to “[3.0.x] Abandoned MODs”