Fork me on GitHub


 Bas   Précédent   Suivant

(1) 2 3 4 »


Re: impossible d'installer smartpartner
Aspirant
Inscrit: 28/07/2005 23:24
Messages: 39
Parfait ça a marché en passant par phpmyadmin !!!!! merci !!!!!

Posté le : 19/10/2007 15:23
Transférer la contribution vers d'autres applications Transférer


Re: impossible d'installer smartpartner
Aspirant
Inscrit: 28/07/2005 23:24
Messages: 39
up

Posté le : 18/10/2007 21:07
Transférer la contribution vers d'autres applications Transférer


Re: impossible d'installer smartpartner
Aspirant
Inscrit: 28/07/2005 23:24
Messages: 39
Ah ben merci, en effet je ne savais pas !!
Donc j'ai installé smartobject et là !! Tadaaaa j'essaye de réinstaller smartpartner....Et voilà le message d'erreur : Table 'xoops_smartpartner_partner' already exists

Je pense que la désinstallation n'a pas été complète... Comment supprimer la "table" ? Dans quel fichier ?

Posté le : 14/10/2007 11:33
Transférer la contribution vers d'autres applications Transférer


impossible d'installer smartpartner [résolu]
Aspirant
Inscrit: 28/07/2005 23:24
Messages: 39
Bonjour, après transfert du module sur mon domaine, j'installe smartpartner... Déjà là : problème... Au lieu de voir les lignes de commande d'install et le lien de retour à la gestion des modules une fois l'install terminée, j'ai une page blanche...... !!!!
Ô surprise, smartpartner semble être malgré tout installé puisqu'apparaissant dans mes modules installés.... Je clique sur l'icône du module et voici le message qui apparait :
Fatal error: Class smartpartnerpartner: Cannot inherit from undefined class smartobject in /home/sobhb/www/modules/smartpartner/class/partner.php on line 30

Qu'en est il exactement ??

Merci d'avance !!

Posté le : 13/10/2007 11:50
Transférer la contribution vers d'autres applications Transférer


Re: bop comments : changer le nom d'un module
Aspirant
Inscrit: 28/07/2005 23:24
Messages: 39
up

Posté le : 03/09/2007 23:24
Transférer la contribution vers d'autres applications Transférer


Re: bop comments : changer le nom d'un module
Aspirant
Inscrit: 28/07/2005 23:24
Messages: 39
oui oui, c'est ce que j'indiquais dans mon premier message. J'ai bien renommé le module !! Je pense qu'il faudrait éditer un fichier mais lequel et pour changer quoi ??

Posté le : 02/09/2007 22:32
Transférer la contribution vers d'autres applications Transférer


bop comments : changer le nom d'un module
Aspirant
Inscrit: 28/07/2005 23:24
Messages: 39
Bonjour,
j'utilise bop comments afin de lister les derniers changements sur mon site.
Il liste entre autres les changements et ajouts effectués sur le module PiCal. Seul problème, dans la colonne du tableau qui résume les derniers changements, bop comments affiche PiCal alors que je voudrais qu'il affiche le mot "calendrier".
voir sur mon site : http://www.sobhb.com

Par ailleurs, le module PiCal a été renommé dnas l'admin puisque dans mon sommaire il apparait bien en tant que "calendrier" et non pas "PiCal"
Merci

Posté le : 02/09/2007 14:53
Transférer la contribution vers d'autres applications Transférer


rendu propre... définir taille des blocks ??
Aspirant
Inscrit: 28/07/2005 23:24
Messages: 39
Bonjour,
Voici l'adresse de mon site : http://www.sobhb.com

Comme vous pouvez le voir, le bas de la page est en dents de scie....En gros, aucun des modules n'est aligné !! Du coup ça n'est pas très propre !!! Qui pourrait m'expliquer comment rendre joli mon pied de page ?? Merci !

Posté le : 29/08/2007 02:23
Transférer la contribution vers d'autres applications Transférer


