[ antp.be > Forum ]

[ FAQFAQ - SearchSearch - MemberlistMemberlist - UsergroupsUsergroups - ]

[ RegisterRegister - ProfileProfile - Log in to check your private messagesLog in to check your private messages - Log inLog in ]


PKs Movie Database 3.0.3 modification by sweborn
Goto page Previous  1, 2, 3, 4  Next
 
Post new topic   Reply to topic    www.antp.be Forum Index -> Ant Movie Catalog > Templates
Author Message
droopy57
PostPosted: 2013-11-09 05:04:48    Post subject: Reply with quote
View user's profile Send private message Oups !

Merci pour l'info, erreur corrigée et fichier mis à jour
sandmanweb
PostPosted: 2013-11-09 21:36:49    Post subject: Reply with quote
View user's profile Send private message Parfait.

Une petite question maintenant.

Y aurait-il une façon de changer le mode de recherche par défaut. Présentement, il est à Tout. Mais je voudrais le changer pour Titre original. Ou bien si on peut tout simplement supprimé l'option Tout.

Merci.
droopy57
PostPosted: 2013-11-10 09:48:23    Post subject: Reply with quote
View user's profile Send private message Pas de souci !!

Supprime la ligne 765 du fichier mdb3.php :

Code:
$html .= '<option value=""> '.$this->lang['_ALL'].' </option>';


Ou alors déplace la après la ligne 773
sandmanweb
PostPosted: 2013-11-10 17:18:51    Post subject: Reply with quote
View user's profile Send private message merci encore smile
sandmanweb
PostPosted: 2013-11-10 18:07:46    Post subject: Reply with quote
View user's profile Send private message Une autre requête. Je sais que je t'en demande plus ce coup ci...

J'ai attribué une valeur de format d'écran à la case Fréquence dans AMC.

J'aimerais affiché un petit logo à gauche du format vidéo dans la page Details et Detail_view.


Est-ce que ça serait compliqué à réaliser ?
droopy57
PostPosted: 2013-11-11 00:00:21    Post subject: Reply with quote
View user's profile Send private message
sandmanweb wrote:
Une autre requête. Je sais que je t'en demande plus ce coup ci...

J'ai attribué une valeur de format d'écran à la case Fréquence dans AMC.

J'aimerais affiché un petit logo à gauche du format vidéo dans la page Details et Detail_view.


Est-ce que ça serait compliqué à réaliser ?


Non ça n'est pas compliqué !
donne moi les différentes valeurs et les logos
et je te prépare ça
sandmanweb
PostPosted: 2013-11-11 03:31:07    Post subject: Reply with quote
View user's profile Send private message Wow merci. Vraiment gentil de ta part !



Dans AMC:

Fréquence:
Panoramique (16:9) ou Plein écran (4:3)

images: 16-9.png ou 4-3.png
(dans le dossier images/videoformat)


http://imageshack.us/a/img196/6005/6drk.png


http://imageshack.us/a/img585/607/evwi.png
droopy57
PostPosted: 2013-11-11 10:25:40    Post subject: Reply with quote
View user's profile Send private message Voila je t'ai préparé les fichiers,
je t'envoie ça par mp
sandmanweb
PostPosted: 2013-11-11 11:40:33    Post subject: Reply with quote
View user's profile Send private message ok merci.

J'attends ton message privé.
the_observer
PostPosted: 2013-12-09 00:01:46    Post subject: Reply with quote
View user's profile Send private message Hi ,

i use this template which is great.

Lately my hoster upgraded and i get the below error at the start of the page:
Code:
Deprecated: Function split() is deprecated in /home/topgreek/public_html/moviedb/template.inc on line 115


Also i would like to have the + signs at the left column. How can i accomplish this?

Maybe the above errors are because i do not have the latest version of your template.
How will i upgrade?

Thank you for your time reading this.

Regards,
the_observer.
droopy57
PostPosted: 2013-12-09 10:44:51    Post subject: Reply with quote
View user's profile Send private message
the_observer wrote:
Hi ,

