Recherche avancée

Médias (1)

Mot : - Tags -/iphone

Autres articles (55)

  • MediaSPIP version 0.1 Beta

    16 avril 2011, par

    MediaSPIP 0.1 beta est la première version de MediaSPIP décrétée comme "utilisable".
    Le fichier zip ici présent contient uniquement les sources de MediaSPIP en version standalone.
    Pour avoir une installation fonctionnelle, il est nécessaire d’installer manuellement l’ensemble des dépendances logicielles sur le serveur.
    Si vous souhaitez utiliser cette archive pour une installation en mode ferme, il vous faudra également procéder à d’autres modifications (...)

  • MediaSPIP 0.1 Beta version

    25 avril 2011, par

    MediaSPIP 0.1 beta is the first version of MediaSPIP proclaimed as "usable".
    The zip file provided here only contains the sources of MediaSPIP in its standalone version.
    To get a working installation, you must manually install all-software dependencies on the server.
    If you want to use this archive for an installation in "farm mode", you will also need to proceed to other manual (...)

  • Amélioration de la version de base

    13 septembre 2013

    Jolie sélection multiple
    Le plugin Chosen permet d’améliorer l’ergonomie des champs de sélection multiple. Voir les deux images suivantes pour comparer.
    Il suffit pour cela d’activer le plugin Chosen (Configuration générale du site > Gestion des plugins), puis de configurer le plugin (Les squelettes > Chosen) en activant l’utilisation de Chosen dans le site public et en spécifiant les éléments de formulaires à améliorer, par exemple select[multiple] pour les listes à sélection multiple (...)

