Fork me on GitHub






Problème de 'RssFit' Sur Mytube.
Newbie
Inscrit: 16/01/2009 22:31
Messages: 6
Bonjour,
j'ai deja bien chercher sur les solutions de module 'RssFit'
et j'ai télécharger la version 1.22 y compris le plugin 'rssfit.xoopstube.php' mais mon problème c'est que le module me signaler que :
1/ ma version xoops incompatible ( j'utilise 2.3.2 )
2/ le module existe pas (xoopstube), (j'utilise Mytube )

Question ; est ce que 'xoopstube' s'appelle aussi 'Mytube'?

Posté le : 30/12/2009 04:17
Partager Twitter Partagez cette article sur GG+
Re: Problème de 'RssFit' Sur Mytube.
Supporter Xoops
Inscrit: 09/01/2005 13:37
De Breizh
Messages: 16972
Citation :

naitouta a écrit:
Question ; est ce que 'xoopstube' s'appelle aussi 'Mytube'?


Non, à toi de créer un plugin pour rssfit

@+

Posté le : 30/12/2009 15:16

La connaissance s'accroît quand on la partage ...
Partager Twitter Partagez cette article sur GG+
Re: Problème de 'RssFit' Sur Mytube.
Newbie
Inscrit: 16/01/2009 22:31
Messages: 6
mais comment je vais créer un plugin ?

MP moi si quelqu'un a un plugin de 'Mytube'

Posté le : 30/12/2009 16:14
Partager Twitter Partagez cette article sur GG+
Re: Problème de 'RssFit' Sur Mytube.
Supporter Xoops
Inscrit: 09/01/2005 13:37
De Breizh
Messages: 16972
nom du fichier : rssfit.mytube.php

<?php
// $Id: rssfit.mylinks.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 ##
###############################################################################
/*
* About this RSSFit plug-in
* Author: jayjay <http://www.sint-niklaas.be/>
* Requirements (Tested with):
*  Module: MyTube
*  Version: 1.0
*  RSSFit version: 1.21
*  XOOPS version: 2.0.18.1
*/

if( !defined('RSSFIT_ROOT_PATH') ) {
  exit();
}

class 
RssfitMytube {
    var 
$dirname 'mytube';
    var 
$modname;
    var 
$grab;
    
    function 
RssfitMytube() {
    }
    
    function 
loadModule(){
        
$mod =& $GLOBALS['module_handler'] -> getByDirname($this -> dirname);
        if( !
$mod || !$mod->getVar('isactive') ){
            return 
false;
        }
        
$this -> modname $mod -> getVar('name');
        return 
$mod;
    }
    
    function &
grabEntries(&$obj) {
        global 
$xoopsDB;
        
$myts =& MyTextSanitizer::getInstance();
        
$ret false;
        
$i 0;
        
$sql "SELECT l.lid, l.title as ltitle, l.date, l.cid, l.hits, l.description, c.title as ctitle FROM " $xoopsDB -> prefix("xoopstube_videos") . " l, " $xoopsDB -> prefix('xoopstube_cat') . " c WHERE l.cid=c.cid AND l.status>0 ORDER BY l.date DESC";

        
$result $xoopsDB -> query($sql$this -> grab0);
        while( 
$row $xoopsDB -> fetchArray($result) ) {
            
$ret[$i]['title'] = $row['ltitle'];
            
$link XOOPS_URL '/modules/' $this -> dirname '/singlevideo.php?cid=' $row['cid'] . '&amp;lid=' $row['lid'];
            
$ret[$i]['link'] = $ret[$i]['guid'] = $link;
            
$ret[$i]['timestamp'] = $row['date'];
            
$ret[$i]['description'] = $myts -> displayTarea($row['description']);
            
$ret[$i]['category'] = $this -> modname;
            
$ret[$i]['domain'] = XOOPS_URL '/modules/' $this -> dirname '/';
            
$i++;
        }
        return 
$ret;
    }
}
?>

Posté le : 30/12/2009 17:26

La connaissance s'accroît quand on la partage ...
Partager Twitter Partagez cette article sur GG+
Re: Problème de 'RssFit' Sur Mytube.
Newbie
Inscrit: 16/01/2009 22:31
Messages: 6
merci kris le flux rss marche tres bien
a bientot.

Posté le : 30/12/2009 22:28
Partager Twitter Partagez cette article sur GG+

 Haut   Précédent   Suivant



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

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