Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > vBulletin 3.7 > vBulletin 3.7 Add-ons

Reply
 
Thread Tools
VideoMax 1.0 Details »»
VideoMax 1.0
Version: 1.00, by RagingPenguin RagingPenguin is offline
Developer Last Online: Dec 2012 Show Printable Version Email this Page

Category: Portal Software - Version: 3.7.0 Rating:
Released: 05-09-2008 Last Update: Never Installs: 20
DB Changes Uses Plugins Auto-Templates
Re-useable Code Additional Files Translations  
No support by the author.

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

That's all there is too it. Enjoy!

Show Your Support

  • This modification may not be copied, reproduced or published elsewhere without author's permission.

Comments
  #22  
Old 05-27-2008, 01:11 PM
Cerbero1000 Cerbero1000 is offline
 
Join Date: May 2005
Posts: 110
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Nice hack but random order doesn't works.
Any fix for this?
Thanks
Reply With Quote
  #23  
Old 05-27-2008, 02:34 PM
schlottkej schlottkej is offline
 
Join Date: Apr 2007
Posts: 226
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Can the VideoMax dropdown be display in other areas?
Reply With Quote
  #24  
Old 05-28-2008, 12:21 AM
Mrdby Mrdby is offline
 
Join Date: Mar 2007
Location: Hades
Posts: 1,298
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

can you make comments on videos?
Reply With Quote
  #25  
Old 05-28-2008, 04:06 AM
vspro's Avatar
vspro vspro is offline
 
Join Date: Nov 2006
Location: Viet Studio Pro
Posts: 129
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

wow it good!

I like it, and thank you very much
Reply With Quote
  #26  
Old 05-28-2008, 08:25 AM
Phr34q Phr34q is offline
 
Join Date: Feb 2008
Posts: 29
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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
Reply With Quote
  #27  
Old 05-29-2008, 02:15 AM
RagingPenguin's Avatar
RagingPenguin RagingPenguin is offline
 
Join Date: Mar 2008
Location: North Carolina
Posts: 42
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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.
Reply With Quote
  #28  
Old 05-29-2008, 08:54 AM
Cerbero1000 Cerbero1000 is offline
 
Join Date: May 2005
Posts: 110
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Ops, now dont' works any setting (random, ascending...) Now module show video in date order only...
Please fix.
Thanks for your help.
Reply With Quote
  #29  
Old 05-29-2008, 02:00 PM
RagingPenguin's Avatar
RagingPenguin RagingPenguin is offline
 
Join Date: Mar 2008
Location: North Carolina
Posts: 42
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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.
Reply With Quote
  #30  
Old 05-29-2008, 02:01 PM
Cerbero1000 Cerbero1000 is offline
 
Join Date: May 2005
Posts: 110
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Thanks!!!
Reply With Quote
  #31  
Old 06-08-2008, 07:27 PM
Defkalion Defkalion is offline
 
Join Date: Jan 2007
Location: Athens, Greece
Posts: 201
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Hey man, did you manage to sort out the RANDOM order by thing?
Reply With Quote
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 12:39 AM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2024, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.04743 seconds
  • Memory Usage 2,297KB
  • Queries Executed 25 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (6)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (3)pagenav_pagelink
  • (11)post_thanks_box
  • (11)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (11)post_thanks_postbit_info
  • (10)postbit
  • (11)postbit_onlinestatus
  • (11)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete