vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 4.x Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=245)
-   -   Forum Home Enhancements - Movie Of The Week - MOTW v3.0.2 (https://vborg.vbsupport.ru/showthread.php?t=247144)

ragarcia87 07-22-2010 10:00 PM

Movie Of The Week - MOTW v3.0.2
 
1 Attachment(s)
Movie Of The Week - v3.0.2

If you use this mod please Mark As Installed

I got the idea for this product from choccyclaire who created the Member Of The Week mod.

Changelog:
v1.0 => v2.0 - Added YouTube Embedded Trailer
v2.0 => v2.0.1 - Added FORUMDISPLAY and FORUMHOME manual placement
v2.0.1 => v2.0.2 - Fixed small bugs. Collapse buttone now in proper place. Blockhead stays when above footer.
v2.0.2 => v2.5b - Added auto-grab IMDB information. Removed useless YouTube trailer link. Removed the need for a summary. Removed the need for movie title.
v2.5b => v3.0 - Everything except for the Rotten Tomatoes Link is automatically grabbed from the IMDB ID. No more manual template edits.
v3.0 => 3.0.2 - Added choice of automatic or manual YouTube trailer.


Info:
Movie Of The Week on FORUMHOME or FORUMDISPLAY. Easily manage the MOTW on your forum's homepage or display.

Main Features:
-Lytebox Cover Art (Automatically grabbed)
-IMDB Link (Automatically generated)
-Rotten Tomatoes Link
-YouTube Trailer (Automatically grabbed or Manually set)
-Admin Rating
-Movie Title (Automatically grabbed)
-Movie Details (Automatically grabbed)

Installation:
1. AdminCP > Plugins & Products > Manage Products > [Add/Import Product]
2. Upload the contents of /upload to your root directory.
3. Go to: AdminCP > vBulletin Options > MOTW - Movie Of The Week > MOTW IMDB ID

Enter what comes after /title/ e.g., http://www.imdb.com/title/tt1139328

4. Go to: AdminCP > vBulletin Options > MOTW - Movie Of The Week > MOTW Rotten Tomatoes ID

Enter what comes after /m/ e.g., http://www.rottentomatoes.com/m/10012063

To manually add the mod to FORUMHOME or FORUMDISPLAY use:
Code:

{vb:raw motweek}

To manually add the mod to one particular forum:
Copy/paste the code below into the FORUMDISPLAY template of the skin you are using. I usually put it under the {vb:raw navbar}. Change the red "x" to the sub-forum id.
Code:

<vb:if condition="$GLOBALS[forumid] == x">{vb:raw motweek}</vb:if>


***Note: I have tested this on vBulletin 4.0.5 and it is working 100%***

v3.0 Note: If you are upgrading from a previous version that required template edits you "MUST" undo those template edits or lytebox won't work.

goyo 07-23-2010 01:25 PM

Nice work...it would be even better as a forumhome block. :)

EquinoxWorld 07-23-2010 01:33 PM

Would be even sweeter if we could some how embed a trailer video! Does the part where is the video summary parse html or bbcode?

ragarcia87 07-23-2010 01:41 PM

Quote:

Originally Posted by EquinoxWorld (Post 2073362)
Would be even sweeter if we could some how embed a trailer video! Does the part where is the video summary parse html or bbcode?

Hm. The embedded trailer video is a neat idea but wouldn't the video be too small? It's always worth a try. Ill see what I can come up with. As of right now the video summary does not parse html or bbcode. Possibly something to be added in an update.


//EDIT//
Added v2.0 with the Embedded YouTube Trailer.

iguano 07-23-2010 03:27 PM

it's possibile see it not in forumhome but only in a forum?

EquinoxWorld 07-23-2010 03:46 PM

How would you change/control which trailer to put? Is through the admin panel and you add the embed code there?

ragarcia87 07-23-2010 03:52 PM

Quote:

Originally Posted by iguano (Post 2073410)
it's possibile see it not in forumhome but only in a forum?

Currently the only location's available are on FORUMHOME. I am working on being able to put it anywhere you choose.


Quote:

Originally Posted by EquinoxWorld (Post 2073416)
How would you change/control which trailer to put? Is through the admin panel and you add the embed code there?

If you look in this image: https://vborg.vbsupport.ru/attachmen...7&d=1279903787

All you have to do for the YouTube trailer to embed is enter the id of the YouTube video.
Code:

eg. www.youtube.com/watch?v=L_AerBW0EcI
(Copy/Paste the red ID into the correct filed in the AdminCp options)

EquinoxWorld 07-23-2010 03:55 PM

Quote:

Originally Posted by ragarcia87 (Post 2073419)
Currently the only location's available are on FORUMHOME. I am working on being able to put it anywhere you choose.




If you look in this image: https://vborg.vbsupport.ru/attachmen...7&d=1279903787

All you have to do for the YouTube trailer to embed is enter the id of the YouTube video.
Code:

eg. www.youtube.com/watch?v=L_AerBW0EcI
(Copy/Paste the red ID into the correct filed in the AdminCp options)

Good deal my friend. Thank you very much. Very useful mod.

asj 07-23-2010 04:29 PM

Error XML: Unknown on line 1 ?

ragarcia87 07-23-2010 05:03 PM

Quote:

Originally Posted by asj (Post 2073431)
Error XML: Unknown on line 1 ?

Eeek. Sorry, that's a my bad. I accidentally change it from 1.0 to 2.0 when I changed the version on the mod. Sorry about that. Just re-uploaded version 2.0. There should be no error on line 1 now.

I am also about to be done with another update allowing some custom placements on the forum.


All times are GMT. The time now is 02:37 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.02052 seconds
  • Memory Usage 1,746KB
  • 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
  • (4)bbcode_code_printable
  • (5)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (2)pagenav_pagelink
  • (1)pagenav_pagelinkrel
  • (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