i use this template which is great.

Lately my hoster upgraded and i get the below error at the start of the page:
Code:
Deprecated: Function split() is deprecated in /home/topgreek/public_html/moviedb/template.inc on line 115


Also i would like to have the + signs at the left column. How can i accomplish this?

Maybe the above errors are because i do not have the latest version of your template.
How will i upgrade?

Thank you for your time reading this.

Regards,
the_observer.


Hi

For error, replace :
Code:
$lines = split("\n", $input);

with
Code:
$lines = explode("\n", $input);


To have the + signs at the left column you can download my template :
http://bcvideos.tk/PKsMovieBC/
The + sign works with css and ajax(ddaccordion.js)
the_observer
PostPosted: 2014-01-12 02:37:30    Post subject: Reply with quote
View user's profile Send private message Thank you droopy.

Your correction for the error worked like a charm.

As for the + signs i downloaded your template but the link you gave is in french so i cannot understand what i should do (although i used google translate) sad

Is there any other way to implement the + signs?
Or is there another link in English?

Finally i would like to show the title where the translated is and vice versa.
The only thing i managed to do with my limited knowledge was to reverse their names with phpmyadmin ,but i have to do this every time i export.
Is there any other better way by changing something in the template?

Thank you very much for your time reading this.

Regards,
the_observer.
droopy57
PostPosted: 2014-01-12 23:51:43    Post subject: Reply with quote
View user's profile Send private message Hi the_observer

If you have downloaded and installed my template, the + signs should switch automatically.

For the title, we must modify the function function _viewtitles() in file: mdb_movie.inc
line 200.

sorry for my English, but I'm French and I use google translation too
the_observer
PostPosted: 2014-01-16 15:11:03    Post subject: Reply with quote
View user's profile Send private message Hi droopy,

first of all i think we should make a new thread for your template.

Anyway, i downloaded your template and tried to use it in a local installation in my pc.

i extracted the files and set the appropriate values in the mdb_config.inc.php file so it could connect with the database as follow:
Code:
$this->config['mysql']['server']    = "localhost";
$this->config['mysql']['username']  = "root";
$this->config['mysql']['password']  = "*******";
$this->config['mysql']['database']  = "antmovies";
$this->config['mysql']['table']     = "movies";


then i exported the ant movie catalog as .sql and imported it in the above database using phpmyadmin.

Then i set the browser to show the index.php file

Then i see only the background and nothing else...

The error log reports:
Code:
[Thu Jan 16 16:23:13.405213 2014] [core:error] [pid 5188:tid 1716] (20024)The given path is misformatted or contained invalid characters: [client 127.0.0.1:55470] AH00127: Cannot map GET /moviedb/%3C?%20print%20$moviedb-%3Eget_stylesheet()%20?%3E HTTP/1.1 to file, referer: http://localhost/moviedb/


Any ideas what maybe i am doing wrong?

Thank you for your time reading this.

Regards,
the_observer.
the_observer
PostPosted: 2014-01-17 09:35:43    Post subject: Reply with quote
View user's profile Send private message Well ,it seems that my local xampp installation something is not set correctly and that is why the modification of droopy57 is not working as i described in my previous post.

So i decided to try to use it in my web hoster.
Over there it is working ok except i get these messages :

Code:
Deprecated: Function split() is deprecated in /home/topgreek/public_html/moviedb/template.inc on line 115

Deprecated: Function split() is deprecated in /home/topgreek/public_html/moviedb/template.inc on line 115


UPDATE:The above error has to do with php version.So in newer versions we have the above error.
FIX:Open file "template.inc" and go to line 115 as the message above says.There find and replace the function "split" with "explode"


Also i have these two problems:
1.
Code:
$LANG[LASTUPDATE]17/01/2014

