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
  #2  
Old 05-10-2008, 07:05 AM
Defkalion Defkalion is offline
 
Join Date: Jan 2007
Location: Athens, Greece
Posts: 201
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Does this work in 3.6.8 also?
Reply With Quote
  #3  
Old 05-10-2008, 09:33 AM
bornoffire bornoffire is offline
 
Join Date: Apr 2007
Posts: 161
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Demo looks good, ill have to check out.
Reply With Quote
  #4  
Old 05-10-2008, 01:21 PM
RagingPenguin's Avatar
RagingPenguin RagingPenguin is offline
 
Join Date: Mar 2008
Location: North Carolina
Posts: 42
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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!
Reply With Quote
  #5  
Old 05-10-2008, 06:49 PM
Defkalion Defkalion is offline
 
Join Date: Jan 2007
Location: Athens, Greece
Posts: 201
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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:

Quote:
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?
Reply With Quote
  #6  
Old 05-11-2008, 09:29 PM
dreads dreads is offline
 
Join Date: Feb 2007
Posts: 141
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

pretty sweet downloaded
Reply With Quote
  #7  
Old 05-12-2008, 12:16 AM
DarkGizmo DarkGizmo is offline
 
Join Date: Apr 2008
Location: NYC
Posts: 196
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

How do i make a youtube BBcode? it doesn't seem to work for me...can someone post a tut?
Reply With Quote
  #8  
Old 05-13-2008, 07:16 AM
Defkalion Defkalion is offline
 
Join Date: Jan 2007
Location: Athens, Greece
Posts: 201
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Has anyone installed this correctly? I still get the abovementioned error about the cmps module not being a valid module file...
Reply With Quote
  #9  
Old 05-13-2008, 09:33 AM
RagingPenguin's Avatar
RagingPenguin RagingPenguin is offline
 
Join Date: Mar 2008
Location: North Carolina
Posts: 42
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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

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
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 04:01 PM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.06895 seconds
  • Memory Usage 2,289KB
  • Queries Executed 23 (?)
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)bbcode_quote
  • (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
  • (2)pagenav_pagelink
  • (10)post_thanks_box
  • (10)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (10)post_thanks_postbit_info
  • (9)postbit
  • (10)postbit_onlinestatus
  • (10)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