Sur d’autres sites (6286)

  • Evolution #4102 : Ordre des inclures dans cache/charger_plugins_options.php

    8 juillet 2019, par cam.lafit -

    Salut

    Ma solution n’est pas bonne non plus. On peut selon l’ordre d’appel devoir encapsuler le code d’un fichier options. Donc la solution de @placido est plus pertiente. Le patch suivant ne casse pas le comportement par défaut de SPIP et permet de charger avant un bout d’options.

    Soit le pluginA ayant besoin de surcharger les options de pluginB, si on fait pluginA/pre_pluginB_options.php alors l’ordre de chargement devrait être :

    • pluginA/pre_pluginB_options.php
    • pluginB/pluginB_options.php
    • pluginA/pluginA_options.php
    1. <span class="CodeRay"><span class="line head"><span class="head">--- </span><span class="filename"><sans nom="nom"></sans></span></span>
    2. <span class="line head"><span class="head">+++ </span><span class="filename"><sans nom="nom"></sans></span></span>
    3. <span class="line change"><span class="change">@@</span> -821,7 +821,25 <span class="change">@@</span></span>
    4.      $boutons = array();
    5.      $onglets = array();
    6.      $sign = "";
    7. <span class="line delete"><span class="delete">-</span></span>
    8. <span class="line insert"><span class="insert">+</span>    </span>
    9. <span class="line insert"><span class="insert">+</span>    /* pre fonctions/options charger un fichier avant celui du plugin concerné */</span>
    10. <span class="line insert"><span class="insert">+</span>    foreach ($ordre as $p => &#38;$info) {        </span>
    11. <span class="line insert"><span class="insert">+</span>        foreach($ordre as $plugin_pre_charge => $info_plugin_pre_charge) {        </span>
    12. <span class="line insert"><span class="insert">+</span>            $dir_type = $plugin_valides[$plugin_pre_charge]['dir_type'];</span>
    13. <span class="line insert"><span class="insert">+</span>            $plug = $plugin_valides[$plugin_pre_charge]['dir'];</span>
    14. <span class="line insert"><span class="insert">+</span>            $dir = constant($dir_type);</span>
    15. <span class="line insert"><span class="insert">+</span>            $root_dir_type = str_replace('_DIR_', '_ROOT_', $dir_type);</span>
    16. <span class="line insert"><span class="insert">+</span>            if (isset($plugin_valides[$plugin_pre_charge])) {</span>
    17. <span class="line insert"><span class="insert">+</span>                foreach ($contenu as $charge => $v) {        </span>
    18. <span class="line insert"><span class="insert">+</span>                    if (is_readable("$dir$plug/" . ($file = "pre_".$info['prefix'] . "_" . $charge . ".php"))) {</span>
    19. <span class="line insert"><span class="insert">+</span>                        $_file = $root_dir_type . ".'$plug/$file'";</span>
    20. <span class="line insert"><span class="insert">+</span>                        $contenu[$charge] .= "include_once_check($_file);\n";</span>
    21. <span class="line insert"><span class="insert">+</span>                    }                        </span>
    22. <span class="line insert"><span class="insert">+</span>                }</span>
    23. <span class="line insert"><span class="insert">+</span>            }</span>
    24. <span class="line insert"><span class="insert">+</span>        }</span>
    25. <span class="line insert"><span class="insert">+</span>    }</span>
    26. <span class="line insert"><span class="insert">+</span>    </span>
    27.      foreach ($ordre as $p => $info) {
    28.          // $ordre peur contenir des plugins en attente et non valides pour ce hit
    29.          if (isset($plugin_valides[$p])) {
    30.  
    31. </span>

    Télécharger

  • GStreamer x264enc not found

    5 avril 2017, par Dominik Schreiber

    I installed GStreamer-0.10 and all modules (base, good, bad, ugly, ffmpeg) according to these instructions (browse through by clicking prev/next) :
    http://www.linuxfromscratch.org/blfs/view/svn/multimedia/gst-plugins-ugly.html

    Everything seemed to have worked just fine but when I want to execute my pipeline I got this error :

    glib.GError: no element "x264enc"

    Apparently the module was not installed :

    gst-inspect x264enc
    No such element or plugin 'x264enc'

    After that I installed the codec by executing :

    sudo apt-get install x264

    This did not work either. So I installed the latest build manually :
    http://www.videolan.org/developers/x264.html

    After a successful installation of x264 I ran ./configure on the gstreamer-0.10 ugly modules once again and found out about this :

    configure: *** checking feature: x264 plug-in ***
    configure: *** for plug-ins: x264 ***
    checking for X264... no
    configure: No package 'x264' found
    configure: *** These plugins will not be built: x264
    configure: creating ./config.status

    A check if x264 is available seems to get fullfilled :

    which x264
    /usr/local/bin/x264

    I’m using ubuntu server 12.04 LTS. Any ideas what I have to do to compile this module properly ? Thanks !

  • GStreamer x264enc not found

    5 avril 2017, par Dominik Schreiber

    I installed GStreamer-0.10 and all modules (base, good, bad, ugly, ffmpeg) according to these instructions (browse through by clicking prev/next) :
    http://www.linuxfromscratch.org/blfs/view/svn/multimedia/gst-plugins-ugly.html

    Everything seemed to have worked just fine but when I want to execute my pipeline I got this error :

    glib.GError: no element "x264enc"

    Apparently the module was not installed :

    gst-inspect x264enc
    No such element or plugin 'x264enc'

    After that I installed the codec by executing :

    sudo apt-get install x264

    This did not work either. So I installed the latest build manually :
    http://www.videolan.org/developers/x264.html

    After a successful installation of x264 I ran ./configure on the gstreamer-0.10 ugly modules once again and found out about this :

    configure: *** checking feature: x264 plug-in ***
    configure: *** for plug-ins: x264 ***
    checking for X264... no
    configure: No package 'x264' found
    configure: *** These plugins will not be built: x264
    configure: creating ./config.status

    A check if x264 is available seems to get fullfilled :

    which x264
    /usr/local/bin/x264

    I’m using ubuntu server 12.04 LTS. Any ideas what I have to do to compile this module properly ? Thanks !