Changeset 448145
- Timestamp:
- 10/06/2011 04:13:37 PM (14 years ago)
- Location:
- fanpage-connect/trunk
- Files:
-
- 5 edited
-
css/fanpage-connect.css (modified) (1 diff)
-
css/wp.css (modified) (2 diffs)
-
fanpage-connect-options.php (modified) (1 diff)
-
fanpage-connect.php (modified) (8 diffs)
-
readme.txt (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
fanpage-connect/trunk/css/fanpage-connect.css
r410279 r448145 120 120 border: 1px solid #aaa !important; 121 121 } 122 123 .fpc-version { 124 float: right; 125 font-style: italic; 126 } -
fanpage-connect/trunk/css/wp.css
r410279 r448145 63 63 float: left; 64 64 margin: 0 auto; 65 width: 5 00px;65 width: 520px; 66 66 border-bottom: 1px solid #1D4088; 67 67 } … … 70 70 font-size: 12px; 71 71 margin-left: 8px; 72 width: 492px;72 width: 512px; 73 73 } 74 74 #fpc-menu .menu-header ul, -
fanpage-connect/trunk/fanpage-connect-options.php
r427200 r448145 104 104 <?php wp_nonce_field('fpc-options-nonce'); ?> 105 105 106 <span class="fpc-version">You're Rocking Fanpage Connect Free <strong>v<?php echo FPC_PLUGIN_VERSION; ?></strong></span> 106 107 <h3>Global Fan Page Connect Settings</h3> 107 108 -
fanpage-connect/trunk/fanpage-connect.php
r437541 r448145 3 3 Plugin Name: Fanpage Connect FREE 4 4 Plugin URI: http://www.fanpageconnect.com 5 Version: v1.4. 35 Version: v1.4.4 6 6 Author: Pat Friedl, Chris Friedl, Bryan Batson 7 7 Description: Fanpage Connect is the WordPress plugin that allows you to create an administer your Facebook fan pages directly from WordPress. … … 79 79 80 80 if (!defined('FPC_PLUGIN_VERSION')) 81 define('FPC_PLUGIN_VERSION','1.4. 3');81 define('FPC_PLUGIN_VERSION','1.4.4'); 82 82 83 83 global $post; … … 92 92 add_action('admin_init', array(&$this, 'fpc_admin_init')); 93 93 add_action('admin_footer',array(&$this, 'fpc_admin_footer')); 94 95 // add jquery to the page 96 add_action('wp_enqueue_scripts',array(&$this, 'fpc_add_jquery')); 94 97 95 98 // add to tinyMCE … … 259 262 </style> 260 263 <script type="text/javascript"> 261 window.fbAsyncInit = function() { FB.Canvas.setAuto Resize(100); }262 function sizeChangeCallback() { FB.Canvas.setAuto Resize(100); }264 window.fbAsyncInit = function() { FB.Canvas.setAutoGrow(100); } 265 function sizeChangeCallback() { FB.Canvas.setAutoGrow(100); } 263 266 </script> 264 267 <?php } ?> … … 355 358 <script type="text/javascript"> 356 359 FB.init({ appId : '<?php echo $this->fbappid; ?>', status : true, cookie : true, xfbml : true, oauth: true }); 357 <?php if(!empty($this->fbappid) ):?>360 <?php if(!empty($this->fbappid) && !empty($this->g_fp_url)):?> 358 361 FB.Event.subscribe('edge.create', function(response) { top.location.href = "<?php echo $this->g_fp_url.'?sk=app_'.$this->fbappid; ?>"; }); 359 FB.Event.subscribe('edge. create', function(response) { top.location.href = "<?php echo $this->g_fp_url.'?sk=app_'.$this->fbappid; ?>"; });362 FB.Event.subscribe('edge.remove', function(response) { top.location.href = "<?php echo $this->g_fp_url.'?sk=app_'.$this->fbappid; ?>"; }); 360 363 <?php endif; ?> 361 364 </script> … … 442 445 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 443 446 */ 447 448 /* 449 enqueue jQuery 450 */ 451 function fpc_add_jquery() { 452 if (!is_admin()) { 453 wp_enqueue_script('jquery'); 454 } 455 } // end enqueue jquery 444 456 445 457 /* … … 856 868 */ 857 869 function reg_form($step,$name,$email,$frm,$hide,$btn){ 858 $doc_protocol = (empty($_SERVER['HTTPS']))? 'http://' : 'https://';859 $options_url = $doc_protocol . $_SERVER['HTTP_HOST'] . $_SERVER['SCRIPT_NAME'];860 $option_page = ($_GET['page'] != '') ? $_GET['page'] : 'fanpage-connect.php';861 $admin_url = $options_url.'?page='.$option_page;862 870 ?> 863 871 <script language="javascript"> … … 903 911 <input type="hidden" name="custom Website" value='<?php bloginfo('url'); ?>' /> 904 912 <input type="hidden" name="reg_step" value="<?php echo $step;?>" /> 905 <input type="hidden" name="admin_url" value="<?php echo $admin_url; ?>"> 906 <img src="http://forms.aweber.com/form/displays.htm?id=jMyc7JxsjAzMrA==" alt="" /> 913 <script language="javascript"> 914 document.write('<input type="hidden" name="admin_url" value="'+document.location+'">'); 915 </script> 916 <img src="https://forms.aweber.com/form/displays.htm?id=jMyc7JxsjAzMrA==" alt="" /> 907 917 </div> 908 918 <table cellpadding="5" cellspacing="3" border="0" class="reg_form_center"<?php if($hide){echo ' style="display:none;"';} ?>> -
fanpage-connect/trunk/readme.txt
r437565 r448145 6 6 Requires at least: 3.0 7 7 Tested up to: 3.2.1 8 Stable tag: 1.4. 38 Stable tag: 1.4.4 9 9 10 10 Fanpage Connect is the WordPress plugin that allows you to create an administer your Facebook fan pages directly from WordPress. … … 115 115 == Upgrade Notice == 116 116 117 * Emergency patch - please update immediately!117 * Minor updates, please upgrade! 118 118 119 119 == Changelog == 120 = 1.4.4 = 121 * Fixed occasional https/http/multi-site confusion when activating the plugin. 122 * Fixed like/unlike in reload to ensure that a fan page url is defined for edge.create/remove events 123 * Now enqueueing jQuery! 124 * Added plugin version number to the global settings page 125 * Converted the soon to be deprecated setAutoResize function to setAutoGrow for FB iFrame resizing 126 * Fixed menu width - now 520 pixels! 127 120 128 = 1.4.3 = 121 129 * Emergency patch for broken version 1.4.2!
Note: See TracChangeset
for help on using the changeset viewer.