familiar
Forum Replies Created
-
Forum: Alpha/Beta/RC
In reply to: 2.7 RC1 Crashes FirefoxThis is a Paypal bug. The Trac ticket was rightly discarded.
Forum: Alpha/Beta/RC
In reply to: Comments are always being held for moderationMust’ve been fixed at some point, which is nice 🙂
Forum: Alpha/Beta/RC
In reply to: 2.7 RC1 Users admin panel bug reportTry clearing your cache and reloading the pages. It works fine here with FF 3 on a Mac.
Forum: Alpha/Beta/RC
In reply to: FormatA couple things.
First, your surrounding tables have varying widths (from 65% to 100%). I would suggest setting them all to 100%:
http://www.wearefamiliar.com/imageshare/4ae785d4355e8c122a91bf4cf233ccd9.png
Next, the tables within them, set the TD values to 50% width, instead of specifying to the pixel:
http://www.wearefamiliar.com/imageshare/df8e026888e3bfde19fe837da4ff2bf9.png
Third, set your TR vertical align to TOP for the row that is holding the cells:
http://www.wearefamiliar.com/imageshare/0e9011c2fa645a6fe84d21ec2375a0eb.png
And you will end up with this:
http://www.wearefamiliar.com/imageshare/d5b2fc5e8ada3409b0f939d8beccf8ec.png
… instead of this:
http://www.wearefamiliar.com/imageshare/80adbc5bcf62fa9615eb61264a653b72.png
Forum: Alpha/Beta/RC
In reply to: FormatYou have a mess of nested tables there. My suggestion would be to rework the design so that you are using DIVs for placement, and tables only where the actual statistical data is.
Anyway, by setting the table widths for the charts to 50% instead of by pixel, and setting your containing <tr> valign=top, you can achieve this:
http://www.wearefamiliar.com/imageshare/a83a87fe192c018e3c38c19ba3a74cd6.png
But you need to look into fixing the layout, as tables are not a good method to get the effect you’re going for.
Forum: Alpha/Beta/RC
In reply to: Visual Editing Tools Not ShowingSounds like a Javascript problem — it’s too bad it wasn’t caused by one of the scripts. There is more than one place where it might be failing; trying to guess where over the internet is painful. TinyMCE can be a really finicky thing.
Forum: Alpha/Beta/RC
In reply to: Visual Editing Tools Not ShowingOK, so you see the editor for a second now, before it disappears. Interesting. Is this with my test plugin enabled, and all your others disabled?
Forum: Alpha/Beta/RC
In reply to: Visual Editing Tools Not ShowingIt’s here:
http://www.wearefamiliar.com/imageshare/65a3bb1acedd290c4a18632ed2f6aaef.pngJust below the “strip plug-ins” comment.
EDIT: OK I am looking at the Kimili code for you. He has it add the plug-in before init. The code above may remove his plug-in entirely. If it does, try this:
$plugins['kfe'] = WP_PLUGIN_URL.'/kimili-flash-embed/kfe/editor_plugin_tmce3.js'; $initarray['plugins'] = 'kfe';This should load only his plugin, which he defines as ‘kfe’ in his code.
Forum: Alpha/Beta/RC
In reply to: Visual Editing Tools Not Showing@minoofar: Yes, try re-activating Kimili, then activating my plug-in, and see if your visual editor comes back. Could be one of the TinyMCE plug-ins not behaving with Kimili. I have left three plug-ins loading, which – aside from the Safari fixes – are both essential to TinyMCE working well with WordPress. But for the sake of testing, you could remove those as well by changing this line:
$initarray['plugins'] = 'safari,inlinepopups,wordpress';to this:
$initarray['plugins'] = '';Forum: Alpha/Beta/RC
In reply to: 2.7 New admin interfaceInteresting. I much prefer the current design. As far as interface paradigms go, I find it more intuitive than the last revision.
Forum: Alpha/Beta/RC
In reply to: Visual Editing Tools Not Showing@minoofar: The first post here mentions that he has tried a clean install with no plug-ins.
@mseliga: I am going to suggest something I suggested in another thread for speeding up post page load-times. Install the following stripped TinyMCE install, and let me know if it makes any difference. It sounds to me like the TinyMCE init is not working for you. One of the frustrating things about TinyMCE is it’s caching mechanism. Anyway, here’s the code, it won’t do anything except strip all extraneous TinyMCE features. Clear your cache and refresh a few times after installing the plugin:
<?php /* Plugin Name: Stripped TinyMCE Plugin URI: http://www.wearefamiliar.com/ Description: Stripped TinyMCE Version: 1.0 Author: Familiar Author URI: http://www.wearefamiliar.com/ Tags: wordpress tinymce -- Released under GPL -- Copyright 2008 Familiar This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version. This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA -- A word of caution -- As TinyMCE is the primary editor for WordPress, losing necessary functionality is not fun. So unless you know what you're doing, don't change this code. */ add_filter('mce_buttons', 'familiar_mce_buttons', 0); add_filter('mce_buttons_2', 'familiar_mce_buttons_2', 0); add_filter('htmledit_pre', 'familiar_mce_htmledit', 999); add_filter('tiny_mce_before_init', 'familiar_mce_before_init', 0); function familiar_mce_buttons($buttons) { $buttons = array('bold', 'italic', 'strikethrough', '|', 'bullist', 'numlist', '|', 'blockquote', '|', 'justifyleft', '|', 'link', 'unlink', '|', 'wp_more', '|', 'wp_adv', '|', 'removeformat', 'code'); return $buttons; } function familiar_mce_buttons_2($buttons_2) { $buttons_2 = array('undo', 'redo', '|', 'cut', 'copy', 'paste', '|', 'help'); return $buttons_2; } /* Strip unnecessary plugins */ function familiar_mce_before_init($initarray) { $initarray['plugins'] = 'safari,inlinepopups,wordpress'; $initarray['spellchecker_languages'] = ''; return $initarray; } function familiar_mce_htmledit($c) { $c = preg_replace( array('/&/','/</','/>/'), array('&','<','>'), $c ); $c = wpautop($c); $c = htmlspecialchars($c, ENT_NOQUOTES); return $c; } ?>Forum: Alpha/Beta/RC
In reply to: How to tell if we’re on the dashboard?No problem.
Anyway, the first solution, no that is not a well-documented feature. But to answer your second question — that can be done, and that IS documented.
Have a look here:
Action: admin_head-(plugin_page)You’ll notice that (plugin_page) is assigned as a variable prior to setting up the action. You have probably already written that line of code; just assign it to a variable, and you will be able to create the action from it.
Forum: Alpha/Beta/RC
In reply to: How to tell if we’re on the dashboard?add_action('admin_head-index.php', 'your_function'); function your_function() { // Do stuff; }This works for all of the core WordPress PHP files which have a user-facing administration element (i.e. post.php, post-new.php, etc.)
Also you could use
$_SERVER['REQUEST_URI']and compare againstbloginfo('wpurl').'/wp-admin/'— this will also work, as WordPress always appends a trailing slash to the URI.Forum: Alpha/Beta/RC
In reply to: [WP 2.7-beta3] Edit PagesThe Redirect plug-in has done this on 2.5 and 2.6 installs I’ve seen as well.
Forum: Alpha/Beta/RC
In reply to: 2.7 loading/posting/saving is extremely slowIt could be a very slow response from wp-ajax.php. That’s what it sounds like, but it’s tough to say for sure.