Changeset 852276
- Timestamp:
- 02/05/2014 10:24:42 PM (12 years ago)
- Location:
- membership-simplified-for-oap-members-only/trunk
- Files:
-
- 4 edited
-
css/admin_posts.css (modified) (1 diff)
-
css/admin_style.css (modified) (2 diffs)
-
oapmembership.php (modified) (6 diffs)
-
readme.txt (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
membership-simplified-for-oap-members-only/trunk/css/admin_posts.css
r707212 r852276 487 487 -moz-border-radius: 5px; 488 488 border-radius: 5px; 489 border: 1px solid #7DB4FA; 489 490 color: #000000; 490 491 font-family: League; -
membership-simplified-for-oap-members-only/trunk/css/admin_style.css
r707212 r852276 247 247 #installbutton 248 248 { 249 background: # efefef;250 border -color:#DFDFDF;251 color: #94b95a;249 background: #94b95a; 250 border: 1px solid #DFDFDF; 251 color: white; 252 252 font: 20px League; 253 253 height: 51px; … … 266 266 #installbutton:hover 267 267 { 268 background: #94b9 5a;268 background: #94b96d; 269 269 color:white; 270 270 border:none; -
membership-simplified-for-oap-members-only/trunk/oapmembership.php
r851479 r852276 5 5 Description: 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) 6 6 Author: William.DeAngelis, OfficeAutopilot 7 Version: Beta 1.4 58 Release date: 2/ 4/20147 Version: Beta 1.46 8 Release date: 2/5/2014 9 9 Author URI: http://membership.officeautopilot.com 10 10 */ … … 27 27 $table2_name = $wpdb->prefix . "media_listing"; 28 28 29 if ($wpdb->get_var("show tables like $table_name") != $table_name)29 if ($wpdb->get_var("show tables like '$table_name'") != $table_name) 30 30 { 31 31 $sql = "CREATE TABLE IF NOT EXISTS $table_name … … 37 37 PRIMARY KEY (recordID) );"; 38 38 require_once(ABSPATH . 'wp-admin/includes/upgrade.php'); 39 dbDelta($sql);39 $wpdb->query($sql); 40 40 } 41 41 42 if ($wpdb->get_var(" show tables like $table2_name") != $table2_name)42 if ($wpdb->get_var("SHOW TABLES LIKE '$table2_name'") != $table2_name) 43 43 { 44 44 $sql2 = "CREATE TABLE IF NOT EXISTS $table2_name … … 47 47 recordListingID int(11) NOT NULL, 48 48 recordText varchar(100) NOT NULL, 49 fileName varchar( 100) NOT NULL,49 fileName varchar(255) NOT NULL, 50 50 PRIMARY KEY (recordID) );"; 51 51 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)" ); 53 58 } 54 59 } … … 1067 1072 { ?> 1068 1073 1069 <div class="hright oap MediaFullWidth ontravideo">1074 <div class="hright oapInfobox oapMediaFullWidth ontravideo"> 1070 1075 <?php 1071 1076 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')) … … 1130 1135 $nonios = 'mp4:' . $viddataurlstripped; 1131 1136 $ios = $viddataurl; 1132 1133 1137 1134 1138 if ($vidext=='flv' || $vidext=='mp4' || $vidext=='mov') -
membership-simplified-for-oap-members-only/trunk/readme.txt
r851479 r852276 47 47 48 48 == 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 49 54 50 55 = Beta 1.45 =
Note: See TracChangeset
for help on using the changeset viewer.