vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.0 Full Releases (https://vborg.vbsupport.ru/forumdisplay.php?f=33)
-   -   Video Trailers VBA Module (https://vborg.vbsupport.ru/showthread.php?t=91339)

RichieBoy67 06-29-2005 10:00 PM

Video Trailers VBA Module
 
This will add a video trailer module to your VBAdvanced page. I don't think this is really a big deal or anything but I thought maybe a few people would enjoy it so here it is :)

You can see it here http://www.talkandmore.net/cmps_index.php? it is the second module down on the left side.

Step #1 - Go into styles@ Templates and create a template called video1..

Insert the following into the new template

PHP Code:

<table align="center" border="0" cellpadding="$stylevar[cellpadding]cellspacing="$stylevar[cellspacing]class="tborder" width="100%">
<
tr>
  <
td class="tcat"><span class="smallfont"><strong>$vba_options[portal_blockbullet] <!-- Module title here -->Video Trailers</strong></span></td>
</
tr><tr>
  <
td class="$getbgrowwidth="100%">
<
div style="text-align: center">  

// ## Your movie code is after these dots - you can replace the code I added with other feeds from movie-vault.com#########################


<script language="javascript" type="text/javascript" src="http://www.movie-vault.com/content/freecontent.js"></script>




</
div

  </
td>
</
tr>
</
table>
<
br /> 





Step #2 - Go into VBA in your admincp and click on add module--


Title = Video1


Template to include = video1



Activate it and put it where you want....



Repeat the process for the other video feeds if you want but just use other names like Video2 etc.. These are from http://www.movie-vault.com


Thats it...

atxhorn 07-15-2005 01:09 PM

i thought it was like a video playing?

yoyoyoyo 07-15-2005 01:27 PM

Quote:

Originally Posted by atxhorn
i thought it was like a video playing?

No- it's a box that pulls in free content from movie-vault.com. The content provided is links to the latest trailers. The links are provided by movie-vault.com via javascript and fed to your viewers. You could use this module as a tool to add ANY synidcated content- just replace the URL to the syndicated content with any syndicated content, and change the name of the module.

Here is a direct link to the feed it gives, so you can see the html it is pulling in:

http://www.movie-vault.com/content/freecontent.js




All times are GMT. The time now is 08:48 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.02099 seconds
  • Memory Usage 1,727KB
  • 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_php_printable
  • (1)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (3)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
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete