johnbenedict
Forum Replies Created
-
Forum: Plugins
In reply to: WP E-Commerce – "E-Commerce" Panels not showing on WP DashboardNot yet. I’m pretty sure there’s something in the WP Database that needs to be updated or deleted – I just don’t know what it is…
Forum: Plugins
In reply to: WP E-Commerce – "E-Commerce" Panels not showing on WP DashboardI tried to un-comment the if(function_exits… + add it down around 759 – deactivate and reactivate the plugin – still no luck…
Forum: Plugins
In reply to: WP E-Commerce – "E-Commerce" Panels not showing on WP DashboardFrom doing some searching of source code – from the WP Dashboard that works – I’ve come to find this: IS_WP27
If that is true – the panels seem to be added in /WPSC/wpsc-admin/admin.php around lines 420:
//if(function_exists('wp_add_dashboard_widget')) { if( IS_WP27 ) { add_action('wp_dashboard_setup','wpsc_dashboard_widget_setup'); } else { add_action('activity_box_end', 'wpsc_admin_dashboard_rightnow'); }and 759:
if( IS_WP27 ) { add_action('wp_dashboard_setup','wpsc_dashboard_4months_widget_setup'); } else { add_action('activity_box_end', 'wpsc_admin_4months_widget_rightnow'); }Forum: Plugins
In reply to: WP E-Commerce – "E-Commerce" Panels not showing on WP DashboardThat made the Dashboard look more ‘default’ – if that makes any sense. I’m now getting the regular WP Blog – instead of the WP Development Blog I was getting.
But still no E-Commerce Panels.
Forum: Plugins
In reply to: WP E-Commerce – "E-Commerce" Panels not showing on WP DashboardI created a dev environment > new WP + new WPSC + copy of current DB + Twenty Ten theme.
No luck.
Feeling pretty sure its in the DB somewhere. I just don’t know what I’m looking for.
Forum: Plugins
In reply to: WP E-Commerce – "E-Commerce" Panels not showing on WP DashboardOk – I updated to WP 3.0.3 / WP E-Commerce to 3.7.8 / WPSC GOLD CART 2.8 / and ran WP_ALLOW_REPAIR.
Then – Deactivated WP E-Commerce – reactivated.
Everything works fine on site – except I still get no E-Commerce panels on the WP Dashboard.
Forum: Plugins
In reply to: WP E-Commerce – "E-Commerce" Panels not showing on WP DashboardThanks jkudish – I’ll try the WP_ALLOW_REPAIR solution later today.
I’ll post the outcome.
Forum: Plugins
In reply to: WP E-Commerce – "E-Commerce" Panels not showing on WP Dashboard3.7.7
Pretty sure this does not have anything to do with it.
The site that IS showing the WPSC Panels in the WP Dashboard was a completely new install of WordPress.
The site that IS NOT showing the WPSC Panels in the WP Dashboard is an updated many times version of WordPress.
Also – some of the panels of the WP Dashboards are different. For instance – the site that is working shows a WordPress Blog panel. The site that does not work shows a WordPress Development Blog panel.
Forum: Plugins
In reply to: WP E-Commerce – "E-Commerce" Panels not showing on WP DashboardYes – it is activated.
Most recent versions of WPEC and WP.
Forum: Fixing WordPress
In reply to: Order by meta_key where meta_value is NUMBERThis worked perfectly.
I have a couple of questions:
1- Is there a way to do what james-mountford described without modifying the query.php file? IE – the functions.php file of a theme?
2- Anyone know if meta_value_number will be auto supported in future versions of WP?
Thanks,
JohnI have a ‘work-around’.
<?php //if ( function_exists( '$Wppt->get_post_thumbnail' ) ) { $thumb = $Wppt->get_post_thumbnail( $post->ID, 'thumbnail_name' ); if ( !empty( $thumb ) ) { ?> <a href="<?php echo get_permalink($post->ID); ?>" title="<?php echo $post->post_title; ?>"><img class="thumbnail" src="<?php echo $thumb['url']; ?>" title="<?php echo $thumb['title']; ?>" alt="<?php echo $thumb['alt']; ?>" width="<?php echo $thumb['width']; ?>" height="<?php echo $thumb['height']; ?>" /></a> <?php } else { ?> <a href="<?php echo get_permalink($post->ID); ?>" title="<?php echo $post->post_title; ?>"><img class="thumbnail" src="/imgs/generic_thumb.jpg" alt="image" width="220" height="120" /></a> <?php } ?>Nothing fancy. It just checks to see if there is a thumbnail for each post. If there isn’t it uses a generic thumbnail image – so be sure to make and post and link correctly to a generic thumbnail.
I’m having an issue with this too.
if ( function_exists( '$Wppt->get_post_thumbnail' ) ) {Messes things up. Or makes nothing display anyway.
If you take the rest of the code out of that – it works. But then you’re not checking for that function.