mrose17
Forum Replies Created
-
Forum: Plugins
In reply to: [Category Order] [Plugin: Category Order] Broken category order plugin[ Moderator Note: Please post code or markup snippets between backticks or use the code button. Or better still – use the pastebin ]
true. the original poster got a corrupted .zip file. i downloaded the .zip and it extracted fine.
with respect to “the plugin works fine”, you’re right: the key change to make is this:
function wpguy_category_order_menu(){ if (function_exists('add_submenu_page')) { - add_submenu_page("edit.php", 'Category Order', 'Category Order', 4, "wpguy_category_order_options", 'wpguy_category_order_options'); + add_submenu_page("edit.php", 'Category Order', 'Category Order', 'manage_categories', "wpguy_category_order_options", 'wpguy_category_or der_options'); } - }if you want the plugin to work with categories for things other than posts, then there is a little more work to do…
i hope this helps. you don’t remove a line, but you change it subtly:
in classes/locations.php:
– if ( $location_zip != $new_zip ) update_post_meta( $post, ‘location_zip’, $new_zip );
+ if ( “$location_zip” !== “$new_zip” ) update_post_meta( $post, ‘location_zip’, $new_zip );Forum: Themes and Templates
In reply to: [Suffusion] [Theme: Suffusion] template with page contentoops!
thanks,
/mtr
Forum: Themes and Templates
In reply to: [Suffusion] [Theme: Suffusion] template with page contentthanks for the reply. here is the smallest example of something that doesn’t work… (i took all of my code out of the template and just have suffusion_content();
<?php
/**
* Template Name: Printable Publications
*
* Displays the Printable Publications page
*
* @package Suffusion
* @subpackage Template
*/
global $suffusion_unified_options;
foreach ($suffusion_unified_options as $id => $value) {
$$id = $value;
}get_header();
?>
<div id=”main-col”>
<?php suffusion_before_begin_content(); ?>
<div id=”content” class=’hfeed content’>
<?php
suffusion_content ();
?>
</div><!– content –>
</div><!– main col –>
<?php get_footer(); ?>this isn’t for a paying gig… however, the project is very much appreciated!
will do, thanks!
hopefully, there’s a simple fix… having to do a lot of work with the WP image API is undesirable.
and with the current version, the files show up… so, never mind!
Forum: Plugins
In reply to: [WP Super Cache] [Plugin: WP Super Cache] Expiry Time & Garbage Collectionand it only took me 30m staring at the ‘inspect element’ screen to notice it. (-;
Forum: Plugins
In reply to: [WP Super Cache] [Plugin: WP Super Cache] Expiry Time & Garbage Collectionhere is the problem – the <option/> should use value= rather than name=
--- _wp-cache.php 2012-02-23 00:05:32.000000000 -0600 +++ wp-cache.php 2012-03-01 00:55:30.000000000 -0600 @@ -1544,7 +1544,7 @@ $schedules = wp_get_schedules(); echo "<tr><td><br /></td><td><label for='cache_scheduled_select'>" . __( 'Interval:', 'wp-super-cache' ) . "</label></td><td><select id='cache_scheduled_select' name='cache_schedule_interval' size=1>"; foreach( $schedules as $desc => $details ) { - echo "<option name='$desc' " . selected( $desc, $cache_schedule_interval, false ) . " /> {$details[ 'display' ]}</option>"; + echo "<option value='$desc' " . selected( $desc, $cache_schedule_interval, false ) . " /> {$details[ 'display' ]}</option>"; } echo "</select></td></tr>"; echo '</table></td></tr>';Forum: Plugins
In reply to: [TubePress] [Plugin: TubePress] This product is a scammark – is there a security issue with tubepress? i’m a little confused by your remarks in the previous two posts.
sorry for being dense.
– marshall
Forum: Plugins
In reply to: [WP Super Cache] [Plugin: WP Super Cache] Expiry Time & Garbage Collectiondonncha – just a follow-up – using the development version, the daily cron seems to clean up the cache. since i’m running this ‘daily’, i’ll report back in a few days to confirm that…
Forum: Plugins
In reply to: [WP Super Cache] [Plugin: WP Super Cache] Expiry Time & Garbage Collectionit’s easy to select any of the options, the problem is that when the page comes back after clicking “Change Expiration” none of them are selected, leading to first one, ‘weekly’ being displayed.
it’s quite perplexing.
Forum: Plugins
In reply to: [WP Super Cache] [Plugin: WP Super Cache] Expiry Time & Garbage Collectionhi. thanks for the note. here’s what i’ve found:
1. the development version is much more helpful because it says “UTC” more often.
2. the Interval is still showing “Once Weekly”. wp_get_schedules() is returning the usual choices. the reason why “Once Weekly” is selected is because none of the choices are selected, viz.,
<select id='cache_scheduled_select' name='cache_schedule_interval' size=1> <option name='weekly' /> weekly</option> <option name='bimonthly' /> bimonthly</option> <option name='hourly' /> hourly</option> <option name='twicedaily' /> twicedaily</option> <option name='daily' /> daily</option> </select>as to why that is, i couldn’t tell you.
3. i’m going to run with email notifications enabled for a while to see when the cron job fires.
4. please consider bumping the version number in the development version, so there’s a visual cue that this isn’t the current release.
best,
/mtr
Forum: Plugins
In reply to: [Category Order] [Plugin: Category Order] Broken category order plugini went to the plugin page, clicked on Download Version 1.0.3, got a .zip file downloaded, double-clicked on the file and got the directory. there’s not much there: just a readme.txt file and a category-order.php file. the plugin works fine, by the way!
thanks very much for the quick reply! that did the trick.
i’m pretty sure the documentation explains this… i should have researched it better.
best,
/mtr
ps: and thanks for writing software that includes an easy recovery mechanism.