JeF's user interface script (v40) (Movienizer 6.x)

How to make Movienizer support new sites. Customize Movienizer.
User avatar
JeF
Black Belt Squirrel
Posts: 1175
Joined: Fri Feb 20, 2009 3:34 pm
Location: France

Re: JeF's user interface script (v39) (Movienizer 6.x)

Post by JeF » Sat Dec 29, 2012 10:17 pm

xbox80 wrote:I tried changing the icons but it does not work, even deleting them from the folder "Pictures" continue to appear (not_wanted.gif - wanted.gif)
and this strange?
Those default images are picked from [Movienizer_Install_Dir]\Pictures\Themes\Original\img (not from Pictures folder).
To customize, just copy/patse these gif images to your theme img folder ( [Movienizer_Install_Dir]\Pictures\Themes\[Your_Theme]\img ) and then modifiy them there.
Happy New Year to you
JeF

User avatar
xbox80
Superstar
Posts: 501
Joined: Tue Sep 15, 2009 8:50 am
Location: Italy-Russian

Re: JeF's user interface script (v39) (Movienizer 6.x)

Post by xbox80 » Sat Dec 29, 2012 10:29 pm

now it works, :D

so I have to copy all the images in my custom theme
and then it works?
I need to be in "Pictures"? :roll:

User avatar
JeF
Black Belt Squirrel
Posts: 1175
Joined: Fri Feb 20, 2009 3:34 pm
Location: France

Re: JeF's user interface script (v39) (Movienizer 6.x)

Post by JeF » Sun Dec 30, 2012 9:47 am

xbox80 wrote:so I have to copy all the images in my custom theme
and then it works?
No, only the ones you want to customize.
I need to be in "Pictures"? :roll:
No, default is themes\original\img
Please read carefully user guide, images search is fully explained.
JeF

User avatar
xbox80
Superstar
Posts: 501
Joined: Tue Sep 15, 2009 8:50 am
Location: Italy-Russian

Re: JeF's user interface script (v39) (Movienizer 6.x)

Post by xbox80 » Fri Jan 04, 2013 6:57 am

and can place these fields on the left :idea:
This is necessary to see the situation of the tv series

(see the box in red)

Image




thanks ;)

User avatar
JeF
Black Belt Squirrel
Posts: 1175
Joined: Fri Feb 20, 2009 3:34 pm
Location: France

Re: JeF's user interface script (v39) (Movienizer 6.x)

Post by JeF » Fri Jan 04, 2013 12:37 pm

xbox80 wrote:and can place these fields on the left :idea:
This is necessary to see the situation of the tv series
Install attached version of script and, in your theme folder, modify the html template Movie.html as following example :
search for Loan line and add '#userfield...' special tag lines you need :

Code: Select all

		<div class="Loan"><strong><!--#loan_lbl -->:</strong> <!--#loan --></div>
		<div class="MediaInfo"><!--#userfield1_tvonly_lbl_logo_value --></div>
		<div class="MediaInfo"><!--#userfield2_lbl_logo_value --></div>
		<div class="MediaInfo"><!--#userfield3_logo --></div>
userfield special tag structure is :
#userfield[1..4][_tvonly][_lbl][_logo][_value]

[1..4] : required : concerned user field number from 1 to 4 (single figure)
[_tvonly] : optional : if present, tag will only be populated for TVshow master movie and single episode cards
[_lbl] : optional :
[_logo] : optional : display an image (if exists) which name is built from the value : 'Fld' + field number (one digit) + '_' + field value + '.png'
example for usefield #1 having value Colore : searched image name will be 'Fld1_Colore.png' (which should be created in 'img' subfolder of your theme folder)
[_value] : optional : display the field value as a clickable link to movies having the same value

Note: at least one of the three modifiers [_lbl] [_logo] [_value] must be present to have something displayed...

;)
JeF

Edit: obsolete file deleted, see next attachment

User avatar
xbox80
Superstar
Posts: 501
Joined: Tue Sep 15, 2009 8:50 am
Location: Italy-Russian

Re: JeF's user interface script (v39) (Movienizer 6.x)

Post by xbox80 » Fri Jan 04, 2013 12:57 pm

thanks Jef, now the test ;)

I hope that I understood :?

User avatar
xbox80
Superstar
Posts: 501
Joined: Tue Sep 15, 2009 8:50 am
Location: Italy-Russian

Re: JeF's user interface script (v39) (Movienizer 6.x)

Post by xbox80 » Fri Jan 04, 2013 2:46 pm

