Fork me on GitHub


 Bas   Précédent   Suivant

« 1 (2) 3 4 5 ... 8 »


Tinyeditor et Xmail
Aspirant
Inscrit: 19/12/2005 11:09
Messages: 81
Bonjour à tous,

Je planche actuellement sur un problème :
depuis l'installation de tinyeditor, xmail ne fonctionne plus : les messages sont transformés en code...

Quelqu'un peut il m'aider ? Si vous avez des pistes...

Faudrait que le message soit envoyé en format html et pas en texte...

Merci & bonne journée

Posté le : 01/11/2006 11:52
_________________
:xfsuper:
Transférer la contribution vers d'autres applications Transférer


Re: probleme d'un utilisateur de mon xoops
Aspirant
Inscrit: 19/12/2005 11:09
Messages: 81
Une paire de lunette ?

Allez un peu d'humour dans ce monde de brutes! !!!

Posté le : 27/10/2006 15:43
_________________
:xfsuper:
Transférer la contribution vers d'autres applications Transférer


Re: news & tiny : problème page blanche résolu
Aspirant
Inscrit: 19/12/2005 11:09
Messages: 81
<?php
// $Id: index.php,v 1.15 2004/12/26 19:12:00 onokazu Exp $
// ------------------------------------------------------------------------ //
// 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 //
// ------------------------------------------------------------------------ //
include '../../mainfile.php';
$xoopsOption['template_main'] = 'news_index.html';
include XOOPS_ROOT_PATH.'/header.php';
include_once XOOPS_ROOT_PATH.'/modules/news/class/class.newsstory.php';

if (isset($HTTP_GET_VARS['storytopic'])) {
$xoopsOption['storytopic'] = intval($HTTP_GET_VARS['storytopic']);
} else {
$xoopsOption['storytopic'] = 0;
}
if ( isset($HTTP_GET_VARS['storynum']) ) {
$xoopsOption['storynum'] = intval($HTTP_GET_VARS['storynum']);
if ($xoopsOption['storynum'] > 30) {
$xoopsOption['storynum'] = $xoopsModuleConfig['storyhome'];
}
} else {
$xoopsOption['storynum'] = $xoopsModuleConfig['storyhome'];
}

if ( isset($HTTP_GET_VARS['start']) ) {
$start = intval($HTTP_GET_VARS['start']);
} else {
$start = 0;
}
if ( $xoopsModuleConfig['displaynav'] == 1 ) {
$xoopsTpl->assign('displaynav', true);
$xt = new XoopsTopic($xoopsDB->prefix('topics'));
ob_start();
$xt->makeTopicSelBox(1, $xoopsOption['storytopic'], 'storytopic');
$topic_select = ob_get_contents();
ob_end_clean();
$xoopsTpl->assign('topic_select', $topic_select);
$storynum_options = '';
for ( $i = 5; $i <= 30; $i = $i + 5 ) {
$sel = '';
if ($i == $xoopsOption['storynum']) {
$sel = ' selected="selected"';
}
$storynum_options .= '<option value="'.$i.'"'.$sel.'>'.$i.'</option>';
}
$xoopsTpl->assign('storynum_options', $storynum_options);
} else {
$xoopsTpl->assign('displaynav', false);
}

$sarray = NewsStory::getAllPublished($xoopsOption['storynum'], $start, $xoopsOption['storytopic']);

