Fork me on GitHub




« 1 (2) 3 »


Re: Créer un site xoops avec cooliris
Xoops accro
Inscrit: 27/07/2005 16:10
De France
Messages: 2970
ca change rien!!

Ps:dans mon ftp,mon site xoops se trouve dans forums/modules/etc donc je suis obligé de mettre /forums/ après mon NDM

Posté le : 20/10/2008 10:09
Partager Twitter Partagez cette article sur GG+
Re: Créer un site xoops avec cooliris
Semi pro
Inscrit: 19/08/2005 21:01
De 97221
Messages: 1980
Y'a un truc qui va pas là, tu veux dire que la racine de ton site est dans forums/modules/ ???
Peux tu nous situer exactement le fichier mainfile.php dans ton FTP par exemple.

Posté le : 20/10/2008 10:21

Open in new windowOpen in new window
Partager Twitter Partagez cette article sur GG+
Re: Créer un site xoops avec cooliris
Régulier
Inscrit: 29/03/2007 17:04
Messages: 343
Quand on va sur ton site, cooliris ne repère pas ton flux donc ton fichier rss. Donc le problème doit venir de la.

Quand on clique sur le lien du fichier rss on doit voir un truc comme cela, or si on clique sur ton lien on nous dit qu'on a pas les droit d'accès.

As tu ouvert les droits d'accès du module rss aux anonymes?

Posté le : 20/10/2008 10:46

http://www.orthodontie-fr.com et pan dans les dents
Partager Twitter Partagez cette article sur GG+
Re: Créer un site xoops avec cooliris
Xoops accro
Inscrit: 27/07/2005 16:10
De France
Messages: 2970
Citation :

Jah a écrit:
Y'a un truc qui va pas là, tu veux dire que la racine de ton site est dans forums/modules/ ???
Peux tu nous situer exactement le fichier mainfile.php dans ton FTP par exemple.


Mon mainfile.php est dans mon dossier "forums"

Citation :

flaggada a écrit:

As tu ouvert les droits d'accès du module rss aux anonymes?


Je vois pas cette option
http://www.tatane.net/forums/modules/rss/rss.php?feed=extgallery" rel="external" title="">caca marche

Posté le : 20/10/2008 11:03
Partager Twitter Partagez cette article sur GG+
Re: Créer un site xoops avec cooliris
Régulier
Inscrit: 29/03/2007 17:04
Messages: 343
Toi tu le vois parce que tu es loggué, moi je ne le vois pas car je suis un visiteur anonyme. Il me dit que je n'ai pas les droits d'accés pour voir la page.

Donc va dans l'administration et dans blocksadmin pour autoriser l'accés au module rss pour les anonymes.

Si tu n'as pas blocksadmin tu vas dans l'admin, gestion des groupes, groupe anonymes, et tu coches droits d'accès au module pour XML(flux rss).

Posté le : 20/10/2008 11:54

http://www.orthodontie-fr.com et pan dans les dents
Partager Twitter Partagez cette article sur GG+
Re: Créer un site xoops avec cooliris
Xoops accro
Inscrit: 27/07/2005 16:10
De France
Messages: 2970
Citation :


Donc va dans l'administration et dans blocksadmin pour autoriser l'accés au module rss pour les anonymes.

Si tu n'as pas blocksadmin tu vas dans l'admin, gestion des groupes, groupe anonymes, et tu coches droits d'accès au module pour XML(flux rss).


ca y-est,c'est fait

Posté le : 20/10/2008 12:14
Partager Twitter Partagez cette article sur GG+
Re: Créer un site xoops avec cooliris
Régulier
Inscrit: 29/03/2007 17:04
Messages: 343
Sur ton fichier rss je lis pour une des photos

Fichiers média
large_531n2_17fded.gif (JPEG Image)
medium_531n2_17fded.gif

Regarde dans ton FTP fichier modules/rss/plugins/rssfit.extgallery.php si le contenu est bien le suivant:

