Plugin Directory

Changeset 978177


Ignore:
Timestamp:
09/03/2014 08:34:58 PM (11 years ago)
Author:
logonike
Message:

More options

Location:
goodfidelity
Files:
52 added
6 edited

Legend:

Unmodified
Added
Removed
  • goodfidelity/trunk/css/page.css

    r976786 r978177  
    3636    width:32px;
    3737    float:left;
    38     margin:20px 10px 20px 0px;
    3938}   
    4039div#maslistmas1{
  • goodfidelity/trunk/css/render.css

    r977486 r978177  
    622622    width:100%;
    623623}
     624div#playallyou{
     625    float:left;
     626    height:28px;
     627    color:#FFF;
     628    background:#000;
     629    padding:4px 10px 0px 0px;
     630}
     631div#botonejecall{
     632    float:left;
     633    margin:20px 0px 20px 0px;
     634}
  • goodfidelity/trunk/ext/related-youlist.php

    r977527 r978177  
    11<?php
    22function playlistautomatic($atts){
     3    //Recoje datos de playall
     4    $web_app_playall = get_option('web_app_playall');   
     5   
    36        $atributesyou = shortcode_atts(array(
    47            'myplaylist' => 'Falta el ID'
     
    1114<div id="bodypage">
    1215        <a href="#!" onclick="window.open('https://www.facebook.com/sharer/sharer.php?u=<?php echo $_SERVER['HTTP_HOST'].$_SERVER['REQUEST_URI'];?>','facebook-share-dialog','width=626,height=436'); return false;" title="Facebook"><div id="botonface"></div></a>
    13         <a href="#!" onclick="javascript:playlistallyou()"><div id="botonplay1"></div></a>
     16        <a href="#!" onclick="javascript:playlistallyou()"><div id="botonejecall"><div id="botonplay1"></div><div id="playallyou"><?php echo $web_app_playall ?></div></div></a>
    1417</div>
    1518<div id="horizontalyou">
    1619<div class="interior">
    1720<?php
    18     for ($Y = 0; $Y <= 19; $Y++){
     21    for ($Y = 0; $Y <= 49; $Y++){
    1922       
    2023        ///Recupera el título del video
     
    3235        $url_actual = $_SERVER['HTTP_HOST']."/goodfidelity/?ID=".$IDcancion;
    3336       
     37        if ($IDcancion != ""){
    3438        ?>
    3539       
     
    5256            </div>
    5357       <?php
     58       
    5459                    //Crea el cookie playlist para la reproducción de todos los videos simultáneamente
    5560                        $X = $X + 1;
     
    6065                            $playtubeyou = $playtubeyou.",".$IDcancion;
    6166                        }
     67        }
    6268    }
    6369?>
     
    6672<div id="bodypage">
    6773        <a href="#!" onclick="window.open('https://www.facebook.com/sharer/sharer.php?u=<?php echo $_SERVER['HTTP_HOST'].$_SERVER['REQUEST_URI'];?>','facebook-share-dialog','width=626,height=436'); return false;" title="Facebook"><div id="botonface"></div></a>
    68         <a href="#!" onclick="javascript:playlistallyou()"><div id="botonplay1"></div></a>
     74        <a href="#!" onclick="javascript:playlistallyou()"><div id="botonejecall"><div id="botonplay1"></div><div id="playallyou"><?php echo $web_app_playall ?></div></div></a>
    6975</div>
    7076</div>
  • goodfidelity/trunk/goodfidelity.php

    r977527 r978177  
    22/*
    33Plugin Name: GoodFidelity Bar Music Video
    4 Version: 2.2.1
     4Version: 2.2.2
    55Plugin URI: http://www.goodfidelity.com
    66Author: David Lozano Medina
     
    6565    add_option('web_app_autoplay', 'checked');
    6666    add_option('web_app_idyoutube', 'PLFPg_IUxqnZM3uua-YwStHJ1qmlQKBnh0');
     67    add_option('web_app_playall','Play all');
    6768}
    6869register_activation_hook(__FILE__,'createtablegood');
     
    7879  register_setting('optgoodfidelity', 'web_app_autoplay');
    7980  register_setting('optgoodfidelity', 'web_app_idyoutube');
     81  register_setting('optgoodfidelity', 'web_app_playall');
    8082}
    8183function admin_menu_goodfidelity() {
  • goodfidelity/trunk/inc/options.php

    r977486 r978177  
    2323    <input type="text" name="web_app_idyoutube" value="<?php echo get_option('web_app_idyoutube'); ?>" size="45" /><br /><br />
    2424   
     25    <h3>Shortcode</h3>
     26    <label><strong>Text play all : </strong></label><br />
     27    <input type="text" name="web_app_playall" value="<?php echo get_option('web_app_playall'); ?>" size="45" /><br /><br />
     28   
    2529    <input type="hidden" name="action" value="update" />
    2630    <input type="submit" class="button-primary" value="<?php _e('Save Changes') ?>" />
    2731</form>
    28 <h3>Shortcode</h3>
    29 
    3032<p><strong>Paste in post or page:</strong></p>
    3133<p>[good myvideo="IDyoutube"] - example: [good myvideo="k4l3PAKdQCo"]</p>
  • goodfidelity/trunk/readme.txt

    r977641 r978177  
    44Requires at least: 3.9
    55Tested up to: 3.9
    6 Stable tag: 2.2.1
     6Stable tag: 2.2.2
    77Description: Complements your website with a administrator of videos and music. Your users will be able to create one or more playlist, you be able to listen music without interruption, may share in facebook and more. Millions of music videos at your fingertips. It offers a powerful search engine.
    88
     
    6767== Changelog ==
    6868= 2.2.1 =
     69* More options: playall in shortcode
     70* Correct errors
     71= 2.2.1 =
    6972* Correct errors
    7073= 2.2.0 =
Note: See TracChangeset for help on using the changeset viewer.