vBulletin Mods

The Official vBulletin Modifications Site
https://www.vbulletin.org/forum/showthread.php?t=247144

Movie Of The Week - MOTW v3.0.2
by ragarcia87
23 Jul 2010 14:15

5 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:

Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.


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.

Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.



***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 23 Jul 2010 14:25

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

EquinoxWorld 23 Jul 2010 14:33

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 23 Jul 2010 14:41

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 23 Jul 2010 16:27

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

EquinoxWorld 23 Jul 2010 16:46

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

ragarcia87 23 Jul 2010 16:52

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: http://www.vbulletin.org/forum/attac...7&d=1279903787

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

Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

(Copy/Paste the red ID into the correct filed in the AdminCp options)

EquinoxWorld 23 Jul 2010 16:55

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: http://www.vbulletin.org/forum/attac...7&d=1279903787

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

Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

(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 23 Jul 2010 17:29

Error XML: Unknown on line 1 ?

ragarcia87 23 Jul 2010 18:03

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.

RobbieZ 24 Jul 2010 00:59

Good stuff. It would be good if it was integrated into a voting system like vb.org's own mod of the month.

Can you please have it so it is in its own frame instead of just having the blockhead.

Thanks

Bugs:

blockhead stays at the top whilst the mod is above the footer option enabled
collapse is not in same position as the rest (picky I know :()
When collapsing 'Above footer option' mod will disappear and unable to recall until you move it to another location in ACP.
Need <br /> added to the top as it looks to close to other tables.

Will provide images on errors if needed :p

ragarcia87 24 Jul 2010 18:06

Quote:

Originally Posted by RobbieZ (Post 2073635)
Good stuff. It would be good if it was integrated into a voting system like vb.org's own mod of the month.

Can you please have it so it is in its own frame instead of just having the blockhead.

Thanks

Bugs:

blockhead stays at the top whilst the mod is above the footer option enabled
collapse is not in same position as the rest (picky I know :()
When collapsing 'Above footer option' mod will disappear and unable to recall until you move it to another location in ACP.
Need <br /> added to the top as it looks to close to other tables.

Will provide images on errors if needed :p


Thanks for the bugs report. :) Screeshots would be great that way I can look over the mod and take'em one by one.

TNERatedEdge 24 Jul 2010 18:55

Where would this be on the forum? Would it be a tab?

RobbieZ 25 Jul 2010 07:20

Quote:

Originally Posted by ragarcia87 (Post 2073942)
Thanks for the bugs report. :) Screeshots would be great that way I can look over the mod and take'em one by one.

1) Above Footer bug - No header

https://www.vbulletin.org/forum/external/2010/07/23.jpg

But when you scroll up its sat here under the navbar

https://www.vbulletin.org/forum/external/2010/07/24.jpg

2) Notice these lines around normal forums.

https://www.vbulletin.org/forum/external/2010/07/25.jpg

There are no lines surrounding your mod.

https://www.vbulletin.org/forum/external/2010/07/26.jpg

3) First 3 circles depict correct positioning of collapse button , the last circle is your mod collapse button in wrong position

3a) Arrows point to spaces between forums but none on your mod.

https://www.vbulletin.org/forum/external/2010/07/27.jpg

The problem of the mod disappearing on collapse was incorrect.

Thanks

* I am using a hack to separate category's as normally they are stacked

Veer 25 Jul 2010 09:01

I double this, thanks RobbieZ.


All times are GMT. The time now is 02:24.

Powered by vBulletin® Version 3.8.14
Copyright © 2021, MH Sub I, LLC dba vBulletin. All Rights Reserved. vBulletin® is a registered trademark of MH Sub I, LLC
Copyright ©2001 - , vbulletin.org. All rights reserved.