View Full Version : Portal Software - VideoMax 1.0
RagingPenguin
05-09-2008, 10:00 PM
Thank you for looking at this. It is my first 'product' for vbulletin. I hope you find it useful. Now on to the writeup...
Short Description
Simple YouTube video display module.
Long Description
This mod uses a cron based system to scan recent posts for bbcode-posted YouTube videos. The cron has two settings which can be found in the vBuletin options menu. These settings control the bbcode used to post youtube videos to your forum and the number of data rows to cache in a custom table. Also provided is a vBadvanced module for use in displaying the collected videos.
Cron Features
- BBCode setting
- Cache Limit setting
Module Features
- Cache Limit setting (to further refine your selection per module instance)
- Display Order (Random, Descending, Ascending based on dateline of the post)
- Maximum Rows
- Maximum Columns (per row)
- Maximum Characters (for truncating overly long thread titles)
- Player Width
- Player Height
- Automatic Playback (just in case you want to display a single item as a 'feature')
- Loop Playback
- Window Mode (opaque or transparent)
- Source Forums (to refine your selection by a forumid list)
- Show Links (to display Post By and In Thread links under the video)
Installation
- Ensure you have a working bbcode to post videos with (see below)
- Download the zip file and extract it
- Upload the *.php files to their proper locations
- Use 'Manage Products' in the admincp to install the product-videomax.xml file
- Use 'Upload Module' in the vBa CMPS cp to install the module-videomax.xml file
- Run the default cron once, manually, to get initial data.
Suggested BBCode
- works in all tested browsers (ie, ff, safari - latest versions each)
<object type="application/x-shockwave-flash" width="425" height="355" data="http://www.youtube.com/v/{param}">
<param name="movie" value="http://www.youtube.com/v/{param}" />
<param name="play" value="0" />
<param name="wmode" value="transparent" />
<param name="quality" value="medium" />
<param name="loop" value="0" />
</object>
Live Demo
- StarletRealm Forums (http://www.starletrealm.net)
That's all there is too it. Enjoy!
Defkalion
05-10-2008, 07:05 AM
Does this work in 3.6.8 also?
bornoffire
05-10-2008, 09:33 AM
Demo looks good, ill have to check out.
RagingPenguin
05-10-2008, 01:21 PM
Defkalion, I wrote it on 3.7.0 Gold, so I cannot guarentee that it works in anything less. However, There were not that many changes between the two in terms of what this mod does. You can try it and report here so other will know.
Always remember to backup your database and file tree before any modification!
Defkalion
05-10-2008, 06:49 PM
Hi RagingPenguin,
I tried to do it for 3.6.8, but when I try to Use 'Upload Module' in the vBa CMPS cp to install the module-videomax.xml file I get an error saying that:
The file you have uploaded is not a valid module file.
The product xml file however installs with no problem, so I assume something wrong is going on with the cmps module, but what?
Do you have any ideas?
dreads
05-11-2008, 09:29 PM
pretty sweet downloaded :D
DarkGizmo
05-12-2008, 12:16 AM
How do i make a youtube BBcode? it doesn't seem to work for me...can someone post a tut?
Defkalion
05-13-2008, 07:16 AM
Has anyone installed this correctly? I still get the abovementioned error about the cmps module not being a valid module file...
RagingPenguin
05-13-2008, 09:33 AM
Defkalion, I will setup a vbtest installation as 3.6.8 later today and re-export. Expect a post then. It should work for you after that.
RagingPenguin
05-13-2008, 09:36 AM
NegativeSMoke, you would add bbcodes in the vbuletin admincp. If you need specific steps explained, they are in the vbulletin manual at the following links.
Manual: http://www.vbulletin.com/docs/html/
BBCodes: http://www.vbulletin.com/docs/html/bbcode_manager
gwerzal
05-13-2008, 09:48 AM
I use passivevid to display my youtube video's.
Would there be anyway to make this work with that.
Defkalion
05-13-2008, 10:06 AM
Thanks RagingPenguin, I will be waiting. :)
RagingPenguin
05-13-2008, 10:13 AM
Def, what version of the CMPS are you using? I have the 3.6.8 vbtest forum up and need to know so I can export it for you in the right format.
Defkalion
05-13-2008, 12:04 PM
Hey, I'm using
CMPS v3.0.0
and
CMPS v3.0 RC2
on my two diferrent websites. I plan to use this mod in both. If I have to upgrade to a CMPS specific version just say so, don't waste any time on my account. :)
Defkalion
05-14-2008, 06:56 AM
Ok I managed to make it work with CMPS v3.0.0. :)
The only problem is this:
It brings in my frontpage let's say 4 videos, but only one has a preview - the rest only have the thread title where the video was posted. So it only brings back videos that are posted like this:
5da9sd43 bbcode type and not the codes that are posted like this:
http://youtube.com/watch?v=-gVtWZ36_BA
Is this correct?
If so, is there any way to make it work with the second bbcode type also, or if that is not possible, to make it work ONLY with the second bbcode? Because all my members post the second type in the forums.
Thanks. :)
RagingPenguin
05-14-2008, 01:45 PM
Yes, I tried it with an older CMPS as well and got the same result. The module was exported from CMPS 3.0.1 (vB 3.6 - vB 3.7) - Released 04-24-2008.
And yes! you can make it work with the second option. Go into the videomaxbit_video template and make the following change:
*DELETE TEXT IN RED - TWO INSTANCES*
<td align="center" valign="center">
<div>
<object type="application/x-shockwave-flash" width="$videomaxbit[width]" height="$videomaxbit[height]" data="http://www.youtube.com/v/$videomaxbit[pagetext]">
<param name="movie" value="http://www.youtube.com/v/$videomaxbit[pagetext]" />
<param name="play" value="$videomaxbit[play]" />
<param name="wmode" value="$videomaxbit[wmode]" />
<param name="quality" value="$videomaxbit[quality]" />
<param name="loop" value="$videomaxbit[loop]" />
</object>
</div>
<if condition="$videomaxbit[showlinks]">
<div class="smallfont">$vbphrase[videomax_postedby] <a href="$vboptions[bburl]/member.php?u=$videomaxbit[userid]">$videomaxbit[username]</a></div>
<div class="smallfont">$vbphrase[videomax_inthread] <a href="$vboptions[bburl]/showthread.php?t=$videomaxbit[threadid]#post$videomaxbit[postid]">$videomaxbit[title]</a></div>
</if>
</td>
As long as your BB Code works you should be ok.
I'll put an option in v2 to specify full url use, or code only.
RagingPenguin
05-14-2008, 01:49 PM
I use passivevid to display my youtube video's.
Would there be anyway to make this work with that.
I am unfamiliar with that product. As such I cannot say with any certainty. Can you provide me with a link to said product?
veenuisthebest
05-14-2008, 07:26 PM
hiii..
plz tell me if there's a way to display those videos on a separate page, say youtube.php
as I am not willing to display them on my vbadvanced page.. thanks !!
gwerzal
05-14-2008, 10:51 PM
I am unfamiliar with that product. As such I cannot say with any certainty. Can you provide me with a link to said product?
Hi
The link to the product is below
https://vborg.vbsupport.ru/showthread.php?t=150761&highlight=passivevid
If this can be done with this then your mod would be an excellent addition to my forum.
Its just that there is already a lot of video's on the site and it would be very time consuming to go and change each post and edit the video's
Thanks for looking anyway
Waiting hopefuly
Ben Jones
RagingPenguin
05-15-2008, 04:35 AM
hiii..
plz tell me if there's a way to display those videos on a separate page, say youtube.php
as I am not willing to display them on my vbadvanced page.. thanks !!
I am going to write a standalone page in version 2. However, you can create a "Module" page in vBa CMPS and show just that one module. In this, you can set it to say: 8 rows and 3 columns? or more? This page would show up in the vBa Nav menu. It's a good alternative until I get a real page written.
----------
gwerzal, I'll take a look at that tomorrow. bedtime now.
Cerbero1000
05-27-2008, 01:11 PM
Nice hack but random order doesn't works.
Any fix for this?
Thanks
schlottkej
05-27-2008, 02:34 PM
Can the VideoMax dropdown be display in other areas?
Mrdby
05-28-2008, 12:21 AM
can you make comments on videos?
vspro
05-28-2008, 04:06 AM
wow it good!
I like it, and thank you very much
Phr34q
05-28-2008, 08:25 AM
This sucks!!
Naah just kidding, looks like the excact thing I was looking for, I tried some other mod but I had no way of letting members post their own and have it do like this mod does, thanks a whole bunch for this, if it does what I'm hoping it does, I'll be back and nominate your for MOTM!
/me clicks installed
RagingPenguin
05-29-2008, 02:15 AM
To answer a few questions...
no, currently, there is no commenting feature. This is designed to be simple and small. There are much larger products available that can do a lot more things. Eventully though, this one will probably catch up. For now, I'll add that to my list of things to add.
schlottkej, I"m not sure what you mean by the 'drop down'. There are no user settable options or controls that would display one. Can you elaborate?
Here's the update to fix the RANDOM setting. Please note that on boards with few videos to choose from, the results may not vary too much. Simply replace the old php file with this one.
Cerbero1000
05-29-2008, 08:54 AM
Ops, now dont' works any setting (random, ascending...) Now module show video in date order only...
Please fix.
Thanks for your help.
RagingPenguin
05-29-2008, 02:00 PM
Ok guys, take a chil pill for a day or two. I'm going to have to look at this a bit more deeply. Something is wrong with the conditional code that set the ORDER BY clause in the sql. It works when doing it in the console, but not when plugged into the mod. Give me a while to snoop this out and I'll post another update when I get it "sorted". rest assured, it's being looked at.
Cerbero1000
05-29-2008, 02:01 PM
Thanks!!! :)
Defkalion
06-08-2008, 07:27 PM
Hey man, did you manage to sort out the RANDOM order by thing?
maasland
06-09-2008, 11:32 PM
Actually very nice, thanks. What I like most is the possibility to show tubes from a specific forum into a dedicated vba-page. It doesn't like apostrophes in the thread titles though. Any chance of fixing that while you're at it? ;)
chennairam
06-10-2008, 10:37 AM
How can i installed module true CMPS i can't see in setting in ADCP
schlottkej
06-10-2008, 11:27 AM
Something to think about: Adding support for other videos. (Blip, GoogleVideo, MyspaceVideo)
pcoskat
06-11-2008, 11:17 AM
The demo site here, doesn't seem to be working. Does anyone have a working demo? http://www.starletrealm.net/
Also, what is the possibility of getting this mod to work with Brightcove videos?
The question was raised about making this 'forum specific'. What's the verdict on that?
Lastly (and most critical for me), is there anyway to have it display video thumbnails, rather than the video itself, so that when I user clicks on the thumbnail they're taken to the post that contains the video.
thanks!
Captain Tycoon
06-16-2008, 02:40 PM
Has this mod been dropped?
vBulletin® v3.8.12 by vBS, Copyright ©2000-2025, vBulletin Solutions Inc.