$scount = count($sarray);
for ( $i = 0; $i < $scount; $i++ ) {
$story = array();
$story['id'] = $sarray[$i]->storyid();
$story['poster'] = $sarray[$i]->uname();
if ( $story['poster'] != false ) {
$story['poster'] = "<a href='".XOOPS_URL."/userinfo.php?uid=".$sarray[$i]->uid()."'>".$story['poster']."</a>";
} else {
$story['poster'] = $xoopsConfig['anonymous'];
}
$story['posttime'] = formatTimestamp($sarray[$i]->published());
$story['text'] = $sarray[$i]->hometext();
$introcount = strlen($story['text']);
$fullcount = strlen($sarray[$i]->bodytext());
$totalcount = $introcount + $fullcount;
$morelink = '';
if ( $fullcount > 1 ) {
$morelink .= '<a href="'.XOOPS_URL.'/modules/news/article.php?storyid='.$sarray[$i]->storyid().'';
$morelink .= '">'._NW_READMORE.'</a> | ';
$morelink .= sprintf(_NW_BYTESMORE,$totalcount);
$morelink .= ' | ';
}
$ccount = $sarray[$i]->comments();
$morelink .= '<a href="'.XOOPS_URL.'/modules/news/article.php?storyid='.$sarray[$i]->storyid().'';
$morelink2 = '<a href="'.XOOPS_URL.'/modules/news/article.php?storyid='.$sarray[$i]->storyid().'';
if ( $ccount == 0 ) {
$morelink .= '">'._NW_COMMENTS.'</a>';
} else {
if ( $fullcount < 1 ) {
if ( $ccount == 1 ) {
$morelink .= '">'._NW_READMORE.'</a> | '.$morelink2.'">'._NW_ONECOMMENT.'</a>';
} else {
$morelink .= '">'._NW_READMORE.'</a> | '.$morelink2.'">';
$morelink .= sprintf(_NW_NUMCOMMENTS, $ccount);
$morelink .= '</a>';
}
} else {
if ( $ccount == 1 ) {
$morelink .= '">'._NW_ONECOMMENT.'</a>';
} else {
$morelink .= '">';
$morelink .= sprintf(_NW_NUMCOMMENTS, $ccount);
$morelink .= '</a>';
}
}
}
$story['morelink'] = $morelink;
$story['adminlink'] = '';
if ( $xoopsUser && $xoopsUser->isAdmin($xoopsModule->mid()) ) {
$story['adminlink'] = $sarray[$i]->adminlink();
}
$story['mail_link'] = 'mailto:?subject='.sprintf(_NW_INTARTICLE,$xoopsConfig['sitename']).'&body='.sprintf(_NW_INTARTFOUND, $xoopsConfig['sitename']).': '.XOOPS_URL.'/modules/news/article.php?storyid='.$sarray[$i]->storyid();
$story['imglink'] = '';
$story['align'] = '';
if ( $sarray[$i]->topicdisplay() ) {
$story['imglink'] = $sarray[$i]->imglink();
$story['align'] = $sarray[$i]->topicalign();
}
$story['title'] = $sarray[$i]->textlink().'&nbsp;:&nbsp;'."<a href='".XOOPS_URL."/modules/news/article.php?storyid=".$sarray[$i]->storyid()."'>".$sarray[$i]->title()."</a>";
$story['hits'] = $sarray[$i]->counter();
// The line below can be used to display a Permanent Link image
// $story['title'] .= "&nbsp;&nbsp;<a href='".XOOPS_URL."/modules/news/article.php?storyid=".$sarray[$i]->storyid()."'><img src='".XOOPS_URL."/modules/news/images/x.gif' alt='Permanent Link' /></a>";

$xoopsTpl->append('stories', $story);
unset($story);
}
$totalcount = NewsStory::countPublishedByTopic($xoopsOption['storytopic']);
if ( $totalcount > $scount ) {
include_once XOOPS_ROOT_PATH.'/class/pagenav.php';
$pagenav = new XoopsPageNav($totalcount, $xoopsOption['storynum'], $start, 'start', 'storytopic='.$xoopsOption['storytopic']);
$xoopsTpl->assign('pagenav', $pagenav->renderNav());
//$xoopsTpl->assign('pagenav', $pagenav->renderImageNav());

} else {
$xoopsTpl->assign('pagenav', '');
}
$xoopsTpl->assign('lang_go', _GO);
$xoopsTpl->assign('lang_on', _ON);
$xoopsTpl->assign('lang_printerpage', _NW_PRINTERFRIENDLY);
$xoopsTpl->assign('lang_sendstory', _NW_SENDSTORY);
$xoopsTpl->assign('lang_postedby', _POSTEDBY);
$xoopsTpl->assign('lang_reads', _READS);
include_once XOOPS_ROOT_PATH.'/footer.php';
?>

