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.

RobbieZ 07-23-2010 11:59 PM

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 07-24-2010 05:06 PM

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 07-24-2010 05:55 PM

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

RobbieZ 07-25-2010 06:20 AM

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://vborg.vbsupport.ru/external/2010/07/23.jpg

But when you scroll up its sat here under the navbar

https://vborg.vbsupport.ru/external/2010/07/24.jpg

2) Notice these lines around normal forums.

https://vborg.vbsupport.ru/external/2010/07/25.jpg

There are no lines surrounding your mod.

https://vborg.vbsupport.ru/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://vborg.vbsupport.ru/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 07-25-2010 08:01 AM

I double this, thanks RobbieZ.

ragarcia87 07-25-2010 09:09 AM

Quote:

Originally Posted by TNERatedEdge (Post 2073953)
Where would this be on the forum? Would it be a tab?

It shows on FORUMHOME and can be manually placed on FORUMDISPLAY or FORUMHOME.

Thanks RobbieZ. I fixed the small bugs you mentioned. There aren't suppose to be any lines on the mod. I have also but some space above the mod so that there will be enough space between it and the forums if put below forums. Thanks again for taking time to take screen shots of the bugs. :)

project-Buckfas 07-25-2010 11:37 AM

Anyone know if this works on 4.0.5 ?

It would be a handy addition to my site.

COL NIL SATIS 07-25-2010 02:33 PM

tagged..looks very promising indeed

RobbieZ 07-25-2010 02:34 PM

Thanks bugs fixed :D

* Please note that - Sorky Sub Forum List Control clashes with this mod if 'Below Forums' setting is used !

Above Footer and Below Navbar are fine but its better on the latter if you want to attract more activity.

* Nominated ;)

promet 07-25-2010 03:14 PM

tested 4.0.5 yea works with a single problem that trailer video is not loading ...

any solution for it?

installed btw.

RobbieZ 07-25-2010 03:23 PM

Quote:

Originally Posted by promet (Post 2074293)
tested 4.0.5 yea works with a single problem that trailer video is not loading ...

any solution for it?

installed btw.

Works on 4.0.3... Problems could be that the video from youtube is not embeddable.

or you havent entered the video code correctly?

www.youtube.com/watch?v=ZvgEnadE8vw <-- This is for youtube link

--------------------------- ZvgEnadE8vw <-- this is for trailer.

promet 07-25-2010 03:31 PM

edit.....thanks..

RobbieZ 07-25-2010 03:59 PM

Checked on my board. Video plays ok for me.

https://vborg.vbsupport.ru/external/2010/07/20.jpg

Now im sure I read that the upgrade to 4.0.5 changes the way vbulletin handles video's

See this thread https://vborg.vbsupport.ru/showpost....&postcount=608

Geek actually says it was 4.03 but everyone is saying this fixes AME 3 on the latest vbulletin.

I havent seen any other mods that handle youtube in forums or members profile's.

If this mod stops working when I upgrade then I will have to uninstall this lovely mod.

Shame on you vb :mad:

PS nice artwork :D:D:D can u share ? *edit* sorted :p

PPS your icons are in the wrong folder ;)

Da-Vinci 07-25-2010 05:32 PM

Only enter the Red part of the url and it works fine with VB4.0.5

Code:

http://www.youtube.com/watch?v=ZvgEnadE8vw
Also Youtube urls may look like this.

Code:

http://www.youtube.com/watch?v=hnJjYnzZSZo&feature=pyv&ad=5726383069&kw=a-team%20trailer
Again only copy the Red part of the url that is the actual video ID.

promet 07-25-2010 06:19 PM

i did it thanks guys....

ragarcia87 07-25-2010 06:25 PM

1 Attachment(s)
Thanks for the posts guys and the intalls :)

promet, I'm going to be looking into the reason in just a minute. Ill dedicate today to making sure this will work with 4.0.5 and trying to see whats wrong with Sorky Sub Forum List Control clash when the mod is 'Below Forums'.

///EDIT///

I have just tested the mod with 4.0.5 and it works well. The trailer shows up and it doesn't seem to clash with the Sorky - SubForum List Control. Not with the default settings anyway. I have attached a screen shot below of it working 'Below Forums' with Sorky - SubForum List Control.

RobbieZ 07-25-2010 08:13 PM

Cool, it may be some settings I have on sorky's :confused:

ragarcia87 07-25-2010 08:23 PM

Quote:

Originally Posted by RobbieZ (Post 2074418)
Cool, it may be some settings I have on sorky's :confused:

Hm. No idea. Could you take a screen shot of the clash? Or explain the clash better?

bada_bing 07-25-2010 11:06 PM

How do you add this to vbadvanced ?

ProFifaLeagues 07-26-2010 03:12 AM

Installed and working great!
Thanks

Britmovie 07-26-2010 10:10 AM

This is soooo fantastic dont let it die why not have some way members can sugest a film and others vote for the choices.
www.britmovie.net/britforum
Great job.

ProFifaLeagues 07-26-2010 10:53 AM

Quote:

Originally Posted by Britmovie (Post 2074673)
This is soooo fantastic dont let it die why not have some way members can sugest a film and others vote for the choices.
www.britmovie.net/britforum
Great job.


Be superb to have that inc in this system!

Veer 07-26-2010 12:49 PM

I don't understand why you don't add outside border and shadow just like vb have with every block. Sorry I don't like it.

ragarcia87 07-26-2010 01:09 PM

Quote:

Originally Posted by Veer (Post 2074733)
I don't understand why you don't add outside border and shadow just like vb have with every block. Sorry I don't like it.

Perhaps today I can work on adding a border for those who would like it to have one. :)

RobbieZ 07-26-2010 01:33 PM

Thanks for your suggestion again Veer.

@ragarcia87 - Woo Hoo..

Info : You can use HTML in Movie Summary, (cant function <strong> or <h1> etc) but <center> and <br /> works, but it looks good.

https://vborg.vbsupport.ru/external/2010/07/5.png

COL NIL SATIS 07-26-2010 07:31 PM

installed ..looks great ..thanks guys ...be nice to have the border around it tho ..top mod ..appreciate it

ragarcia87 07-26-2010 08:00 PM

***UPDATE***

I added product-motweek -borders. I didn't put it in it's own package or update because it's optional. If you want borders you can download/import product-motweek -borders. If you don't want borders then keep using the version you have.

Veer 07-26-2010 08:06 PM

Quote:

Originally Posted by ragarcia87 (Post 2074740)
Perhaps today I can work on adding a border for those who would like it to have one. :)

Thank you, it would be very nice :)

Veer 07-26-2010 08:07 PM

Quote:

Originally Posted by ragarcia87 (Post 2074915)
***UPDATE***

I added product-motweek -borders. I didn't put it in it's own package or update because it's optional. If you want borders you can download/import product-motweek -borders. If you don't want borders then keep using the version you have.

Thanks, let me check it out :)

ProFifaLeagues 07-26-2010 08:44 PM

Working great too with the borders Thanks


All times are GMT. The time now is 11:25 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.01546 seconds
  • Memory Usage 1,839KB
  • 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
  • (6)bbcode_code_printable
  • (14)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
  • (40)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