Recherche avancée

Médias (0)

Mot : - Tags -/page unique

Aucun média correspondant à vos critères n’est disponible sur le site.

Autres articles (51)

  • Keeping control of your media in your hands

    13 avril 2011, par

    The vocabulary used on this site and around MediaSPIP in general, aims to avoid reference to Web 2.0 and the companies that profit from media-sharing.
    While using MediaSPIP, you are invited to avoid using words like "Brand", "Cloud" and "Market".
    MediaSPIP is designed to facilitate the sharing of creative media online, while allowing authors to retain complete control of their work.
    MediaSPIP aims to be accessible to as many people as possible and development is based on expanding the (...)

  • Submit bugs and patches

    13 avril 2011

    Unfortunately a software is never perfect.
    If you think you have found a bug, report it using our ticket system. Please to help us to fix it by providing the following information : the browser you are using, including the exact version as precise an explanation as possible of the problem if possible, the steps taken resulting in the problem a link to the site / page in question
    If you think you have solved the bug, fill in a ticket and attach to it a corrective patch.
    You may also (...)

  • Creating farms of unique websites

    13 avril 2011, par

    MediaSPIP platforms can be installed as a farm, with a single "core" hosted on a dedicated server and used by multiple websites.
    This allows (among other things) : implementation costs to be shared between several different projects / individuals rapid deployment of multiple unique sites creation of groups of like-minded sites, making it possible to browse media in a more controlled and selective environment than the major "open" (...)

Sur d’autres sites (6408)

  • Anomalie #3894 : Jointures (erronées ?) avec les boucles documents et leurs critères

    26 janvier 2017, par tcharlss (*´_ゝ`)

    J’ai testé avec divers objets que j’avais sous la main pour voir, on reprenant le même procédé :

    • un document attaché à 2 objets, vu=oui pour le N°1, et vu=non pour le N°2
    • id_patate=1 dans l’URL
    • {id_patate?}{vu=non} dans la boucle

    Ça n’a fait la bonne jointure que pour 1 seul objet, donc c’est plutôt une exception on dirait.
    Rigolo : le nom de la jointure superflue s’incrémente entre chaque test, j’ai fini à L8 ! (L5 je l’ai enlevé, c’était sur les auteurs, donc même ambiguïté que pour les mots clés)

    Album [OK] :

    SELECT documents.fichier
    FROM spip_documents AS `documents`  
    INNER JOIN spip_documents_liens AS L1 ON ( L1.id_document = documents.id_document )
    WHERE (documents.taille > 0 OR documents.distant=’oui’)
        AND (L1.id_objet = 1)
        AND (L1.objet = ’album’)
        AND (L1.vu = ’non’)
    GROUP BY documents.id_document
    

    Brève [PAS OK] :

    SELECT documents.fichier
    FROM spip_documents AS `documents`  
    INNER JOIN spip_documents_liens AS L2 ON ( L2.id_document = documents.id_document ) 
    INNER JOIN spip_documents_liens AS L1 ON ( L1.id_document = documents.id_document )
    WHERE (documents.taille > 0 OR documents.distant=’oui’)
        AND (L2.id_objet = 1)
        AND (L2.objet = ’breve’)
        AND (L1.vu = ’non’)
    GROUP BY documents.id_document
    

    Forum [PAS OK] :

    SELECT documents.fichier
    FROM spip_documents AS `documents`  
    INNER JOIN spip_documents_liens AS L3 ON ( L3.id_document = documents.id_document ) 
    INNER JOIN spip_documents_liens AS L1 ON ( L1.id_document = documents.id_document )
    WHERE (documents.taille > 0 OR documents.distant=’oui’)
        AND (L3.id_objet = 1)
        AND (L3.objet = ’forum’)
        AND (L1.vu = ’non’)
    GROUP BY documents.id_document
    

    Mot [PAS OK] (là c’est un peu spécial car il y a une ambiguïté avec mots_liens) :

    SELECT documents.fichier
    FROM spip_documents AS `documents`  
    INNER JOIN spip_mots_liens AS L4 ON ( L4.id_objet = documents.id_document AND L4.objet=’document’) 
    INNER JOIN spip_documents_liens AS L1 ON ( L1.id_document = documents.id_document )
    WHERE (documents.taille > 0 OR documents.distant=’oui’)
        AND (L4.id_mot = 1)
        AND (L1.vu = ’non’)
    GROUP BY documents.id_document
    

    Abonnement [PAS OK] :

    SELECT documents.fichier
    FROM spip_documents AS `documents`  
    INNER JOIN spip_documents_liens AS L6 ON ( L6.id_document = documents.id_document ) 
    INNER JOIN spip_documents_liens AS L1 ON ( L1.id_document = documents.id_document )
    WHERE (documents.taille > 0 OR documents.distant=’oui’)
        AND (L6.id_objet = 1)
        AND (L6.objet = ’abonnement’)
        AND (L1.vu = ’non’)
    GROUP BY documents.id_document
    

    Ticket [PAS OK] :

    SELECT documents.fichier
    FROM spip_documents AS `documents`  
    INNER JOIN spip_documents_liens AS L7 ON ( L7.id_document = documents.id_document ) 
    INNER JOIN spip_documents_liens AS L1 ON ( L1.id_document = documents.id_document )
    WHERE (documents.taille > 0 OR documents.distant=’oui’)
        AND (L7.id_objet = 1)
        AND (L7.objet = ’ticket’)
        AND (L1.vu = ’non’)
    GROUP BY documents.id_document
    

    Adresse [PAS OK] :

    SELECT documents.fichier
    FROM spip_documents AS `documents`  
    INNER JOIN spip_documents_liens AS L8 ON ( L8.id_document = documents.id_document ) 
    INNER JOIN spip_documents_liens AS L1 ON ( L1.id_document = documents.id_document )
    WHERE (documents.taille > 0 OR documents.distant=’oui’)
        AND (L8.id_objet = 1)
        AND (L8.objet = ’adresse’)
        AND (L1.vu = ’non’)
    GROUP BY documents.id_document
    
  • Revision 74427 : On va changer la méthode pour trouver plugin.xml et paquet.xml. On ...

    22 juillet 2013, par teddy.spip@… — Log

    On va changer la méthode pour trouver plugin.xml et paquet.xml. On passe par la class php RecursiveDirectoryIterator ? et RecursiveIteratorIterator ?. Cela devrait prendre en compte ’toutes’ les profondeurs où peuvent se trouver les plugins mutualisés. Ne prend pas en compte pour le moment _DIR_PLUGINS_SUPP.
    Cette astuce vient de ma discussion sur http://forum.alsacreations.com/topic.php?tid=68023&fid=20
    Merci à eux.

  • Revision 74427 : On va changer la méthode pour trouver plugin.xml et paquet.xml. On ...

    22 juillet 2013, par teddy.spip@… — Log

    On va changer la méthode pour trouver plugin.xml et paquet.xml. On passe par la class php RecursiveDirectoryIterator ? et RecursiveIteratorIterator ?. Cela devrait prendre en compte ’toutes’ les profondeurs où peuvent se trouver les plugins mutualisés. Ne prend pas en compte pour le moment _DIR_PLUGINS_SUPP.
    Cette astuce vient de ma discussion sur http://forum.alsacreations.com/topic.php?tid=68023&fid=20
    Merci à eux.