The word "$LANG" should not be displayed i think.
UPDATE 2 : I think this word $LANG which is displayed is the variable name.It displayes because there is not rellevant word set for this variable in the english language file.
So in order to resolve it edit the file: ..\languages\english.inc
after line 15,add this line:
Code:
$this->lang['LASTUPDATE']       = "Last Update : ";


2.
When i set in the file "config.inc.php" the language to English in line 39 then the "View:" (Affichage:) drop down list is not showing correctly.
If i revert it back to French it is working alright.
Unfortunately i have not figure out how to correct this.
UPDATE 3 : As in question above the same problem exists here.There are certain words in french language file which do not exist in english language file.So in order to fix this edit the file: ..\languages\english.inc
after line 87,add these lines:
Code:
$this->lang['DETAILS']          = "Details";
$this->lang['LIST']             = "List";
$this->lang['COVERS']           = "Covers";
$this->lang['BIGCOVERS']        = "Covers XL";
$this->lang['MINICOVERS']       = "Mini Covers";


The question i have now is should i completed translate the french language file to the english language files?
Because there are more untranslated fields which i do not exactly know where they are used to...

Thank you much for your time reading this.

Regards,
the_observer.
droopy57
PostPosted: 2014-01-17 14:56:12    Post subject: Reply with quote
View user's profile Send private message Hi the_observer

Here are the file "enlish.inc" fully translated
the_observer
PostPosted: 2014-01-18 00:49:08    Post subject: Reply with quote
View user's profile Send private message Thank you droopy57 for your replies and for this excellent modification.

I downloaded your translated english.inc file and there were a couple minor errors which i corrected and in case someone is reading can download from here:
http://www.top-greek-hotels.gr/!Various/english.inc
(sorry for not making the above active link but this board does not support exclamation mark)

Now if you allow me i would like to ask:

What is the file "..\templates\default\languages\english.inc" used for and should i translate this too?

What remains for me to do is to find another provider for the trailers because allocine.fr trailers, well ...they are in French as expected and unfortunately i do not know French sad
(Maybe i will try to import from cine.gr which has greek subtitles)
UPDATE: There is already a script for importing trailers from youtube which works great and it is here

Thank you for your time reading this.

Regards,
the_observer.


Last edited by the_observer on 2014-01-19 00:31:27; edited 1 time in total
droopy57
PostPosted: 2014-01-18 01:45:49    Post subject: Reply with quote
View user's profile Send private message the_observer thank you for the file 'english.inc'


the file "..\templates\default\languages\english.inc" is not used
the_observer
PostPosted: 2014-01-19 17:17:35    Post subject: Reply with quote
View user's profile Send private message
droopy57 wrote:
Hi the_observer
For the title, we must modify the function function _viewtitles() in file: mdb_movie.inc
line 200.


I try to figure out and change the lines of code you mention above in order to use Title instead of translated title but i am afraid i am too newbie sad

Could you help me out?

The problem is that in my AMC 'Title' fields are ok but 'Translated title' fields are not.Many of them are empty (the IMDB script does not find them to import them in AMC).

Thank you for your time reading this.

Regards,
the_observer.
droopy57
PostPosted: 2014-01-20 14:56:43    Post subject: Reply with quote
View user's profile Send private message Hi the_observer

Try this :
Code:

   function _viewtitles() {
   $html = "";
   $originaltitlte = trim($this->data[ORIGINALTITLE]);
   $translatedtitlte = trim($this->data[TRANSLATEDTITLE]);
   if ($translatedtitlte != $originaltitlte)
   {
   $html .= "<div class='translated'>".$originaltitlte."</div><div class='title'>".$translatedtitlte."</div>";
   }
   else
   {
   $html .= "<div class='translated'>".$originaltitlte."</div>";
   }
   return $html;
   }
Display posts from previous:   
View previous topic :: View next topic  
Post new topic   Reply to topic    www.antp.be Forum Index -> Ant Movie Catalog > Templates All times are GMT + 1 Hour
Goto page Previous  1, 2, 3, 4  Next
Page 2 of 4

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2006 phpBB Group
Template made by antp