Ravens PHP Scripts: Forums
 

 

View next topic
View previous topic
Post new topic   Reply to topic    Ravens PHP Scripts And Web Hosting Forum Index -> Modules
Author Message
killing-hours
RavenNuke(tm) Development Team



Joined: Oct 01, 2010
Posts: 438
Location: Houston, Tx

PostPosted: Wed May 11, 2011 6:29 pm Reply with quote

Well, I've been battling over whether or not to announce my first module... but here I am.

I call it "Swank Xibit".

First, and foremost, I want to thank Jonathan Stern (a.k.a Jestrella) for his hard work, time and brilliance with iGallery. I used his work as a guiding light in my quest to make a gallery capable of handing major media types and appeasing my wife. Without his work on iGallery, It would have taken me ages to cross some of the bridges that "seemed" impassable. Again, Thank You Jonathan!

Also, to all the "salty dogs" who've helped answer my questions while working on this project... Thank you! (you know who you are)

On with the show...

Requirements: (as of now)
- Php 5.2.0+
- Javascript
- Flash
- Jquery 1.5+ (possibly 1.4.2 but not tested)

What is Swank Xibit?

A) It is a media gallery.

What types of media are supported?

A) It "currently" supports:
- Audio: mp3, wma, m4a
- Video: wmv, mp4, swf, mov, rm, flv, vimeo, youtube
- Image: jpg, gif, png

Will the gallery create video thumbnails?
(currently writing under FFMPEG 0.6.1 - Latest stable)

A) If you have access to FFMPEG... you will be able to create video thumbnails. If you do not have access to FFMPEG... it will use the generic thumbnails.


A) At this point, no. In order to create video thumbnails, you would have to have access to FFMPEG and it's functions which most shared accounts don't have access to due to it's consumption of processing power. Since I'm on a shared server, I don't have access to FFMPEG in order to write in the functions for it for those who do have access to FFMPEG... Sorry. (I'm still working on getting vimeo and youtube thumbnails though)


Why is javascript a requirement?

A) This gallery is HIGHLY laced with jquery and is the basis in which it operates.

Why is php 5.2.0+ required?

A) json_encode was introduced with it and I use it for transporting data to and fro.

So how does Swank work? Well... simply put... ajax. This media gallery lives and breathes ajax calls and in doing so... doesn't load new pages. It only loads the requested data in the place holder area for the end user. This cuts down on the time the end user must wait to see the data they are requesting.