<?php
// $Id: rssfit.pluginsample.php 244 2006-07-20 08:41:42Z tuff $
###############################################################################
##                RSSFit - Extendable XML news feed generator                ##
##                Copyright (c) 2004 - 2006 NS Tai (aka tuff)                ##
##                       <http://www.brandycoke.com/> & ... nbsp;   ##
###############################################################################
##                    XOOPS - PHP Content Management System                  ##
##                       Copyright (c) 2000 XOOPS.org                        ##
##                          <http://www.xoops.org/>   ... nbsp;   ##
###############################################################################
##  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 ##
###############################################################################
/*
* This file is a dummy for making a RSSFit plug-in, follow the following steps
* if you really want to do so.
* Step 0:    Stop here if you are not sure what you are doing, it's no fun at all
* Step 1:    Clone this file and rename as something like rssfit.[mod_dir].php
* Step 2:    Replace the text "RssfitSample" with "Rssfit[mod_dir]" at line 59 and
*             line 65, i.e. "RssfitNews" for the module "News"
* Step 3:    Modify the word in line 60 from 'sample' to [mod_dir]
* Step 4:    Modify the function "grabEntries" to satisfy your needs
* Step 5:    Move your new plug-in file to the RSSFit plugins folder,
*             i.e. your-xoops-root/modules/rss/plugins
* Step 6:    Install your plug-in by pointing your browser to
*             your-xoops-url/modules/rss/admin/?do=plugins
* Step 7:    Finally, tell us about yourself and this file by modifying the
*             "About this RSSFit plug-in" section which is located... somewhere.

* [mod_dir]: Name of the driectory of your module, i.e. 'news'

* About this RSSFit plug-in
* Author: John Doe <http://www.your.site/>
* Requirements (or Tested with):
*  Module: Blah <http://www.where.to.find.it/>
*  Version: 1.0
*  RSSFit verision: 1.2 / 1.5
*  XOOPS version: 2.0.13.2 / 2.2.3
*/

if( !defined('RSSFIT_ROOT_PATH') ){ exit(); }
class 
RssfitExtgallery {
    var 
$dirname 'extgallery';
    var 
$modname;
    var 
$grab;
    var 
$module;    // optional, see line 74
    
    
function RssfitExtgallery(){
    }
    
    function 
loadModule(){
        
$mod =& $GLOBALS['module_handler']->getByDirname($this->dirname);
        if( !
$mod || !$mod->getVar('isactive') ){
            return 
false;
        }
        
$this->modname $mod->getVar('name');
        
$this->module =& $mod;
        return 
$mod;
    }
    
    function &
grabEntries(&$obj){
        global 
$xoopsDB;
        
$myts =& MyTextSanitizer::getInstance();
        
$ret false;
        
$i 0;
        
$sql "SELECT photo_id, photo_title, photo_date, photo_extra, photo_name, photo_approved FROM ".$xoopsDB->prefix("extgallery_publicphoto")." WHERE photo_approved = 1 ORDER BY photo_date DESC";
        
$result $xoopsDB->query($sql$this->grab0);
        while( 
$row $xoopsDB->fetchArray($result) ){
            
$link XOOPS_URL.'/modules/'.$this->dirname.'/public-photo.php?photoId='.$row['photo_id'].'#photoNav';
            
$ret[$i]['title'] = $row['photo_title'];
            
$ret[$i]['link'] = $link;
            
$ret[$i]['timestamp'] = $row['photo_date'];
            
$ret[$i]['description'] = $myts->displayTarea($row['photo_extra']);
            
$ret[$i]['guid'] = $link;
            
$ret[$i]['category'] = $this->modname;
            
$ret[$i]['domain'] = XOOPS_URL.'/modules/'.$this->dirname.'/';
                
$ret[$i]['extras']['enclosure']['attributes']
                    = array(
'url' => XOOPS_URL.'/uploads/extgallery/public-photo/large/large_'.$row['photo_name'],
                            
'type' => 'image/jpeg'
                            
);
            
$ret[$i]['media'] = ':thumbnail url="'.XOOPS_URL.'/uploads/extgallery/public-photo/thumb/thumb_'.$row['photo_name'].'"';
            
$ret[$i]['media2'] = ':content url="'.XOOPS_URL.'/uploads/extgallery/public-photo/medium/'.$row['photo_name'].'"';
            
$i++;
        }
        return 
$ret;
    }
}
?>

