PDA

View Full Version : Movie Of The Week - MOTW v3.0.2



Dunglx
16-08-2011, 11:30 PM
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:



{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.



<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.

Thảo Nguyên
16-08-2011, 11:54 PM
không thể làm được:MatCuoi (30):