I do not understand :shock:

1) I replaced the file "jef_program_getmovie.pas"

2) enter the code in the file "Movie.html"


Image


3) added to the file "Fld1_Colore.png" in the "Jef" interface

Image



result? I see nothing :!:
I do something wrong? :idea:

I can describe the process with the screenshot ? :mrgreen:


thanks ;)

User avatar
JeF
Black Belt Squirrel
Posts: 1175
Joined: Fri Feb 20, 2009 3:34 pm
Location: France

Re: JeF's user interface script (v39) (Movienizer 6.x)

Post by JeF » Fri Jan 04, 2013 3:48 pm

xbox80 wrote:result? I see nothing :!:
I do something wrong? :idea:
Just Check your movie has the value 'Colore' set to your User Field 'B/N - Colore - o altro'.
If the movie has no value set for that user field (#1), tag will not be displayed.

User avatar
JeF
Black Belt Squirrel
Posts: 1175
Joined: Fri Feb 20, 2009 3:34 pm
Location: France

Re: JeF's user interface script (v39) (Movienizer 6.x)

Post by JeF » Fri Jan 04, 2013 4:43 pm

Updated Movie card with now User Fields and User Lists upgraded special tags :

Install attached version of script and, in your theme folder, modify the html template Movie.html as following example :
search for Loan line and add '#user...' special tag lines you need :

Code: Select all

		<div class="Loan"><strong><!--#loan_lbl -->:</strong> <!--#loan --></div>
		<div class="MediaInfo"><!--#userfield1_tvonly_lbl_logo_value --></div>
		<div class="MediaInfo"><!--#userfield2_lbl_logo_value --></div>
		<div class="MediaInfo"><!--#userfield3_logo --></div>
		<div class="MediaInfo"><!--#userlist1_br_indent_lbl_logo_value --></div>
userfield special tag structure is :
#userfield[1..4][_tvonly][_lbl][_logo][_value]

[1..4] : required : concerned user field number from 1 to 4 (single figure)
[_tvonly] : optional : if present, tag will only be populated for TVshow master movie and single episode cards
[_lbl] : optional : the user field label
[_logo] : optional : display an image (if exists) which name is built from the value : 'Fld' + field number (one digit) + '_' + field value + '.png'
example for userfield #1 having value Colore : searched image name will be 'Fld1_Colore.png' (which should be created in 'img' subfolder of your theme folder)
[_value] : optional : display the field value as a clickable link to movies having the same value

Note: at least one of the three modifiers [_lbl] [_logo] [_value] must be present to have something displayed...

userlist special tag structure is :
#userlist[1..2][_tvonly][_br][_csv][_indent][_lbl][_logo][_value]

[1..2] : required : concerned user list number from 1 to 2 (single figure)
[_tvonly] : optional : if present, tag will only be populated for TVshow master movie and single episode cards
[_br] : optional : will present each item of the list on a separate line (adds <br> html tag after each item)
[_csv] : optional : ('C'omma 'S'eparated 'V'alues) will add a comma after each item. Usually not present if _br is present (and vice versa)
[_indent] : optional : Inserts 3 spaces before each item. Usually used together with _br
[_lbl] : optional : the user list label
[_logo] : optional : display an image (if exists) which name is built from the value : 'Lst' + list number (one digit) + '_' + item name + '.png'
example for userlist #1 having items Logo1, Logo2 and Logo3 checked : searched image names will be 'Lst1_Logo1.png' 'Lst1_Logo2.png' and 'Lst1_Logo3.png' (which should all be created in 'img' subfolder of your theme folder)
[_value] : optional : display every checked item name as a clickable link to movies having the same item checked

Screenshots example for :
a) Field #1 with the folowing special tag (no label) :
<div class="MediaInfo"><strong><!--#userfield1_tvonly_logo_value --></div>
b) List#1 Named 'Logos' and having for a movie three items checked : logo1, logo2 and logo3 and with the folowing special tag :
<div class="MediaInfo"><strong><!--#userlist1_lbl_logo --></div>

Image
Image
Image

Result:
Image

;)
JeF

Edit : Obsolete file deleted

User avatar
xbox80
Superstar
Posts: 501
Joined: Tue Sep 15, 2009 8:50 am
Location: Italy-Russian

Re: JeF's user interface script (v39) (Movienizer 6.x)

Post by xbox80 » Fri Jan 04, 2013 5:29 pm

Now understand :D

this is the result :)

thanks for your explanation ;)

as always you are a great ;)

Image

Image

Image

Image

Post Reply