Plugin Directory

Changeset 1165366


Ignore:
Timestamp:
05/22/2015 12:24:54 AM (11 years ago)
Author:
rafafc
Message:

tagging version 1.0.2

Location:
oxford-debate
Files:
18 added
4 edited
6 copied

Legend:

Unmodified
Added
Removed
  • oxford-debate/tags/1.0.2/oxd-settings.php

    r1158338 r1165366  
    2323            add_action( 'admin_enqueue_scripts', array($this,'register_admin_scripts') );
    2424            add_action( 'save_post', array($this,'oxd_meta_save') );
    25 
     25           
    2626        }
    2727   
     
    147147                $user_args  = array(
    148148                // search only for Authors role
    149                 'role' => 'Author',
     149                //'role' => 'Author',
    150150                // order results by display_name
    151151                'orderby' => 'display_name'
     
    176176                            $author_id = get_post_meta($post->ID, 'usera', true);
    177177                            if($author_id == $author_info->ID) { $author_selected = 'selected="selected"'; } else { $author_selected = ''; }
    178                             echo '<option value='.$author_info->ID.' '.$author_selected.'>'.$author_info->first_name.' '.$author_info->last_name.'</option>';
     178                            echo '<option value='.$author_info->ID.' '.$author_selected.'>('.$author_info->nickname.') '.$author_info->first_name.' '.$author_info->last_name.'</option>';
    179179                        }
    180180                        echo "</select>";
     
    200200                            $author_id = get_post_meta($post->ID, 'userb', true);
    201201                            if($author_id == $author_info->ID) { $author_selected = 'selected="selected"'; } else { $author_selected = ''; }
    202                             echo '<option value='.$author_info->ID.' '.$author_selected.'>'.$author_info->first_name.' '.$author_info->last_name.'</option>';
     202                            echo '<option value='.$author_info->ID.' '.$author_selected.'>('.$author_info->nickname.') '.$author_info->first_name.' '.$author_info->last_name.'</option>';
    203203                        }
    204204                        echo "</select>";
  • oxford-debate/tags/1.0.2/oxd.php

    r1158329 r1165366  
    77 * the capabilities of both speakers and audience. The speakers may argue using web connectivity and multimedia,
    88 * and the audience can also comment fixing its position on the proposals of the speakers or raising their own alternatives.
    9  * Version: 1.0.1
     9 * Version: 1.0.2
    1010 * Author: Rafa Fernandez
    1111 * Author URI: http://cws-tech.com
     
    2121}
    2222
    23 define( 'OXD_VERSION', '1.0.1' );
     23define( 'OXD_VERSION', '1.0.2' );
    2424define( 'OXD_DIR', plugin_dir_path( __FILE__ ) );
    2525
     
    4747        add_filter('comments_template', array($this, 'comments_template_loader') );
    4848
    49 
    50        
    51        
    5249        register_activation_hook( __FILE__, array($this,'activate') );
    5350        register_deactivation_hook( __FILE__, array($this,'deactivate') );
    5451    }
     52
    5553
    5654    function activate($networkwide) {
  • oxford-debate/tags/1.0.2/readme.txt

    r1158331 r1165366  
    1919For more information see:
    2020
    21 http://en.wikipedia.org/wiki/Debate#Oxford-Style_debate
     21Google Group link: https://groups.google.com/forum/#!forum/oxford-style-debate
     22Twitter profile: https://twitter.com/oxfdebate
     23Docs & resources: http://t.co/bqsUVUAXFe
     24Project updates: https://trello.com/b/RACV8Yy8/oxford-debate-wp-plugin
     25
    2226
    2327== Installation ==
     
    28324. Type Oxford Debate in search box and hit enter and install plugin from there
    29335. Activate the plugin through the 'Plugins' menu of WordPress
    30 6. Bootstrap framework is needed in your theme
    3134
    3235== Frequently Asked Questions ==
     
    3841= What is the role for posture user ? =
    3942
    40 Author
     43All
    4144
    4245== Screenshots ==
     
    4952
    5053== Changelog ==
     54= 1.0.2 =
     55* Added: All user roles included
     56* Fixed: Added Bootstrap framework into single-debate.php
     57
    5158= 1.0.1 =
    5259* Fixed: single-debate.php bug
     
    6471* Added: Multilanguage compatibility
    6572
    66 = 0.6.0 =p
     73= 0.6.0 =
    6774* Added: Comments area
    6875* Fixed: HTML bug
  • oxford-debate/tags/1.0.2/templates/single-debate.php

    r1158329 r1165366  
    11<?php
    2 wp_enqueue_style( 'oxford-bootstrap', plugins_url( '/oxd/css/bootstrap.min.css' ) );   
     2wp_register_style( 'oxd-bootstrap', plugins_url( '/oxd/css/bootstrap.min.css' ) );
     3wp_enqueue_style( 'oxd-bootstrap' );
    34?>
    45
  • oxford-debate/trunk/oxd-settings.php

    r1158338 r1165366  
    2323            add_action( 'admin_enqueue_scripts', array($this,'register_admin_scripts') );
    2424            add_action( 'save_post', array($this,'oxd_meta_save') );
    25 
     25           
    2626        }
    2727   
     
    147147                $user_args  = array(
    148148                // search only for Authors role
    149                 'role' => 'Author',
     149                //'role' => 'Author',
    150150                // order results by display_name
    151151                'orderby' => 'display_name'
     
    176176                            $author_id = get_post_meta($post->ID, 'usera', true);
    177177                            if($author_id == $author_info->ID) { $author_selected = 'selected="selected"'; } else { $author_selected = ''; }
    178                             echo '<option value='.$author_info->ID.' '.$author_selected.'>'.$author_info->first_name.' '.$author_info->last_name.'</option>';
     178                            echo '<option value='.$author_info->ID.' '.$author_selected.'>('.$author_info->nickname.') '.$author_info->first_name.' '.$author_info->last_name.'</option>';
    179179                        }
    180180                        echo "</select>";
     
    200200                            $author_id = get_post_meta($post->ID, 'userb', true);
    201201                            if($author_id == $author_info->ID) { $author_selected = 'selected="selected"'; } else { $author_selected = ''; }
    202                             echo '<option value='.$author_info->ID.' '.$author_selected.'>'.$author_info->first_name.' '.$author_info->last_name.'</option>';
     202                            echo '<option value='.$author_info->ID.' '.$author_selected.'>('.$author_info->nickname.') '.$author_info->first_name.' '.$author_info->last_name.'</option>';
    203203                        }
    204204                        echo "</select>";
  • oxford-debate/trunk/oxd.php

    r1158329 r1165366  
    77 * the capabilities of both speakers and audience. The speakers may argue using web connectivity and multimedia,
    88 * and the audience can also comment fixing its position on the proposals of the speakers or raising their own alternatives.
    9  * Version: 1.0.1
     9 * Version: 1.0.2
    1010 * Author: Rafa Fernandez
    1111 * Author URI: http://cws-tech.com
     
    2121}
    2222
    23 define( 'OXD_VERSION', '1.0.1' );
     23define( 'OXD_VERSION', '1.0.2' );
    2424define( 'OXD_DIR', plugin_dir_path( __FILE__ ) );
    2525
     
    4747        add_filter('comments_template', array($this, 'comments_template_loader') );
    4848
    49 
    50        
    51        
    5249        register_activation_hook( __FILE__, array($this,'activate') );
    5350        register_deactivation_hook( __FILE__, array($this,'deactivate') );
    5451    }
     52
    5553
    5654    function activate($networkwide) {
  • oxford-debate/trunk/readme.txt

    r1158331 r1165366  
    1919For more information see:
    2020
    21 http://en.wikipedia.org/wiki/Debate#Oxford-Style_debate
     21Google Group link: https://groups.google.com/forum/#!forum/oxford-style-debate
     22Twitter profile: https://twitter.com/oxfdebate
     23Docs & resources: http://t.co/bqsUVUAXFe
     24Project updates: https://trello.com/b/RACV8Yy8/oxford-debate-wp-plugin
     25
    2226
    2327== Installation ==
     
    28324. Type Oxford Debate in search box and hit enter and install plugin from there
    29335. Activate the plugin through the 'Plugins' menu of WordPress
    30 6. Bootstrap framework is needed in your theme
    3134
    3235== Frequently Asked Questions ==
     
    3841= What is the role for posture user ? =
    3942
    40 Author
     43All
    4144
    4245== Screenshots ==
     
    4952
    5053== Changelog ==
     54= 1.0.2 =
     55* Added: All user roles included
     56* Fixed: Added Bootstrap framework into single-debate.php
     57
    5158= 1.0.1 =
    5259* Fixed: single-debate.php bug
     
    6471* Added: Multilanguage compatibility
    6572
    66 = 0.6.0 =p
     73= 0.6.0 =
    6774* Added: Comments area
    6875* Fixed: HTML bug
  • oxford-debate/trunk/templates/single-debate.php

    r1158329 r1165366  
    11<?php
    2 wp_enqueue_style( 'oxford-bootstrap', plugins_url( '/oxd/css/bootstrap.min.css' ) );   
     2wp_register_style( 'oxd-bootstrap', plugins_url( '/oxd/css/bootstrap.min.css' ) );
     3wp_enqueue_style( 'oxd-bootstrap' );
    34?>
    45
Note: See TracChangeset for help on using the changeset viewer.