vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.7 Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=228)
-   -   Portal Software - VideoMax 1.0 (https://vborg.vbsupport.ru/showthread.php?t=178729)

RagingPenguin 05-09-2008 10:00 PM

VideoMax 1.0
 
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!

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:

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?

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


All times are GMT. The time now is 08:42 AM.

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.01065 seconds
  • Memory Usage 1,739KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (2)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.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/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.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
  • printthread_start
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete