Posted: 2010-02-11 11:09:52
The link isn't working for me (will retry at home), so I can't give you further infos. Will look at it later again.
Official Forum
https://forum.antp.be/phpbb3/
Code: Select all
<div class='description'>$MOVIE[DESCRIPTION](300)
Code: Select all
<div class='imdb'><a class='floatbox rating_$MOVIE[RATING1]' rev="proportionalResize=false boxLeft=auto boxTop=auto shadowType=drop shadowSize=16 roundCorners=all cornerRadius=20 roundBorder=false theme=white overlayOpacity=60 outerBorder=0 innerBorder=0 padding:0 panelPadding:0 showCaption:true showClose:true enableDragMove:true enableDragResize:true imageClickCloses:true" href='$MOVIE[URL]' target='_blank' title='IMDB-Rating: $MOVIE[RATING], Link: $MOVIE[URL]'><span>$MOVIE[RATING]</span></a></div>
Hi,yvelan wrote:I mean : the images which are displayed in the page. On your site, for example the film 10 000 has an image on the left, and if you click on the image appears the same image in real size.lafafmentvotre wrote:There are no miniatures in list_view i think.Thanks !
One problem : image miniatures do not apperas in film list. Something to correct ?
YL
Curiously, in my site the little image do not appears, but if I click on it I can see the image on normal size, but in the same page and not in a popup window like on your site. I think you have modified something other than in the template folder ?
YL
The easiset way to place a link to the trailer is using this code whereever you want the link to appear:jam wrote:Then tried to find line linking trailer... That's ok in "details.tpl", but I don't know what part I have to copy, and between what and what... If I wan't to change it. Well it will depend on the third point ;-)
Code: Select all
<a href=$MOVIE[URL] target=_blank>Trailer</a>
Ok, then search for this line:jam wrote: and last.
on this gallery : http://www.palmans.net/dvdlijst/index.php?num=57
clicking on "Title" opens a detailed page of the movie. This was the result I was expecting.
Code: Select all
<div class='translated'>$MOVIE[TRANSLATEDTITLE]</div>
Code: Select all
]<div class='translated'><a href='$MOVIE[HREF]' class='floatbox' rev="proportionalResize=false width:443 height:300 boxLeft=auto boxTop=auto shadowType=drop shadowSize=16 roundCorners=all cornerRadius=8 roundBorder=false theme=black overlayOpacity=10 outerBorder=0 innerBorder=0 padding:0 panelPadding:0 showCaption:false showClose:false enableDragMove:true enableDragResize:true imageClickCloses:true">$MOVIE[TRANSLATEDTITLE]</a></div>
Then just place the line I posted at the beginning to the right place in the template, right after the descriptionjam wrote:And then by some consequence, maybe having a line linking to "trailer" down the description. That should be the best
I'm not sure, maybe that's a problem of the database import. I will look into that later.jam wrote:whoops... found another problem. In my database, I coded file in utf8. I thought it will take in charge accents, or special letters we have like (é-è-à-ö-ô) etc. But they are all coded now with "?". Is there any place to change this ? I know. I'm asshole
Code: Select all
<div class='mediatype'><a class='rating_$MOVIE[MEDIATYPE]' href='$MOVIE[MEDIATYPE_HREF]'><span>$MOVIE[MEDIATYPE]</span></a></div>
Code: Select all
<div class='videoformat'><a class='rating_$MOVIE[VIDEOFORMAT]' href='$MOVIE[VIDEOFORMAT_HREF]'><span>$MOVIE[VIDEOFORMAT]</span></a></div>
Code: Select all
<div class='audioformat'><a class='rating_$MOVIE[AUDIOFORMAT]' href='$MOVIE[AUDIOFORMAT_HREF]'><span>$AUDIOFORMAT[TEXT]</span></a></div>
File not found errorRocker wrote:here my page
http://51384715.de.strato-hosting.eu/Film/
Code: Select all
$tpl->add_var("\$MOVIE[RATING1]", $rating_round);
Code: Select all
$rating_my = 10*($this->data['RATING']);
$tpl->add_var("\$MOVIE[RATING_MY]", $rating_my);
Code: Select all
<div class='imdb'><a class='floatbox rating_$MOVIE[RATING1]' rev="proportionalResize=false boxLeft=auto boxTop=auto shadowType=drop shadowSize=16 roundCorners=all cornerRadius=20 roundBorder=false theme=white overlayOpacity=60 outerBorder=0 innerBorder=0 padding:0 panelPadding:0 showCaption:true showClose:true enableDragMove:true enableDragResize:true imageClickCloses:true" href='$MOVIE[URL]' target='_blank' title='IMDB-Rating: $MOVIE[RATING], Link: $MOVIE[URL]'><span>$MOVIE[RATING]</span></a></div>
Code: Select all
<div class='imdb'>
<ul class='star-rating'>
<li class='current-rating' style='width: $MOVIE[RATING_MY]%;'></li>
<li><a class='floatbox rating_$MOVIE[RATING1]' rev="proportionalResize=false boxLeft=auto boxTop=auto shadowType=drop shadowSize=16 roundCorners=all cornerRadius=20 roundBorder=false theme=white overlayOpacity=60 outerBorder=0 innerBorder=0 padding:0 panelPadding:0 showCaption:true showClose:true enableDragMove:true enableDragResize:true imageClickCloses:true" href='$MOVIE[URL]' target='_blank' title='CSFD-hodnocení: $MOVIE[RATING_MY]%, Link: $MOVIE[URL]'>
<span>$MOVIE[RATING]</span></a></li>
<li><a class='floatbox rating_$MOVIE[RATING1]' rev="proportionalResize=false boxLeft=auto boxTop=auto shadowType=drop shadowSize=16 roundCorners=all cornerRadius=20 roundBorder=false theme=white overlayOpacity=60 outerBorder=0 innerBorder=0 padding:0 panelPadding:0 showCaption:true showClose:true enableDragMove:true enableDragResize:true imageClickCloses:true" href='$MOVIE[URL]' target='_blank' title='CSFD-hodnocení: $MOVIE[RATING_MY]%, Link: $MOVIE[URL]'>
<span>$MOVIE[RATING]</span></a></li>
<li><a class='floatbox rating_$MOVIE[RATING1]' rev="proportionalResize=false boxLeft=auto boxTop=auto shadowType=drop shadowSize=16 roundCorners=all cornerRadius=20 roundBorder=false theme=white overlayOpacity=60 outerBorder=0 innerBorder=0 padding:0 panelPadding:0 showCaption:true showClose:true enableDragMove:true enableDragResize:true imageClickCloses:true" href='$MOVIE[URL]' target='_blank' title='CSFD-hodnocení: $MOVIE[RATING_MY]%, Link: $MOVIE[URL]'>
<span>$MOVIE[RATING]</span></a></li>
<li><a class='floatbox rating_$MOVIE[RATING1]' rev="proportionalResize=false boxLeft=auto boxTop=auto shadowType=drop shadowSize=16 roundCorners=all cornerRadius=20 roundBorder=false theme=white overlayOpacity=60 outerBorder=0 innerBorder=0 padding:0 panelPadding:0 showCaption:true showClose:true enableDragMove:true enableDragResize:true imageClickCloses:true" href='$MOVIE[URL]' target='_blank' title='CSFD-hodnocení: $MOVIE[RATING_MY]%, Link: $MOVIE[URL]'>
<span>$MOVIE[RATING]</span></a></li>
<li><a class='floatbox rating_$MOVIE[RATING1]' rev="proportionalResize=false boxLeft=auto boxTop=auto shadowType=drop shadowSize=16 roundCorners=all cornerRadius=20 roundBorder=false theme=white overlayOpacity=60 outerBorder=0 innerBorder=0 padding:0 panelPadding:0 showCaption:true showClose:true enableDragMove:true enableDragResize:true imageClickCloses:true" href='$MOVIE[URL]' target='_blank' title='CSFD-hodnocení: $MOVIE[RATING_MY]%, Link: $MOVIE[URL]'>
<span>$MOVIE[RATING]</span></a></li>
<li><a class='floatbox rating_$MOVIE[RATING1]' rev="proportionalResize=false boxLeft=auto boxTop=auto shadowType=drop shadowSize=16 roundCorners=all cornerRadius=20 roundBorder=false theme=white overlayOpacity=60 outerBorder=0 innerBorder=0 padding:0 panelPadding:0 showCaption:true showClose:true enableDragMove:true enableDragResize:true imageClickCloses:true" href='$MOVIE[URL]' target='_blank' title='CSFD-hodnocení: $MOVIE[RATING_MY]%, Link: $MOVIE[URL]'>
<span>$MOVIE[RATING]</span></a></li>
<li><a class='floatbox rating_$MOVIE[RATING1]' rev="proportionalResize=false boxLeft=auto boxTop=auto shadowType=drop shadowSize=16 roundCorners=all cornerRadius=20 roundBorder=false theme=white overlayOpacity=60 outerBorder=0 innerBorder=0 padding:0 panelPadding:0 showCaption:true showClose:true enableDragMove:true enableDragResize:true imageClickCloses:true" href='$MOVIE[URL]' target='_blank' title='CSFD-hodnocení: $MOVIE[RATING_MY]%, Link: $MOVIE[URL]'>
<span>$MOVIE[RATING]</span></a></li>
<li><a class='floatbox rating_$MOVIE[RATING1]' rev="proportionalResize=false boxLeft=auto boxTop=auto shadowType=drop shadowSize=16 roundCorners=all cornerRadius=20 roundBorder=false theme=white overlayOpacity=60 outerBorder=0 innerBorder=0 padding:0 panelPadding:0 showCaption:true showClose:true enableDragMove:true enableDragResize:true imageClickCloses:true" href='$MOVIE[URL]' target='_blank' title='CSFD-hodnocení: $MOVIE[RATING_MY]%, Link: $MOVIE[URL]'>
<span>$MOVIE[RATING]</span></a></li>
<li><a class='floatbox rating_$MOVIE[RATING1]' rev="proportionalResize=false boxLeft=auto boxTop=auto shadowType=drop shadowSize=16 roundCorners=all cornerRadius=20 roundBorder=false theme=white overlayOpacity=60 outerBorder=0 innerBorder=0 padding:0 panelPadding:0 showCaption:true showClose:true enableDragMove:true enableDragResize:true imageClickCloses:true" href='$MOVIE[URL]' target='_blank' title='CSFD-hodnocení: $MOVIE[RATING_MY]%, Link: $MOVIE[URL]'>
<span>$MOVIE[RATING]</span></a></li>
<li><a class='floatbox rating_$MOVIE[RATING1]' rev="proportionalResize=false boxLeft=auto boxTop=auto shadowType=drop shadowSize=16 roundCorners=all cornerRadius=20 roundBorder=false theme=white overlayOpacity=60 outerBorder=0 innerBorder=0 padding:0 panelPadding:0 showCaption:true showClose:true enableDragMove:true enableDragResize:true imageClickCloses:true" href='$MOVIE[URL]' target='_blank' title='CSFD-hodnocení: $MOVIE[RATING_MY]%, Link: $MOVIE[URL]'>
<span>$MOVIE[RATING]</span></a></li>
</ul>
</div>
Code: Select all
<div class='imdb'><a class='floatbox rating_$MOVIE[RATING1]' rev="proportionalResize=false boxLeft=auto boxTop=auto shadowType=drop shadowSize=16 roundCorners=all cornerRadius=20 roundBorder=false theme=white overlayOpacity=60 outerBorder=0 innerBorder=0 padding:0 panelPadding:0 showCaption:true showClose:true enableDragMove:true enableDragResize:true imageClickCloses:true" href='$MOVIE[URL]' target='_blank' title='IMDB-Rating: $MOVIE[RATING], Link: $MOVIE[URL]'><span>$MOVIE[RATING]</span></a></div>
Code: Select all
<div class='imdb'>
<ul class='star-rating'>
<li class='current-rating' style='width: $MOVIE[RATING_MY]%;'></li>
<li><a class='floatbox rating_$MOVIE[RATING1]' rev="proportionalResize=false boxLeft=auto boxTop=auto shadowType=drop shadowSize=16 roundCorners=all cornerRadius=20 roundBorder=false theme=white overlayOpacity=60 outerBorder=0 innerBorder=0 padding:0 panelPadding:0 showCaption:true showClose:true enableDragMove:true enableDragResize:true imageClickCloses:true" href='$MOVIE[URL]' target='_blank' title='CSFD-hodnocení: $MOVIE[RATING_MY]%, Link: $MOVIE[URL]'>
<span>$MOVIE[RATING]</span></a></li>
<li><a class='floatbox rating_$MOVIE[RATING1]' rev="proportionalResize=false boxLeft=auto boxTop=auto shadowType=drop shadowSize=16 roundCorners=all cornerRadius=20 roundBorder=false theme=white overlayOpacity=60 outerBorder=0 innerBorder=0 padding:0 panelPadding:0 showCaption:true showClose:true enableDragMove:true enableDragResize:true imageClickCloses:true" href='$MOVIE[URL]' target='_blank' title='CSFD-hodnocení: $MOVIE[RATING_MY]%, Link: $MOVIE[URL]'>
<span>$MOVIE[RATING]</span></a></li>
<li><a class='floatbox rating_$MOVIE[RATING1]' rev="proportionalResize=false boxLeft=auto boxTop=auto shadowType=drop shadowSize=16 roundCorners=all cornerRadius=20 roundBorder=false theme=white overlayOpacity=60 outerBorder=0 innerBorder=0 padding:0 panelPadding:0 showCaption:true showClose:true enableDragMove:true enableDragResize:true imageClickCloses:true" href='$MOVIE[URL]' target='_blank' title='CSFD-hodnocení: $MOVIE[RATING_MY]%, Link: $MOVIE[URL]'>
<span>$MOVIE[RATING]</span></a></li>
<li><a class='floatbox rating_$MOVIE[RATING1]' rev="proportionalResize=false boxLeft=auto boxTop=auto shadowType=drop shadowSize=16 roundCorners=all cornerRadius=20 roundBorder=false theme=white overlayOpacity=60 outerBorder=0 innerBorder=0 padding:0 panelPadding:0 showCaption:true showClose:true enableDragMove:true enableDragResize:true imageClickCloses:true" href='$MOVIE[URL]' target='_blank' title='CSFD-hodnocení: $MOVIE[RATING_MY]%, Link: $MOVIE[URL]'>
<span>$MOVIE[RATING]</span></a></li>
<li><a class='floatbox rating_$MOVIE[RATING1]' rev="proportionalResize=false boxLeft=auto boxTop=auto shadowType=drop shadowSize=16 roundCorners=all cornerRadius=20 roundBorder=false theme=white overlayOpacity=60 outerBorder=0 innerBorder=0 padding:0 panelPadding:0 showCaption:true showClose:true enableDragMove:true enableDragResize:true imageClickCloses:true" href='$MOVIE[URL]' target='_blank' title='CSFD-hodnocení: $MOVIE[RATING_MY]%, Link: $MOVIE[URL]'>
<span>$MOVIE[RATING]</span></a></li>
<li><a class='floatbox rating_$MOVIE[RATING1]' rev="proportionalResize=false boxLeft=auto boxTop=auto shadowType=drop shadowSize=16 roundCorners=all cornerRadius=20 roundBorder=false theme=white overlayOpacity=60 outerBorder=0 innerBorder=0 padding:0 panelPadding:0 showCaption:true showClose:true enableDragMove:true enableDragResize:true imageClickCloses:true" href='$MOVIE[URL]' target='_blank' title='CSFD-hodnocení: $MOVIE[RATING_MY]%, Link: $MOVIE[URL]'>
<span>$MOVIE[RATING]</span></a></li>
<li><a class='floatbox rating_$MOVIE[RATING1]' rev="proportionalResize=false boxLeft=auto boxTop=auto shadowType=drop shadowSize=16 roundCorners=all cornerRadius=20 roundBorder=false theme=white overlayOpacity=60 outerBorder=0 innerBorder=0 padding:0 panelPadding:0 showCaption:true showClose:true enableDragMove:true enableDragResize:true imageClickCloses:true" href='$MOVIE[URL]' target='_blank' title='CSFD-hodnocení: $MOVIE[RATING_MY]%, Link: $MOVIE[URL]'>
<span>$MOVIE[RATING]</span></a></li>
<li><a class='floatbox rating_$MOVIE[RATING1]' rev="proportionalResize=false boxLeft=auto boxTop=auto shadowType=drop shadowSize=16 roundCorners=all cornerRadius=20 roundBorder=false theme=white overlayOpacity=60 outerBorder=0 innerBorder=0 padding:0 panelPadding:0 showCaption:true showClose:true enableDragMove:true enableDragResize:true imageClickCloses:true" href='$MOVIE[URL]' target='_blank' title='CSFD-hodnocení: $MOVIE[RATING_MY]%, Link: $MOVIE[URL]'>
<span>$MOVIE[RATING]</span></a></li>
<li><a class='floatbox rating_$MOVIE[RATING1]' rev="proportionalResize=false boxLeft=auto boxTop=auto shadowType=drop shadowSize=16 roundCorners=all cornerRadius=20 roundBorder=false theme=white overlayOpacity=60 outerBorder=0 innerBorder=0 padding:0 panelPadding:0 showCaption:true showClose:true enableDragMove:true enableDragResize:true imageClickCloses:true" href='$MOVIE[URL]' target='_blank' title='CSFD-hodnocení: $MOVIE[RATING_MY]%, Link: $MOVIE[URL]'>
<span>$MOVIE[RATING]</span></a></li>
<li><a class='floatbox rating_$MOVIE[RATING1]' rev="proportionalResize=false boxLeft=auto boxTop=auto shadowType=drop shadowSize=16 roundCorners=all cornerRadius=20 roundBorder=false theme=white overlayOpacity=60 outerBorder=0 innerBorder=0 padding:0 panelPadding:0 showCaption:true showClose:true enableDragMove:true enableDragResize:true imageClickCloses:true" href='$MOVIE[URL]' target='_blank' title='CSFD-hodnocení: $MOVIE[RATING_MY]%, Link: $MOVIE[URL]'>
<span>$MOVIE[RATING]</span></a></li>
</ul>
</div>
Code: Select all
#mdb .movie .imdb A { width: 160px; height: 28px; display: block; padding: 0px; position:left; right: 9px; left: 9px; }
Code: Select all
#mdb .movie .imdb A { width: 200px; height: 20px; display: block; padding: 0px; position:left; right: 9px; left: 9px; }/*
Code: Select all
#mdb .movie .imdb A.rating_10 { background-image: url('images/info/imdb/10.jpg'); }
Code: Select all
#mdb .movie .imdb A.rating_10 { background-image: url('images/info/imdb/10.jpg'); }*/
/*----------------------------------------------------------------------------------
/* MovieDB Movie Ratings stars by Sacnew
/*---------------------------------------------------------------------------------- */
.star-rating{
list-style:none;
margin: 0px;
padding:0px;
width: 200px;
height: 20px;
position: relative;
overflow:hidden;
background: url('images/info/imdb/stars.png') top left repeat-x;
}
.star-rating li{
padding:0px;
margin:0px;
width:20px;
height:20px;
float: left;
.star-rating li a {
display:block;
width:20px;
height: 20px;
line-height:20px;
text-decoration: none;
text-indent: -9000px;
z-index: 2;
position: absolute;
padding: 0px;
overflow:hidden; }
.star-rating li.current-rating {
background: url('images/info/imdb/stars.png') left bottom;
position: absolute;
height: 20px;
display: block;
text-indent: -9000px;
z-index: 1; }
a:active {
outline: none; }
Zoom1012 wrote:Hi I am new to ANT. I'd like to install this mod but there are NO installation instructions on how to install it. One of the threads said there are instructions in the package, but there are none. I'm not sure where a lot of these files should go. Any help would be appreciated.
Thanks.
For step 4 and 5 intestead:mking wrote:REQUIREMENTS
------------
1. PHP4+
2. MySQL Server 4.1+
3. ANT Movie Catalog export to a MySQL Database
4. At least some knowledge of standard HTML and PHP processes.
INSTRUCTIONS
------------
1. Download ANT Movie Catalog to build your movie database.
2. Put these files someplace on your webserver.
3. Open mdb_config.inc to review and edit all the options you have available.
Code: Select all
$this->config['mysql']['server'] = "localhost"; $this->config['mysql']['username'] = "root"; $this->config['mysql']['password'] = "password"; $this->config['mysql']['database'] = "moviedb"; $this->config['mysql']['table'] = "moviedb_table";
4. Export your Movie Database as SQL, check the option for include images.
5. Import the SQL into your MySQL Database on the server, and upload the images to the server.
No problem, you can do that as long as it is under the terms of GNU GPL. In short, don't delete original copyright notes and clearly mark the new version and any source file that you have changed as modified, so that it cannot be mistaken for the original version by antp. If you release the version somewhere else you need to make the full source code available, too, while here on forums it should be okay to only make modified source files available.ElMauro wrote:ps: I dont know if I can post a compiled binary of AMC for this.
Thanks for this, much appreciated, after moving from a paid for service to hosting my MovieDB locally on the WHS box this has helped a lot.ElMauro wrote:Ok then here you have a compiled 3.5.1.2 binary with
- added support to automatically build and fill the period column so you can load your exported .sql to a PK's MovieDB site with your favorite tool.
- It also includes a checkbox to make the exported file UTF-8 Compliant, just in case your webhost doesnt allow you to specify the sql charset and/or you are having problems in displaying special characters.
Its based on the convert to ascii function used by stringutils.
The diff patch is included, to apply in your own source or see the changes.
Code: Select all
$this->template['options']['main_tpl'] = "IMGVIEW";