Ready to see it in action?
(bear in mind this module is still under HEAVY development and some functionality isn't available yet)
I will leave this open while I'm NOT working on the module. It will be closed any other time. [ Only registered users can see links on this board! Get registered or login! ]

So why announce something that isn't finished yet?

I'm trying to gauge interest in this module and get feedback on things I haven't thought of yet. Seeing how the iGallery topic has 4000+ views... I'm guessing this type of module is long overdue.

Criticism, thoughts, suggestions welcome. I'm all ears.

Administration Teaser

Image

Screenshot (frontend):
Image

Admin control bar (backend):
Image
Add album page (backend):
Image
Upload videos (backend):
Image
Add youtube links (backend):
Image

_________________
Money is the measurement of time - Me
"You can all go to hell…I’m going to Texas" -Davy Crockett

Last edited by killing-hours on Thu Jul 07, 2011 8:25 pm; edited 7 times in total 
View user's profile Send private message
spasticdonkey
RavenNuke(tm) Development Team



Joined: Dec 02, 2006
Posts: 1693
Location: Texas, USA

PostPosted: Thu May 12, 2011 7:58 am Reply with quote

absolutely awesome, looks great; nice work man! Wink
 
View user's profile Send private message Visit poster's website
killing-hours







PostPosted: Thu May 12, 2011 8:04 am Reply with quote

It's getting there... still a lot to be done before I'm satisfied with it... but the basic functionality is out of the way.

The bigger question though... would you get use from this type of module??
 
jestrella
Moderator



Joined: Dec 01, 2005
Posts: 593
Location: Santiago, Dominican Republic

PostPosted: Thu May 12, 2011 2:00 pm Reply with quote

Really nice work... Btw, thanks for the compliments Embarassed

_________________
"For those whom have not reach the sky... Every mountain seems high"

Best Regards
Jonathan Estrella [ Only registered users can see links on this board! Get registered or login! ] 
View user's profile Send private message Visit poster's website
killing-hours







PostPosted: Thu May 12, 2011 2:07 pm Reply with quote

jestrella wrote:
Really nice work... Btw, thanks for the compliments Embarassed


Sorry for having the site down ATM, I'm working on the lightbox... and... I take no credit for some of the way this gallery works. If it hadn't been for you... I don't know how I would have even dreamed up the way some of this would have worked. (i.e. the iConfig function... great stuff there man)

I've also credited you within the module where I've used very modified or exact functions from iGallery. (although most everything has been touched in one way or another)

I tip my hat to you sir... you started this. Cheers
 
jestrella







PostPosted: Thu May 12, 2011 2:11 pm Reply with quote

Hey, stop it. Not a big thing Laughing

Just one recomendation, the name, is weird and hard to remember/type. I think you'll need a more attractive one!
 
killing-hours







PostPosted: Thu May 12, 2011 2:21 pm Reply with quote

Oh how did I struggle with the naming... Here's how it came about though

Swank:

–noun
1.
dashing smartness, as in dress or appearance; style.
[ Only registered users can see links on this board! Get registered or login! ]


Exhibit:

–verb (used with object)
1.
to offer or expose to view; present for inspection: to exhibit the latest models of cars.
[ Only registered users can see links on this board! Get registered or login! ]
------------

Put together.... "Dashing Exhibit" or "Dashing Gallery" (Exhibit is a synonym of Gallery) I thought it fit the bill pretty well even though it was a bit out of the ordinary... although... I'm not really an ordinary thinker Wink
 
montego
Site Admin



Joined: Aug 29, 2004
Posts: 9457
Location: Arizona

PostPosted: Sat May 14, 2011 4:32 pm Reply with quote

jestrella, sorry for the slight OffTopic but you may want to check out your signature line... I think you meant .com rather than .con. Wink

_________________
Where Do YOU Stand?
HTML Newsletter::ShortLinks::Mailer::Downloads and more... 
View user's profile Send private message Visit poster's website
jestrella







PostPosted: Sat May 14, 2011 7:20 pm Reply with quote

Oops... Thanks for the heads up... Corrected it!
 
mars
Worker
Worker



Joined: Jul 08, 2006
Posts: 123
Location: Bloomsburg,Pennsylvania

PostPosted: Sun May 15, 2011 10:04 am Reply with quote

This is awesome, a working Gallery is the one thing holding me back from using RN on customers sites. I would be willing to pay for a module like this!

_________________
Visit Our PHPNuke Theme Site 
View user's profile Send private message Visit poster's website
Guardian2003
Site Admin



Joined: Aug 28, 2003
Posts: 6799
Location: Ha Noi, Viet Nam

PostPosted: Sun May 15, 2011 4:22 pm Reply with quote

Very nice!
The mp3's wouldn't work for me, presumably they are just dummy/empty files?
 
View user's profile Send private message Send e-mail
Palbin
Site Admin



Joined: Mar 30, 2006
Posts: 2583
Location: Pittsburgh, Pennsylvania

PostPosted: Sun May 15, 2011 6:38 pm Reply with quote

Guardian2003, they work fine for me running FF 4 and IE 9 except for the WMA because I do not have the plugin for either.

_________________
"Debugging is twice as hard as writing the code in the first place. Therefore, if you write the code as cleverly as possible, you are, by definition, not smart enough to debug it." — Brian W. Kernighan. 
View user's profile Send private message
Guardian2003







PostPosted: Mon May 16, 2011 2:18 am Reply with quote

I'm using FF4 and latest Operwith Ubuntu, I get the same results in both, when I click any of the sound files they just cycle through all the files put no sound, except in Opera where I get about three bars of Knight Rider.
More than likely it is my setup that's the problem.
 
killing-hours







PostPosted: Mon May 16, 2011 7:14 am Reply with quote

Thanks for bringing that to my attention Guardian... I've tried testing extensively with FF4, 3 ; IE 7,8,9 ; Chrome (latest) as best I can to ensure they all work correctly... but I don't have ubuntu on my laptop (yet) so I can't test under that.

Do you happen to have a download helper installed on that pc? Just curious if it's possible the downloader is pulling the files rather than the player playing them.

@mars... I'm glad you like it. I'm "trying" to have it completed by this fall. Still working on whether or not it should have a commenting system as well the ability for end users to upload their own files. (will take a lot more time to implement that)
 
Guardian2003







PostPosted: Mon May 16, 2011 8:35 am Reply with quote

I disabled all my non default FF plug-ins and restarted FF and here is what I'm able to reproduce;
Audio;
FF and Opera; WMA plays fine when clicked, and once the file loads and starts to play, an option appears to 'open' the file via a number of different media players I have installed. The file plays without using these options through the browser as it should / would be expected.
The other 2 audio media types don't play any sound and after a few seconds of waiting for the file to load, the browser appears to skip the file and move on to the next one automatically. What is interesting is that if I select any of the audio files except the WMA one, when it starts to cycle through all the available audio files, it even skips the WMA file. It appears almost as if there is some sort of buffer delay before the file is told to stream but the buffer delay isn't quite long enough to get enough of the file before it can start to stream and thus, moves on to the next file as though it couldn't be found. In the case of selecting (as an example) the mp3 file, by the time it decides to skip it, clears the buffer and starts to re-buffer for the wma file, the delay has expired and won't play the wma even though it plays if selected first.
I hope that makes some sort of sense.
Incidentally, I have mp3's streaming on one of my sites so I don't think it's my browser not handling the mp3 file correctly but I don't have any m4a files I can test with. I also recently set up a web site for a Radio station that streams mp3 via ShoutCast and that plays fine.

Video, pretty much the same sort of scenario for me.
WMV plays fine (in FF and Opera) the other two don't. I do have FLV files which play fine via both browsers if I select the file and do an "open with" but I'm unable to test mp4 because I do not have anything with that file type.

As an afterthought, I tried Chrome and that plays all the audio and video files perfectly so now I don't have a clue Sad
 
killing-hours







PostPosted: Mon May 16, 2011 8:55 am Reply with quote

Hrm... thanks for the new headache Wink /sarcasm. Seems odd. I haven't tested with Opera which may need some looking at. I'll give it a shot later this evening to see if I can reproduce it with it. Maybe a problem with the way the links are built/handled.

Side note.... have you ever had any issue with jwPlayer playing files on your pc? Sounds like all the files you're having issues with are played via jwPlayer and that is the common ground I can think of so far.
 
Guardian2003







PostPosted: Mon May 16, 2011 10:15 am Reply with quote

I cannot say I have ever used jwPlayer but a quick look at their website seems to indicate this is a server side player. If that's the case then the problem may well be how my specific browsers (FF and Opera) are handling the Flash part of the player. It looks to me like jwPlayer is designed to serve the media via flash unless the browser can handle the HTML5 related media tags - possibly why Chrome is handling it better (for me at least) since it is the most compatible with HTML5.

I think before you go diving into the code, we really need to get more feedback from montego or others who are using Ubuntu/Linux to see what happens for them.
 
killing-hours







PostPosted: Mon May 16, 2011 10:51 am Reply with quote

Guardian2003 wrote:
I think before you go diving into the code, we really need to get more feedback from montego or others who are using Ubuntu/Linux to see what happens for them.


Agreed! I just can't see how FF4 would be giving you issues... it's what I've developed this under specifically.
 
killing-hours







PostPosted: Sat May 21, 2011 2:58 pm Reply with quote

Commenting/rating system.

Screenshot:
Image
 
nuken
RavenNuke(tm) Development Team



Joined: Mar 11, 2007
Posts: 2024
Location: North Carolina

PostPosted: Sat May 21, 2011 3:58 pm Reply with quote

Very Nice killing-hours... This is going to be one heck of a gallery....

_________________
Tricked Out News 
View user's profile Send private message Send e-mail Visit poster's website
killing-hours







PostPosted: Sat May 21, 2011 6:07 pm Reply with quote

nuken wrote:
Very Nice killing-hours... This is going to be one heck of a gallery....


Thanks! Not sure how everything will work out in the end because I'm learning things as I go along. But so far so good. Wink
 
myrtletrees
Involved
Involved



Joined: Sep 13, 2005
Posts: 259
Location: Cornfields of Indiana

PostPosted: Tue May 24, 2011 11:18 am Reply with quote

Posted so I can follow this topic's replies.

Nice work so far! Looks great and per the features it would be something I would most definitely be interested in.

As of now, I use Coppermine for photos and Video module for my videos. It would be nice to have an all-in-one module.


Last edited by myrtletrees on Tue May 24, 2011 11:29 am; edited 2 times in total 
View user's profile Send private message
killing-hours







PostPosted: Tue May 24, 2011 11:24 am Reply with quote

You're not the only one who wants it... I did to but there wasn't anything and I wasn't about to cave in to coppermine.

As a dub purpose... this will also get my wife to backup our photo's and videos so we have them elsewhere instead of all in the house. Almost lost them on a hard drive failure once... and then the house caught fire. Avoided both times but how many times can we dodge a bullet?

Thanks for your interest... I'm working my tired lil fingers off on it. Wink
 
myrtletrees







PostPosted: Tue May 24, 2011 11:30 am Reply with quote

Questions:

What kind of layout options can we expect? i.e. # of rows/columns per album, color schemes etc.

Sizes of thumbnails can be changed edited or manually linked to?

If we have access to ffmpeg, will an option be included to turn it on/off and give path to ffmpeg module?

What image processor will be used for thumbs etc.? imagemagik, netpbm, GDlibrary or user choice?

It looks like you are using litebox(or am I mistaken), is there a reason you chose it over colorbox that is already included in Raven? Also, will there be options to control the features when using litebox?
 
killing-hours







PostPosted: Tue May 24, 2011 11:52 am Reply with quote

Very good questions... some of which I didn't want to give details away as of yet. (to hold back a lil mystery about it...) However, since you've asked.

(1) The rows / columns will be editable in the gallery settings (admin). I still have to work out some of the fail safe's for it though because of the way the pagination works.

(2) Size of thumbsnails will play a part in #1 so it will be possible to have smaller thumbnails but the fail safe's have to be worked out.

(3) FFMPEG was the BIGGEST let down for me. I searched hi & low for ANY possible way to do it (video thumbnails) without FFMPEG but it doesn't seem possible. I don't have access to it because I'm on a shared server so I can't write the functions in for those who do have access to it... or that would have been done long ago. I really want those options there very badly... I just don't have access to a server with it available.

(4) I'm using phpthumb for the image thumbnail generation. It's included within the module and the functions are already written. The user doesn't have to set anything up... just upload the gallery... set the database options... and off to the races.

(5) I'm using a lightbox of sorts... however, the lightbox has native support for some of the video formats... plus I modified it to support some of the other video formats. I chose this lightbox because of it's ease of use & native support for some video formats. It's also included within the module with no real user changes needed.

(6) The pagination has the ability to be customized to w/e color scheme fits the site... however, it requires a css edit and I'm going to write in a field to add the scheme "name" to the database so that it can be chosen from the admin panel. (I'll provide instructions on how to make it happen. Takes a few mins to set the css.. nothing major)

(7) The top bar's for the controls are custom images I created. I'll provide those .psd's with the module so they can be edited to match the site... or if you (the end user) is decent enough at image creation / css... then you can create your own and place them in place of the ones I'm created.


Hopefully that helps to clarify things for you... I know I was somewhat vague with my initial post... please forgive me for that.
 
Display posts from previous:       
Post new topic   Reply to topic    Ravens PHP Scripts And Web Hosting Forum Index -> Modules

View next topic
View previous topic
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You can attach files in this forum
You can download files in this forum


Powered by phpBB © 2001-2007 phpBB Group
All times are GMT - 6 Hours
 
Forums ©