Posté le : 20/10/2008 12:40

http://www.orthodontie-fr.com et pan dans les dents
Partager Twitter Partagez cette article sur GG+
Re: Créer un site xoops avec cooliris
Xoops accro
Inscrit: 27/07/2005 16:10
De France
Messages: 2970
J'ai copié exactement ton contenu dans modules/rss/plugins/rssfit.extgallery.php mais c pareil!!

Pourquoi quand on met le curseur sur Voir toutes les images ,le lien est "http://www.tatane.net/forums/(script%20removed)PicLensLite.start();" alors que celui du site à flaggada estjavascript:PicLensLite.start();!!

Posté le : 20/10/2008 13:00
Partager Twitter Partagez cette article sur GG+
Re: Créer un site xoops avec cooliris
Régulier
Inscrit: 29/03/2007 17:04
Messages: 343
Quand j'édite le code source de ta page je ne vois pas le script dans ton <head>

Vérifie que tu as bien mis la ligne de code suivante juste aprés la balise <head> dans ton thème.html

<link rel="alternate" href="http://www.tatane.net/forums/modules/rss/rss.php?feed=extgallery"              type="application/rss+xml" title="" id="gallery" />             <script type="text/javascript"            src="http://lite.piclens.com/current/piclens.js"></script>


Il faut qu'on la voit en affichant le code source de ta page d'accueil.

Posté le : 20/10/2008 14:19

http://www.orthodontie-fr.com et pan dans les dents
Partager Twitter Partagez cette article sur GG+
Re: Créer un site xoops avec cooliris
Xoops accro
Inscrit: 27/07/2005 16:10
De France
Messages: 2970
Voilà mon theme

Citation :
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="<{$xoops_langcode}>" lang="<{$xoops_langcode}>">
<head>
<link rel="alternate" href="http://www.tatane.net/forums/modules/ ... php?feed=extgallery"
type="application/rss+xml" title="" id="gallery" />
<script type="text/javascript"
src="http://lite.piclens.com/current/picle ... "></script>
<!-- Assign Theme name -->
<{assign var=theme_name value=$xoTheme->folderName}>

<!-- Title and meta -->
<meta http-equiv="content-language" content="<{$xoops_langcode}>" />
<meta http-equiv="content-type" content="text/html; charset=<{$xoops_charset}>" />
<title><{if $xoops_pagetitle !=''}><{$xoops_pagetitle}> - <{/if}><{$xoops_sitename}></title>
<meta name="robots" content="<{$xoops_meta_robots}>" />
<meta name="keywords" content="<{$xoops_meta_keywords}>" />
<meta name="description" content="<{$xoops_meta_description}>" />
<meta name="rating" content="<{$xoops_meta_rating}>" />
<meta name="author" content="<{$xoops_meta_author}>" />
<meta name="copyright" content="<{$xoops_meta_copyright}>" />
<meta name="generator" content="XOOPS" />

<!-- Rss -->
<link rel="alternate" type="application/rss+xml" title="" href="<{xoAppUrl backend.php}>" />

<!-- Favicon -->
<link rel="shortcut icon" type="image/ico" href="<{xoAppUrl favicon.ico}>" />

<!-- Sheet Css -->
<link rel="stylesheet" type="text/css" media="all" title="Style sheet" href="<{xoAppUrl xoops.css}>" />
<link rel="stylesheet" type="text/css" media="all" title="Style sheet" href="<{xoImgUrl style.css}>" />

<!-- customized header contents -->
<{$xoops_module_header}>

</head>
<body>

<!-- Start Header -->
<table cellspacing="0">
<tr id="header">
<td id="headerlogo"><a href="<{xoAppUrl /}>"><img src="<{xoImgUrl logo.gif}>" width="150px" height="80px" alt="<{$xoops_sitename}>" /></a></td>
<td id="headerbanner"><{$xoops_banner}></td>
</tr>
<tr>
<td id="headerbar" colspan="2">&nbsp;</td>
</tr>
</table>
<!-- End header -->

