Changeset 864871
- Timestamp:
- 02/25/2014 06:03:07 PM (12 years ago)
- Location:
- buddypress-media/trunk
- Files:
-
- 1 added
- 6 edited
-
app/admin/RTMediaAdmin.php (modified) (1 diff)
-
app/assets/css/admin.css (modified) (1 diff)
-
app/assets/img/rtmedia-theme-InspireBook.png (added)
-
app/helper/RTMediaThemes.php (modified) (1 diff)
-
app/main/RTMedia.php (modified) (1 diff)
-
index.php (modified) (1 diff)
-
readme.txt (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
buddypress-media/trunk/app/admin/RTMediaAdmin.php
r864156 r864871 90 90 add_action ( 'admin_notices', array( $this, 'rtmedia_update_template_notice' ) ); 91 91 add_action ( 'admin_init', array( $this, 'rtmedia_bp_add_update_type' ) ); 92 add_action ( 'admin_notices', array( $this, 'rtmedia_inspirebook_release_notice' ) ); 93 add_action ( 'wp_ajax_rtmedia_hide_inspirebook_release_notice', array( $this, 'rtmedia_hide_inspirebook_release_notice' ), 1 ); 94 } 95 96 function rtmedia_inspirebook_release_notice() { 97 $site_option = rtmedia_get_site_option("rtmedia_inspirebook_release_notice"); 98 if(!$site_option || $site_option != "hide") { 99 rtmedia_update_site_option("rtmedia_inspirebook_release_notice", "show"); 100 ?> 101 <div class="updated rtmedia-inspire-book-notice"> 102 <p> 103 <span><a href="https://rtcamp.com/store/inspirebook/" target="_blank"><b>Meet InspireBook</b></a> - First official rtMedia premium theme.</span> 104 <a href="#" onclick="rtmedia_hide_template_override_notice()" style="float:right">Dismiss</a> 105 </p> 106 </div> 107 <script type="text/javascript"> 108 function rtmedia_hide_template_override_notice() { 109 var data = {action : 'rtmedia_hide_inspirebook_release_notice'}; 110 jQuery.post(ajaxurl,data,function(response){ 111 response = response.trim(); 112 if(response === "1") 113 jQuery('.rtmedia-inspire-book-notice').remove(); 114 }); 115 } 116 </script> 117 <?php 118 } 119 } 120 121 function rtmedia_hide_inspirebook_release_notice() { 122 if( rtmedia_update_site_option("rtmedia_inspirebook_release_notice", "hide" ) ) 123 echo "1"; 124 else 125 echo "0"; 126 die(); 92 127 } 93 128 -
buddypress-media/trunk/app/assets/css/admin.css
r847076 r864871 758 758 } 759 759 760 #rtm-themes h3.rtmedia-theme-3rd-party-title {760 #rtm-themes h3.rtmedia-theme-3rd-party-title, #rtm-themes h3.rtmedia-theme-title { 761 761 margin: 5px 0; 762 762 } 763 763 764 #rtm-themes h3.rtmedia-theme-3rd-party-title a {764 #rtm-themes h3.rtmedia-theme-3rd-party-title a, #rtm-themes h3.rtmedia-theme-title a, #rtm-themes .rtmedia-theme-content a { 765 765 text-decoration: none; 766 766 } -
buddypress-media/trunk/app/helper/RTMediaThemes.php
r855726 r864871 94 94 <div class="row"> 95 95 <div class="columns large-12"> 96 <h3><?php _e('Coming Soon...','rtmedia'); ?></h3> 97 <p><?php _e('We are working on some rtMedia themes which will be available shortly.','rtmedia'); ?></p> 96 <div class="columns large-4 rtmedia-theme-image"><a href="https://rtcamp.com/store/inspirebook/" target="_blank"><img src="<?php echo RTMEDIA_URL.'app/assets/img/rtmedia-theme-InspireBook.png' ?>" /></a> </div> 97 <div class="columns large-7 rtmedia-theme-content"> 98 <h3 class="rtmedia-theme-title"><a href="https://rtcamp.com/store/inspirebook/" target="_blank">InspireBook</a></h3> 99 <div> 100 <p> 101 <span><a href="https://rtcamp.com/store/inspirebook/" target="_blank"><b>Meet InspireBook</b></a> - First official rtMedia premium theme.</span> 102 </p> 103 <p> 104 <span>InspireBook is a premium WordPress theme, designed especially for BuddyPress and rtMedia powered social-networks. <a href="https://rtcamp.com/introducing-inspirebook/" class="rtmedia-theme-inner-a" target="_blank">Read More</a> </span> 105 </p> 106 <p> 107 <span>Links: <a href="https://rtcamp.com/store/inspirebook/" target="_blank">Buy InspireBook</a> | <a href="http://demo.rtcamp.com/rtmedia/?theme=InspireBook" target="_blank">Live Demo</a> | <a href="https://rtcamp.com/docs/inspirebook/" target="_blank">Documentation</a> | <a href="https://rtcamp.com/support/forum/premium-themes/" target="_blank">Support Forum</a></span> 108 </p> 109 </div> 110 </div> 98 111 </div> 99 112 </div> -
buddypress-media/trunk/app/main/RTMedia.php
r854592 r864871 836 836 wp_localize_script('rtmedia-main', 'rtmedia_delete_uploaded_media', __('This media is uploaded. Are you sure you want to delete this media?',"rtmedia")); 837 837 wp_localize_script ( 'rtmedia-backbone', 'rMedia_loading_media', RTMEDIA_URL . "app/assets/img/boxspinner.gif" ); 838 global $rtmedia_query; 839 if( class_exists('BuddyPress') ) { 840 $rtmedia_user_domain = trailingslashit ( bp_displayed_user_domain() . constant('RTMEDIA_MEDIA_SLUG') ); 841 } else { 842 $rtmedia_user_domain = trailingslashit( trailingslashit( get_author_posts_url($rtmedia_query->query['context_id'] ) ). constant('RTMEDIA_MEDIA_SLUG') ); 843 } 844 wp_localize_script ( 'rtmedia-backbone', 'rtmedia_user_domain', $rtmedia_user_domain ); 838 845 } 839 846 -
buddypress-media/trunk/index.php
r864156 r864871 5 5 Plugin URI: http://rtcamp.com/buddypress-media/?utm_source=dashboard&utm_medium=plugin&utm_campaign=buddypress-media 6 6 Description: This plugin adds missing media rich features like photos, videos and audio uploading to BuddyPress which are essential if you are building social network, seriously! 7 Version: 3.6. 47 Version: 3.6.5 8 8 Author: rtCamp 9 9 Text Domain: rtmedia -
buddypress-media/trunk/readme.txt
r864156 r864871 7 7 Requires at least: WordPress 3.6 8 8 Tested up to: WordPress 3.7 + BuddyPress 1.8.1 9 Stable tag: 3.6. 49 Stable tag: 3.6.5 10 10 11 11 Add albums, photo, audio/video encoding, privacy, sharing, front-end uploads & more. All this works mobile/tablets devices. … … 133 133 134 134 Please visit [rtMedia's Roadmap page](http://rtcamp.com/rtmedia/roadmap/?utm_source=readme&utm_medium=plugin&utm_campaign=buddypress-media "Visit rtMedia's Features page") to get some details about future releases. 135 = 3.6.5 = 136 * rtMedia premium theme InspireBook 1.0 released 137 135 138 = 3.6.4 = 136 139 * Update German language files … … 710 713 == Upgrade Notice == 711 714 712 = 3.6. 4=713 Requires BuddyPress 1.7 or higher, if using BuddyPress. German translation updated, bug fixes.715 = 3.6.5 = 716 Requires BuddyPress 1.7 or higher, if using BuddyPress. rtMedia premium theme InspireBook 1.0 released. 714 717 715 718 == Sponsors ==
Note: See TracChangeset
for help on using the changeset viewer.