Posté le : 25/10/2006 20:03

Edité par masterbanq sur 26/10/2006 10:05:01
_________________
:xfsuper:
Transférer la contribution vers d'autres applications Transférer


Re: news & tiny : problème page blanche résolu
Aspirant
Inscrit: 19/12/2005 11:09
Messages: 81
Merci Kris

Effectivement c'est la meilleure solution. Voilà l'index.php que j'utilise.
(rappel : L'index.php de la nouvelle version de news ne fonctionne pas chez moi)

Pour le moment tout fonctionne à merveille

Posté le : 25/10/2006 19:43

Edité par masterbanq sur 26/10/2006 10:03:59
Edité par masterbanq sur 26/10/2006 10:04:27
Edité par masterbanq sur 26/10/2006 10:05:52
Edité par masterbanq sur 26/10/2006 10:06:37
_________________
:xfsuper:
Transférer la contribution vers d'autres applications Transférer


Idée développement module / fonction admin
Aspirant
Inscrit: 19/12/2005 11:09
Messages: 81
Une petite idée : j'ai lu quelques topics sur le forum qui m'ont donné cette idée.

Côté sécurité, serait il pas possible de créer un module / fonction pour "obliger" les utilisateurs à changer 1 fois par mois (par exemple) leurs mots de passe... (et qu'ils soient différents)

Vos avis ?

Posté le : 22/10/2006 13:33
_________________
:xfsuper:
Transférer la contribution vers d'autres applications Transférer


news & tiny : problème page blanche résolu
Aspirant
Inscrit: 19/12/2005 11:09
Messages: 81
Si ça intéresse du monde : j'ai installé dernièrement tiny et la toute dernière version de news. Et là, problème : tout marchait sauf le module news. Page blanche au lieu d'afficher les pages de news.

Au final, j'ai modifié le fichier index.php et tout semble fonctionner pour le mieux. Donc si qlq1 a le meme pb, qu'il n'hésite pas à me contacter

Bon weekend à tous

Posté le : 22/10/2006 13:24
_________________
:xfsuper:
Transférer la contribution vers d'autres applications Transférer


Re: frxoops-Année du Chat ? Virus féline?
Aspirant
Inscrit: 19/12/2005 11:09
Messages: 81
MAIS QUE FAIT BRIGITTE BARDOT ????????

Posté le : 17/09/2006 12:50
_________________
:xfsuper:
Transférer la contribution vers d'autres applications Transférer


Re: Page d'erreur
Aspirant
Inscrit: 19/12/2005 11:09
Messages: 81
Ptite question : ça ne peut pas venir d'un nombre trop important de requêtes ? Tu es chez quel hébergeur ?

Posté le : 17/09/2006 12:49
_________________
:xfsuper:
Transférer la contribution vers d'autres applications Transférer


Re: Fenêtres pop-up non-opérationnelles !
Aspirant
Inscrit: 19/12/2005 11:09
Messages: 81
pas de pb que des solutions :xfsuper:

Posté le : 17/09/2006 12:46
_________________
:xfsuper:
Transférer la contribution vers d'autres applications Transférer


Re: frxoops-Année du Chat ? Virus féline?
Aspirant
Inscrit: 19/12/2005 11:09
Messages: 81
Une cat-astrophe ?!?

Posté le : 17/09/2006 11:17
_________________
:xfsuper:
Transférer la contribution vers d'autres applications Transférer



 Haut
« 1 (2) 3 4 5 ... 8 »




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

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