<table cellspacing="0">
<tr>
<!-- Start left blocks loop -->
<{if $xoops_showlblock}>
<td id="leftcolumn">
<{foreach item=block from=$xoBlocks.canvas_left}>
<{includeq file="$theme_name/theme_blockleft.html"}>
<{/foreach}>
</td>
<{/if}>
<!-- End left blocks loop -->

<td id="centercolumn">
<!-- Display center blocks if any -->
<{if $xoBlocks.page_topleft or $xoBlocks.page_topcenter or $xoBlocks.page_topright}>
<table cellspacing="0">
<tr>
<td id="centerCcolumn" colspan="2">
<!-- Start center-center blocks loop -->
<{foreach item=block from=$xoBlocks.page_topcenter}>
<{includeq file="$theme_name/theme_blockcenter_c.html"}>
<{/foreach}>
<!-- End center-center blocks loop -->
</td>
</tr>
<tr>
<td id="centerLcolumn">
<!-- Start center-left blocks loop -->
<{foreach item=block from=$xoBlocks.page_topleft}>
<{includeq file="$theme_name/theme_blockcenter_l.html"}>
<{/foreach}>
<!-- End center-left blocks loop -->
</td>
<td id="centerRcolumn">
<!-- Start center-right blocks loop -->
<{foreach item=block from=$xoBlocks.page_topright}>
<{includeq file="$theme_name/theme_blockcenter_r.html"}>
<{/foreach}>
<!-- End center-right blocks loop -->
</td>
</tr>
</table>
<{/if}>
<!-- End center top blocks loop -->

<!-- Start content module page -->
<div id="content"><{$xoops_contents}></div>
<!-- End content module -->

<!-- Start center bottom blocks loop -->
<{if $xoBlocks.page_bottomleft or $xoBlocks.page_bottomright or $xoBlocks.page_bottomcenter}>
<table cellspacing="0">
<{if $xoBlocks.page_bottomcenter}>
<tr>
<td id="bottomCcolumn" colspan="2">
<{foreach from=$xoBlocks.page_bottomcenter item=block}>
<{include file="$theme_name/theme_blockcenter_c.html"}>
<{/foreach}>
</td>
</tr>
<{/if}>

<{if $xoBlocks.page_bottomleft or $xoBlocks.page_bottomright}>
<tr>
<td id="bottomLcolumn">
<{foreach from=$xoBlocks.page_bottomleft item=block}>
<{include file="$theme_name/theme_blockcenter_l.html"}>
<{/foreach}>
</td>

<td id="bottomRcolumn">
<{foreach from=$xoBlocks.page_bottomright item=block}>
<{include file="$theme_name/theme_blockcenter_r.html"}>
<{/foreach}>
</td>
</tr>
<{/if}>
</table>
<{/if}>
<!-- End center bottom blocks loop -->

</td>

<{if $xoops_showrblock}>
<td id="rightcolumn">
<!-- Start right blocks loop -->
<{foreach item=block from=$xoBlocks.canvas_right}>
<{includeq file="$theme_name/theme_blockright.html"}>
<{/foreach}>
<!-- End right blocks loop -->
</td>
<{/if}>
</tr>
</table>

<!-- Start footer -->
<table cellspacing="0">
<tr id="footerbar">
<td><{$xoops_footer}></td>
</tr>
</table>
<!-- End footer -->

<!--{xo-logger-output}-->
</body>
</html>

Posté le : 20/10/2008 16:15
Partager Twitter Partagez cette article sur GG+

 Haut   Précédent   Suivant
« 1 (2) 3 »



Vous pouvez voir les sujets.
Vous ne pouvez pas débuter de nouveaux sujets.
Vous ne pouvez pas répondre aux contributions.
Vous ne pouvez pas éditer vos contributions.
Vous ne pouvez pas effacez vos contributions.
Vous ne pouvez pas ajouter de nouveaux sondages.
Vous ne pouvez pas voter en sondage.
Vous ne pouvez pas attacher des fichiers à vos contributions.
Vous ne pouvez pas poster sans approbation.

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

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