Fork me on GitHub


 Bas   Précédent   Suivant

« 1 2 3 (4) 5 6 7 ... 17 »


Re: Communauté: correction et traduction module
Régulier
Inscrit: 24/01/2008 09:20
De Moselle
Messages: 169
J'ai modifié en :

// ImageMagick configuration
$PHPTHUMB_CONFIG['prefer_imagemagick']        = false;  // If true, use ImageMagick to resize thumbnails if possible, since it is usually faster than GD functions; if false only use ImageMagick if PHP memory limit is too low.
$PHPTHUMB_CONFIG['imagemagick_use_thumbnail'] = true;  // If true, use ImageMagick's "-thumbnail" resizing parameter (if available) which removes extra non-image metadata (profiles, EXIF info, etc) resulting in much smaller filesize; if false, use "-resize" paramter which retains this info
if (strtoupper(substr(PHP_OS03)) == 'WIN') {
    
// Windows: set absolute pathname
    
$PHPTHUMB_CONFIG['imagemagick_path'] = 'http://www.s149789846.onlinehome.fr/im/bin/convert.exe';
} else {
    
// *nix: set absolute pathname to "convert", or leave as null if "convert" is in the path (location detected with `which`)
    //$PHPTHUMB_CONFIG['imagemagick_path'] = 'http://www.s149789846.onlinehome.fr/im/bin/convert';
    
$PHPTHUMB_CONFIG['imagemagick_path'] = null;
}


Mais cela n'a pas l'air d'aider, j'ai toujours un message d'erreur, pas de vignette (thumb) mais la photo est belle et bien dans le répertoire du module/animal/images.

Posté le : 23/07/2010 12:38
Transférer la contribution vers d'autres applications Transférer


Re: Communauté: correction et traduction module
Régulier
Inscrit: 24/01/2008 09:20
De Moselle
Messages: 169
JE relance.

Personne n'aurait une piste sur le fichier où je pourrais lui dire où trouver mon install de ImageMagick?

Posté le : 23/07/2010 10:57
Transférer la contribution vers d'autres applications Transférer


Re: Communauté: correction et traduction module
Régulier
Inscrit: 24/01/2008 09:20
De Moselle
Messages: 169
Le souci de l'upload des photos n'est pas résolu avec l'install d'imagemagick mais cela ne me surprend pas du tout.
Je suppose que je vais devoir indiquer quelque part dans le module où est installé ImageMagick.

Une autre paire de manches mais je m'y attaque, cela dit si quelqu'un a une idée je suis preneuse lol.
Dans le mainfile.php?
dans les php du modules?

Posté le : 20/07/2010 09:14
Transférer la contribution vers d'autres applications Transférer


Re: Communauté: correction et traduction module
Régulier
Inscrit: 24/01/2008 09:20
De Moselle
Messages: 169
bon de retour de vacances, imagemagick installé chez moi, je vais pouvoir continuer de chercher pour les photos

Posté le : 16/07/2010 13:38
Transférer la contribution vers d'autres applications Transférer


Re: Communauté: correction et traduction module
Régulier
Inscrit: 24/01/2008 09:20
De Moselle
Messages: 169
Hi,

Virtual mating is working fine for me. I can chose a male and a female without problems and the calculation is working fine.

For breeders/owners right now is everything empty. I'm not sure right now I'll use these fields

For the admin side of the module, I'm not sure I understood everything as my files are not as you told:

animal/admin/index.php:

<?php
// ------------------------------------------------------------------------- 
//    pedigree
//        Copyright 2004, James Cotton
//         http://www.dobermannvereniging.nl
//    Template
//        Copyright 2004 Thomas Hill
//        <a href="http://www.worldware.com">worldware.com</a>
// ------------------------------------------------------------------------- 
//  This program is free software; you can redistribute it and/or modify     //
//  it under the terms of the GNU General Public License as published by     //
//  the Free Software Foundation; either version 2 of the License, or        //
//  (at your option) any later version.                                      //
//                                                                           //
//  You may not change or alter any portion of this comment or credits       //
//  of supporting developers from this source code or any supporting         //
//  source code which is considered copyrighted (c) material of the          //
//  original comment or credit authors.                                      //
//                                                                           //
//  This program is distributed in the hope that it will be useful,          //
//  but WITHOUT ANY WARRANTY; without even the implied warranty of           //
//  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the            //
//  GNU General Public License for more details.                             //
//                                                                           //
//  You should have received a copy of the GNU General Public License        //
//  along with this program; if not, write to the Free Software              //
//  Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307 USA //
//  ------------------------------------------------------------------------ //

require_once '../../../include/cp_header.php';
if ( 
file_exists("../language/".$xoopsConfig['language']."/modinfo.php") ) {
    include_once 
"../language/".$xoopsConfig['language']."/modinfo.php";
} else {
    include_once 
"../language/english/modinfo.php";
}
require_once(
XOOPS_ROOT_PATH ."/modules/animal/admin/menu.php");

?>


