PK's MovieDB Release.V3.0 (Dynamic PHP View)
thanks man , gonna try that, ill let you know if it works out
update:
yeah man that did it thanks a million! for some reason there was no reference at all to the RATING in the INC file.
added the last code line:
$date_added = date($this->mdb->config['options']['date_format'], strtotime($this->data['DATEADD']));
$tpl->add_var("\$MOVIE[DATEADD]", $date_added);
$tpl->add_var("\$MOVIE[HREF]", $this->mdb->get_link(array("NUM" => $this->data['NUM'])));
$tpl->add_callback("\$MOVIE[DESCRIPTION]", "_callback_description", 1);
$tpl->add_subtpl("TRANSLATEDTITLES", $this->_templates_translatedtitles());
$tpl->add_subtpl("ACTORS", $this->_templates_names("ACTORS", "ACTOR", $this->actors));
$tpl->add_subtpl("DIRECTORS", $this->_templates_names("DIRECTORS", "DIRECTOR", $this->directors));
$tpl->add_subtpl("PRODUCERS", $this->_templates_names("PRODUCERS", "PRODUCER", $this->producers));
$tpl->add_var("\$MOVIE[RATING]", (round($this->data['RATING'])));
return $tpl;
}
and now it works perfectly
made my own star images as you can see, and now they show perfectly without me having to change the table settings in phpMyAdmin
thanks alot!
lemme know if ya need some grahpical work done, thats more my line of work would publish my files like this , but since I edited so much to my own needs and hardcoded alot of dutch in it and ugly hardcoded image reference etc it wont be useable for much. But like i said , if nuf ppl fancy a template like this i go remake the whole thing with yet another background, although reverse engineering not that easy when I made it with trial and error lol
update:
yeah man that did it thanks a million! for some reason there was no reference at all to the RATING in the INC file.
added the last code line:
$date_added = date($this->mdb->config['options']['date_format'], strtotime($this->data['DATEADD']));
$tpl->add_var("\$MOVIE[DATEADD]", $date_added);
$tpl->add_var("\$MOVIE[HREF]", $this->mdb->get_link(array("NUM" => $this->data['NUM'])));
$tpl->add_callback("\$MOVIE[DESCRIPTION]", "_callback_description", 1);
$tpl->add_subtpl("TRANSLATEDTITLES", $this->_templates_translatedtitles());
$tpl->add_subtpl("ACTORS", $this->_templates_names("ACTORS", "ACTOR", $this->actors));
$tpl->add_subtpl("DIRECTORS", $this->_templates_names("DIRECTORS", "DIRECTOR", $this->directors));
$tpl->add_subtpl("PRODUCERS", $this->_templates_names("PRODUCERS", "PRODUCER", $this->producers));
$tpl->add_var("\$MOVIE[RATING]", (round($this->data['RATING'])));
return $tpl;
}
and now it works perfectly
made my own star images as you can see, and now they show perfectly without me having to change the table settings in phpMyAdmin
thanks alot!
lemme know if ya need some grahpical work done, thats more my line of work would publish my files like this , but since I edited so much to my own needs and hardcoded alot of dutch in it and ugly hardcoded image reference etc it wont be useable for much. But like i said , if nuf ppl fancy a template like this i go remake the whole thing with yet another background, although reverse engineering not that easy when I made it with trial and error lol
Last edited by Jorn on 2009-06-25 23:32:36, edited 1 time in total.
You guys are crazy
As you noticed I stopped development on this several years ago. Its
awesome to come back every now and then and see what has been
happening.
I actually stopped programming in PHP abot a year ago and have been
focusing on Python development. It's much better IMHO. So you won't
see any updates on this project from me. It's been way too long, and far
too many people have made modifications anyway, that an update at this
point would be moot.
Anyway, who is hosting the most up to date files now? We might want to
consider pushing this Google-code or something similar.
awesome to come back every now and then and see what has been
happening.
I actually stopped programming in PHP abot a year ago and have been
focusing on Python development. It's much better IMHO. So you won't
see any updates on this project from me. It's been way too long, and far
too many people have made modifications anyway, that an update at this
point would be moot.
Anyway, who is hosting the most up to date files now? We might want to
consider pushing this Google-code or something similar.
-
- Posts: 96
- Joined: 2006-03-12 01:07:41
-
- Posts: 37
- Joined: 2002-10-02 23:46:56
- Location: Santiado de Chile
- Contact:
Re: You guys are crazy
mjs7231 wrote:As you noticed I stopped development on this several years ago. Its
awesome to come back every now and then and see what has been
happening.
I actually stopped programming in PHP abot a year ago and have been
focusing on Python development. It's much better IMHO. So you won't
see any updates on this project from me. It's been way too long, and far
too many people have made modifications anyway, that an update at this
point would be moot.
Anyway, who is hosting the most up to date files now? We might want to
consider pushing this Google-code or something similar.
I congratulate you for your work this template is the best that exists and would be very good if you make a new version, many expect that.
-
- Posts: 96
- Joined: 2006-03-12 01:07:41
@alex1: That looks absolutely AWESOME. I'm looking forward to you sharing your work with us, would definately use it!
@sandmanweb: Is your version unusuable with php 4? I get a error on line 89 when I try to use your template.
edit: Seems my hosting supports php5 with a htaccess command. Now your script works: http://film.speedweb.be
I've managed to get mine running with a older version:
http://movies.speedweb.be
@sandmanweb: Is your version unusuable with php 4? I get a error on line 89 when I try to use your template.
edit: Seems my hosting supports php5 with a htaccess command. Now your script works: http://film.speedweb.be
I've managed to get mine running with a older version:
http://movies.speedweb.be
-
- Posts: 96
- Joined: 2006-03-12 01:07:41
slovenian.inc
<?
/** ===============================================================================================
* Slovenian Language file for MovieDB by max-slo.net
* @author: M. Kralj
*=============================================================================================== */
# Misc. words that people will find useful
$this->lang['APPNAME'] = "MDB3"; # Name of this application
$this->lang['ALL_MOVIES'] = "Vsi filmi"; # All Movies
$this->lang['MORE'] = "več"; # More (when needed for cuting description)
$this->lang['UNKNOWN'] = "na"; # Unknown (Not Available)
$this->lang['ROLE'] = "Vloga"; # Actor / Actress Role
$this->lang['MINUTES'] = "min."; # When displaying the length
$this->lang['FIRST'] = "Prva"; # When linking to the First Page
$this->lang['LAST'] = "Zadnja"; # When linking to the Last page
# TITLES - Title refrences for the cooresponding database field
$this->lang['NUM'] = "Index";
$this->lang['CHECKED'] = "Preveriti";
$this->lang['MEDIA'] = "Medij";
$this->lang['MEDIATYPE'] = "Tip medija";
$this->lang['SOURCE'] = "Vir";
$this->lang['DATEADD'] = "Dodano dne";
$this->lang['BORROWER'] = "Posodil";
$this->lang['RATING'] = "Ocena";
$this->lang['ORIGINALTITLE'] = "Naslov";
$this->lang['TRANSLATEDTITLE'] = "Prevedeni naslov";
$this->lang['FORMATTEDTITLE'] = "Oblikovani naslov";
$this->lang['DIRECTOR'] = "Direktor";
$this->lang['PRODUCER'] = "Producent";
$this->lang['COUNTRY'] = "Država";
$this->lang['CATEGORY'] = "Kategorija";
$this->lang['YEAR'] = "Leto";
$this->lang['LENGTH'] = "Dolžina";
$this->lang['ACTORS'] = "Igrajo";
$this->lang['URL'] = "Povezava";
$this->lang['DESCRIPTION'] = "Opis";
$this->lang['COMMENTS'] = "Komentarji";
$this->lang['VIDEOFORMAT'] = "Video Format";
$this->lang['VIDEOBITRATE'] = "Video Bitrate";
$this->lang['AUDIOFORMAT'] = "Audio Format";
$this->lang['AUDIOBITRATE'] = "Audio Bitrate";
$this->lang['RESOLUTION'] = "Resolucija";
$this->lang['FRAMERATE'] = "Framerate";
$this->lang['LANGUAGES'] = "Jeziki";
$this->lang['SUBTITLES'] = "Podnapisi";
$this->lang['FILESIZE'] = "Velikost";
$this->lang['DISKS'] = "Diski";
$this->lang['PICTURENAME'] = "Slika";
$this->lang['PERIOD'] = "Obdobje";
# PLURALS - A few dbfields need plurar definitions (Example: Other Contries)
$this->lang['_OTHER'] = "Ostalo";
$this->lang['MEDIATYPES'] = "Media Types";
$this->lang['SOURCES'] = "Viri";
$this->lang['BORROWERS'] = "Izsposoja";
$this->lang['COUNTRYS'] = "Države";
$this->lang['CATEGORYS'] = "Kategorije";
$this->lang['YEARS'] = "Leta";
$this->lang['VIDEOFORMATS'] = "Video Format";
$this->lang['AUDIOFORMATS'] = "Audio Format";
# PANELS - These words are used for the panels
$this->lang['JUMPTO'] = "Skoci na";
$this->lang['SEARCH'] = "Išči";
$this->lang['CLEARSEARCH'] = "Počisti iskanje";
$this->lang['SUBMIT'] = "Potrdi";
$this->lang['CLEAR'] = "Počisti";
$this->lang['VIEW'] = "Pogled";
$this->lang['_ALL'] = "Vse";
$this->lang['_BLANK'] = "Neznano";
$this->lang['_OTHER'] = "Ostalo";
# PAGES - Useful words for the page displays
$this->lang['PAGE'] = "Stran";
$this->lang['NUMPERPAGE'] = "Prikazov";
$this->lang['PREVIOUS'] = "Prejšnja";
$this->lang['NEXT'] = "Naslednja";
$this->lang['GOTOPAGE'] = "Pojdi na stran";
$this->lang['SHOWING'] = "Prikaz";
$this->lang['OF'] = "od";
# SORT OPTIONS - (already defined RATING, YEAR, LENGTH)
$this->lang['SORT'] = "Sortiraj po";
$this->lang['TITLE'] = "Naslovu";
$this->lang['MOST_RECENT'] = "Največ ogledov";
# RANDOM MOVIES
$this->lang['RANDOMMOVIES'] = "Naključni filmi";
Hey guys
Was testing a new setup and ran into small annoyance:
I bought a Wii for my kid and installed the Internet Channel on there.
So now i can browse my online movielist without leaving my couch.
Problem is that the wii dont have a ENTER button
So when i want to search for something on the page i cant innitiate the search only clear it with the X button.
So starting on line 16 of detail_view.tpl I find the code:
well been trying to get a submit button to work on 10 different ways from input type based to partially replacing the CLEAR button, but sofar none have proven to work and im getting frustrated so I once again turn here for some help.
Anyone know how this can be done?
I bought a Wii for my kid and installed the Internet Channel on there.
So now i can browse my online movielist without leaving my couch.
Problem is that the wii dont have a ENTER button
So when i want to search for something on the page i cant innitiate the search only clear it with the X button.
So starting on line 16 of detail_view.tpl I find the code:
Code: Select all
# --- SEARCH and TITLE ----------------
<div class='mainheader'>
<div class='searchbox'>
<form name="mdb_search" action="$SEARCH_HREF">
<input class='searchbox' type='text' name='search' value='$SEARCH_TEXT'/>
$HIDDEN_SEARCHINPUTS
<a href='$CLEARSEARCH_HREF'><img src="$TEMPLATEDIR/images/search-right.gif" border="0" alt='$LANG[CLEARSEARCH]' title='$LANG[CLEARSEARCH]' /></a>
</form>
</div>
Anyone know how this can be done?
You can add the keypress event to the input statement as follows
Code: Select all
<input class='searchbox' type='text' name='search' value='$SEARCH_TEXT' onkeypress="if(event.keyCode==13)'$CLEARSEARCH_HREF'"/>
i have one problem.
i have tree movie beethoven's 3th, beethoven's 4th and beethoven's 5th.
It's show first 4 than 5 and than 3.
I wanted that it's show first 3 than 4 and than 5.
When i get the mouse point on the picture than i see the text beethoven by beethoven's 4th and beethoven's 5th. By beethoven's 3th i see the text beethoven's 3th when i have the mouse on the picture.
How can i change this.
Sorry for my bad englisch...
You can see it here.
i have tree movie beethoven's 3th, beethoven's 4th and beethoven's 5th.
It's show first 4 than 5 and than 3.
I wanted that it's show first 3 than 4 and than 5.
When i get the mouse point on the picture than i see the text beethoven by beethoven's 4th and beethoven's 5th. By beethoven's 3th i see the text beethoven's 3th when i have the mouse on the picture.
How can i change this.
Sorry for my bad englisch...
You can see it here.
Hello
I've got a problem ^^
No Pictures in my website
Salut
J'ai un problème
Pas d'image sur le site
http://kapz.ifrance.com/
I've got a problem ^^
No Pictures in my website
Salut
J'ai un problème
Pas d'image sur le site
http://kapz.ifrance.com/
quelques changements pour mon site :
- nouvel hébergeur (jexiste is dead)
- nouvelle vue : grande covers (affiches)
- Intégration d'un flux RSS.
http://mrlafia.com/mrlafiaweb/index.php
MrLafia
- nouvel hébergeur (jexiste is dead)
- nouvelle vue : grande covers (affiches)
- Intégration d'un flux RSS.
http://mrlafia.com/mrlafiaweb/index.php
MrLafia
moviedb_3.0.3-fl0yd-20080106
Uso la versione moviedb_3.0.3-fl0yd-20080106 e mi trovo due problemi:
il primo è che la data appare sbagliata e uguale per tutti;
il secondo è che non riesco a metterli in ordine di TITOLO TRADOTTO.
Qualcuno mi può aiutare.
Scusate l'inglese ho tradotto con Google!!!
Use the version moviedb_3.0.3-fl0yd-20080106 and I find two problems:
The first is that the date is wrong and the same for all;
The second is that I can not put them in order TRANSLATED TITLE.
Someone can help me.
Excuse the English, I translated with Google!
il primo è che la data appare sbagliata e uguale per tutti;
il secondo è che non riesco a metterli in ordine di TITOLO TRADOTTO.
Qualcuno mi può aiutare.
Scusate l'inglese ho tradotto con Google!!!
Use the version moviedb_3.0.3-fl0yd-20080106 and I find two problems:
The first is that the date is wrong and the same for all;
The second is that I can not put them in order TRANSLATED TITLE.
Someone can help me.
Excuse the English, I translated with Google!