Plugin Directory

Changeset 852276


Ignore:
Timestamp:
02/05/2014 10:24:42 PM (12 years ago)
Author:
william.deangelis
Message:

Updating to 1.46 to fix a few issues

Location:
membership-simplified-for-oap-members-only/trunk
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • membership-simplified-for-oap-members-only/trunk/css/admin_posts.css

    r707212 r852276  
    487487    -moz-border-radius: 5px;
    488488    border-radius: 5px;
     489    border: 1px solid #7DB4FA;
    489490    color: #000000;
    490491    font-family: League;
  • membership-simplified-for-oap-members-only/trunk/css/admin_style.css

    r707212 r852276  
    247247#installbutton
    248248{
    249     background: #efefef;
    250     border-color:#DFDFDF;
    251     color: #94b95a;
     249    background: #94b95a;
     250    border: 1px solid #DFDFDF;
     251    color: white;
    252252    font: 20px League;
    253253    height: 51px;
     
    266266#installbutton:hover
    267267{
    268     background: #94b95a;
     268    background: #94b96d;
    269269    color:white;
    270270    border:none;
  • membership-simplified-for-oap-members-only/trunk/oapmembership.php

    r851479 r852276  
    55Description: Membership Simplified allows you to generate membership lessons with templated content to create a unified look and feel throughout your courses. It also provides the inner workings such as navigation options, a login widget, and tinymce buttons to use when protecting any post or page content. Additionally, it sits on top of PilotPress, thus allowing you to use videos from the video manager, downloadable files from the file manager, and much more. Super easy to setup and manage! (Requires an OfficeAutopilot account and PilotPress installed)
    66Author: William.DeAngelis, OfficeAutopilot
    7 Version: Beta 1.45
    8 Release date: 2/4/2014
     7Version: Beta 1.46
     8Release date: 2/5/2014
    99Author URI: http://membership.officeautopilot.com
    1010*/
     
    2727    $table2_name = $wpdb->prefix . "media_listing";
    2828
    29     if ($wpdb->get_var("show tables like $table_name") != $table_name)
     29    if ($wpdb->get_var("show tables like '$table_name'") != $table_name)
    3030    {
    3131        $sql = "CREATE TABLE IF NOT EXISTS $table_name
     
    3737            PRIMARY KEY (recordID) );";
    3838        require_once(ABSPATH . 'wp-admin/includes/upgrade.php');
    39         dbDelta($sql);
     39        $wpdb->query($sql);
    4040    }
    4141
    42     if ($wpdb->get_var("show tables like $table2_name") != $table2_name)
     42    if ($wpdb->get_var("SHOW TABLES LIKE '$table2_name'") != $table2_name)
    4343    {
    4444        $sql2 = "CREATE TABLE IF NOT EXISTS $table2_name
     
    4747            recordListingID int(11) NOT NULL,
    4848            recordText varchar(100) NOT NULL,
    49             fileName varchar(100)   NOT NULL, 
     49            fileName varchar(255)   NOT NULL, 
    5050            PRIMARY KEY (recordID) );";
    5151        require_once(ABSPATH . 'wp-admin/includes/upgrade.php');
    52         dbDelta($sql2);
     52        $wpdb->query($sql2);
     53    }
     54    else
     55    {
     56        require_once(ABSPATH . 'wp-admin/includes/upgrade.php');
     57        $wpdb->query( "ALTER TABLE " . $wpdb->prefix . "media_listing change fileName fileName VARCHAR(255)" );
    5358    }
    5459}
     
    10671072                        { ?>
    10681073
    1069                             <div class="hright oapMediaFullWidth ontravideo">
     1074                            <div class="hright oapInfobox oapMediaFullWidth ontravideo">
    10701075                                <?php
    10711076                                if ((get_post_meta( $post->ID, '_oap_fullvideo_shared_position', true )=='Full Width' || get_option('oapmp_fullvideo_shared_position')=='Full Width') || get_option('oapmp_fullvideo_shared_position')=='720 by 420' || (get_post_meta( $post->ID, '_oap_fullvideo_shared_position', true )=='720 by 420'))
     
    11301135                                                $nonios = 'mp4:' . $viddataurlstripped;
    11311136                                                $ios = $viddataurl;
    1132 
    11331137
    11341138                                                if ($vidext=='flv' || $vidext=='mp4' || $vidext=='mov')
  • membership-simplified-for-oap-members-only/trunk/readme.txt

    r851479 r852276  
    4747
    4848== Changelog ==
     49
     50= Beta 1.46 =
     51* Adding an option to update the varchar length of the amazon s3 file names to ensure long filename will work properly.
     52* Added a missing class to fix an issue with tab display under videos
     53* Added minor styling updates to the backend settings area
    4954
    5055= Beta 1.45 =
Note: See TracChangeset for help on using the changeset viewer.