no //at the end of the file and for menu.php:
<?php
// ------------------------------------------------------------------------- 
//    pedigree
//        Copyright 2004, James Cotton
//         http://www.dobermannvereniging.nl
//    Template
//        Copyright 2004 Thomas Hill
//        <a href="http://www.worldware.com">worldware.com</a>
// ------------------------------------------------------------------------- 
// ------------------------------------------------------------------------- //
//  This program is free software; you can redistribute it and/or modify     //
//  it under the terms of the GNU General Public License as published by     //
//  the Free Software Foundation; either version 2 of the License, or        //
//  (at your option) any later version.                                      //
//                                                                           //
//  You may not change or alter any portion of this comment or credits       //
//  of supporting developers from this source code or any supporting         //
//  source code which is considered copyrighted (c) material of the          //
//  original comment or credit authors.                                      //
//                                                                           //
//  This program is distributed in the hope that it will be useful,          //
//  but WITHOUT ANY WARRANTY; without even the implied warranty of           //
//  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the            //
//  GNU General Public License for more details.                             //
//                                                                           //
//  You should have received a copy of the GNU General Public License        //
//  along with this program; if not, write to the Free Software              //
//  Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307 USA //
// ------------------------------------------------------------------------- //

//xoops_cp_header();
//echo "<h4>Pedigree Administration</h4><table width='100%' border='0' cellspacing='1' class='outer'>";
//echo "<tr><td class='odd'> - <b><a href='database_table.php?op=sql'>SQL actions</a></b>";
//echo "<br /><br />";
//echo " - <b><a href='database_table.php?op=main'>Edit entry</a></b>";
//echo "<br /><br />";
//echo " - <b><a href='database_table.php?op=add'>Add entry</a></b>";
//echo "<br /><br />";
//echo "- <b><a href='".XOOPS_URL."/modules/system/admin.php?fct=preferences&op=showmod&mod=".$xoopsModule->getVar('mid') ."'>Preferences</a></b></td></tr></table>";

// $adminmenu[0]['link'] = "admin/database_table.php?op=sql";
// $adminmenu[0]['title'] = "SQL Actions";
// $adminmenu[1]['link'] = "admin/colors.php";
// $adminmenu[1]['title'] = "Create colours";



?>


there is everything "commented"!?

Posté le : 01/07/2010 11:21
Transférer la contribution vers d'autres applications Transférer


Re: Multimenu 2.08
Régulier
Inscrit: 24/01/2008 09:20
De Moselle
Messages: 169
Il faut activer les blocs du module

Ensuite dans le module on crée son menu et les liens que l'on veut.
Puis dans le bloc on appelle le menu que l'on a créé. Si le bloc est visible les liens apparaissent

Posté le : 30/06/2010 11:47
Transférer la contribution vers d'autres applications Transférer


Re: Communauté: correction et traduction module
Régulier
Inscrit: 24/01/2008 09:20
De Moselle
Messages: 169
Je récupère tes fichiers et les installe ce matin.
Par contre je n'ai toujours pas eu le temps de tenter l'install d'imagemagick via SSH chez moi (les soirées passent plus vite que les journées au boulot hélas)


J'ai à présent 133 individus dans ma base de données. Lorsque je vais dans la vue "latest additions". Il me mentionne pas que j'ai désormais 2 pages d'individus, par contre je n'ai pas trouvé comment naviguer entre la page 1 et 2

Posté le : 30/06/2010 09:09
Transférer la contribution vers d'autres applications Transférer


Re: Communauté: correction et traduction module
Régulier
Inscrit: 24/01/2008 09:20
De Moselle
Messages: 169
Et bien si je m'en sors avec les histoires de photos je te dirai ce que j'ai fait.

Malheureusement je n'ai pas d'accès SSH depuis mon bureau. Il faudra donc que je me prenne un soir pour le faire depuis la maison

Posté le : 29/06/2010 08:33
Transférer la contribution vers d'autres applications Transférer


Re: Communauté: correction et traduction module
Régulier
Inscrit: 24/01/2008 09:20
De Moselle
Messages: 169
C'est bien ce que je pensais.
Pourtant pour le module xcgal il passe bien bien GD2 et j'ai imagemagick dans le menu déroulant au choix.

Bref je vais me renseigner pour imagemagick chez 1&1 via http://faq.1and1.com/scripting_langua ... d/ssh_secure_shell/9.html

Mais je ne sais pas si cela sera aussi facile ensuite

Posté le : 28/06/2010 13:45
Transférer la contribution vers d'autres applications Transférer


Re: Communauté: correction et traduction module
Régulier
Inscrit: 24/01/2008 09:20
De Moselle
Messages: 169
Bon de ce que je lis un peu partout, le souci de thumbnail viendrait de imagemagick.
Or je suis bien incapable de dire si Imagemagick est installé sous xoops et encore moins où il faudrait aller chercher dans le htdocs.

Pour le moment je sèche à ce sujet

Y aurait-il possibilité de passer par GD (comme pour d'autres modules) plutôt que de rajouter imagemagick à tout ça?

Posté le : 28/06/2010 11:30
Transférer la contribution vers d'autres applications Transférer



 Haut
« 1 2 3 (4) 5 6 7 ... 17 »




Propulsé avec XOOPS | Graphisme adapté par Tatane, Grosdunord, Montuy337513

84 Personne(s) en ligne (58 Personne(s) connectée(s) sur Forum) | Utilisateur(s): 0 | Invité(s): 84 | Plus ...