Re: Impossible d'uploader des images perso de classement d'utilisateur !
Aspirant
Inscrit: 28/07/2005 23:24
Messages: 39
Bien, j'ai avancé dans mon problème puisque je me suis rendu compte que je pouvais uploader !!! si si !! Mais seulement des images de petite taille !!!! C'est donc bien un problème de dimmension d'avatar !! Mais j'ai déjà effectué tous les changements que vous m'avez proposé !! Où donc se cache ce fameux fichier qui permet de modifier les dimensions d'avatar ????

Posté le : 29/08/2007 02:20
Transférer la contribution vers d'autres applications Transférer


Re: Impossible d'uploader des images perso de classement d'utilisateur !
Aspirant
Inscrit: 28/07/2005 23:24
Messages: 39
Bonjour,

toujours pas de solution...

mon dossier "upload est bien "777"

Voici le contenu de mon fichier userrank\main.php (j'ai modifié les dimmensions de 120x120 à 200x200)

<?php
// $Id: main.php 2 2005-11-02 18:23:29Z skalpa $
// ------------------------------------------------------------------------ //
// XOOPS - PHP Content Management System //
// Copyright (c) 2000 XOOPS.org //
// <http://www.xoops.org/> //
// ------------------------------------------------------------------------ //
// 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 //
// ------------------------------------------------------------------------ //
// Author: Kazumi Ono (AKA onokazu) //
// URL: http://www.myweb.ne.jp/, http://www.xoops.org/, http://jp.xoops.org/ //
// Project: The XOOPS Project //
// ------------------------------------------------------------------------- //
/**
* Manage user rank.
* @copyright XOOPS Project
* @todo Fix register_globals!
**/

if ( !is_object($xoopsUser) || !is_object($xoopsModule) || !$xoopsUser->isAdmin($xoopsModule->mid()) ) {
exit("Access Denied");
}

$op = 'RankForumAdmin';

if (isset($_GET['op'])) {
$op = $_GET['op'];
} elseif (isset($_POST['op'])) {
$op = $_POST['op'];
}

switch ($op) {

case "RankForumEdit":
$rank_id = isset($_GET['rank_id']) ? intval($_GET['rank_id']) : 0;
if ($rank_id > 0) {
include_once XOOPS_ROOT_PATH."/modules/system/admin/userrank/userrank.php";
RankForumEdit($rank_id);
}
break;

case "RankForumDel":
$rank_id = isset($_GET['rank_id']) ? intval($_GET['rank_id']) : 0;
if ($rank_id > 0) {
xoops_cp_header();
xoops_confirm(array('fct' => 'userrank', 'op' => 'RankForumDelGo', 'rank_id' => $rank_id), 'admin.php', _AM_WAYSYWTDTR);
xoops_cp_footer();
}
break;

case "RankForumDelGo":
$rank_id = isset($_POST['rank_id']) ? intval($_POST['rank_id']) : 0;
if ($rank_id <= 0 | !$GLOBALS['xoopsSecurity']->check()) {
redirect_header("admin.php?fct=userrank", 3, implode('<br />', $GLOBALS['xoopsSecurity']->getErrors()));
}
$db =& Database::getInstance();
$sql = sprintf("DELETE FROM %s WHERE rank_id = %u", $db->prefix("ranks"), $rank_id);
$db->query($sql);
redirect_header("admin.php?fct=userrank&op=ForumAdmin",1,_AM_DBUPDATED);
break;

case "RankForumAdd":
if (!$GLOBALS['xoopsSecurity']->check()) {
redirect_header("admin.php?fct=userrank", 3, implode('<br />', $GLOBALS['xoopsSecurity']->getErrors()));
}
$db =& Database::getInstance();
$myts =& MyTextSanitizer::getInstance();
$rank_special = isset($_POST['rank_special']) && intval($_POST['rank_special']) ? 1 : 0;
$rank_title = $myts->stripSlashesGPC($_POST['rank_title']);
$rank_image = '';
include_once XOOPS_ROOT_PATH.'/class/uploader.php';
$uploader = new XoopsMediaUploader(XOOPS_UPLOAD_PATH, array('image/gif', 'image/jpeg', 'image/pjpeg', 'image/x-png'), 100000, 200, 200);
$uploader->setPrefix('rank');
if ($uploader->fetchMedia($_POST['xoops_upload_file'][0])) {
if ($uploader->upload()) {
$rank_image = $uploader->getSavedFileName();
}
}
$newid = $db->genId($db->prefix("ranks")."_rank_id_seq");
if ($rank_special == 1) {
$sql = "INSERT INTO ".$db->prefix("ranks")." (rank_id, rank_title, rank_min, rank_max, rank_special, rank_image) VALUES ($newid, ".$db->quoteString($rank_title).", -1, -1, 1, ".$db->quoteString($rank_image).")";
} else {
$sql = "INSERT INTO ".$db->prefix("ranks")." (rank_id, rank_title, rank_min, rank_max, rank_special, rank_image) VALUES ($newid, ".$db->quoteString($rank_title).", ".intval($_POST['rank_min'])." , ".intval($_POST['rank_max'])." , 0, ".$db->quoteString($rank_image).")";
}
if (!$db->query($sql)) {
xoops_cp_header();
xoops_error('Failed storing rank data into the database');
xoops_cp_footer();
} else {
redirect_header("admin.php?fct=userrank&op=RankForumAdmin",1,_AM_DBUPDATED);
}
break;

case "RankForumSave":
$rank_id = isset($_POST['rank_id']) ? intval($_POST['rank_id']) : 0;
if ($rank_id <= 0 | !$GLOBALS['xoopsSecurity']->check()) {
redirect_header("admin.php?fct=userrank", 3, implode('<br />', $GLOBALS['xoopsSecurity']->getErrors()));
}
$db =& Database::getInstance();
$myts =& MyTextSanitizer::getInstance();
$rank_special = isset($_POST['rank_special']) && intval($_POST['rank_special']) ? 1 : 0;
$rank_title = $myts->stripSlashesGPC($_POST['rank_title']);
$delete_old_image = false;
include_once XOOPS_ROOT_PATH.'/class/uploader.php';
$uploader = new XoopsMediaUploader(XOOPS_UPLOAD_PATH, array('image/gif', 'image/jpeg', 'image/pjpeg', 'image/x-png'), 100000, 120, 120);
$uploader->setPrefix('rank');
if ($uploader->fetchMedia($_POST['xoops_upload_file'][0])) {
if ($uploader->upload()) {
$rank_image = $uploader->getSavedFileName();
$delete_old_image = true;
}
}
if ($rank_special > 0) {
$_POST['rank_min'] = $_POST['rank_max'] = -1;
}
$sql = "UPDATE ".$db->prefix("ranks")." SET rank_title = ".$db->quoteString($rank_title).", rank_min = ".intval($_POST['rank_min']).", rank_max = ".intval($_POST['rank_max']).", rank_special = ".$rank_special;
if ($delete_old_image) {
$sql .= ", rank_image = ".$db->quoteString($rank_image);
}
$sql .= " WHERE rank_id = ".$rank_id;
if (!$db->query($sql)) {
xoops_cp_header();
xoops_error('Failed storing rank data into the database');
xoops_cp_footer();
} else {
if ($delete_old_image) {
$old_rank_path = str_replace("\\", "/", realpath(XOOPS_UPLOAD_PATH.'/'.trim($_POST['old_rank'])));
if (0 === strpos($old_rank_path, XOOPS_UPLOAD_PATH) && is_file($old_rank_path)) {
unlink($old_rank_path);
}
}
redirect_header("admin.php?fct=userrank&op=RankForumAdmin",1,_AM_DBUPDATED);
}
break;

default:
include_once XOOPS_ROOT_PATH."/modules/system/admin/userrank/userrank.php";
RankForumAdmin();
break;
}
?>

Posté le : 27/08/2007 09:39
Transférer la contribution vers d'autres applications Transférer



 Haut
(1) 2 3 4 »




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

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