starflow
Forum Replies Created
-
Forum: Plugins
In reply to: [A-Z Listing] Add countThanks for the additional information Daniel,
Just so you are aware, I am getting the following error:
PHP Warning: Division by zero in....
It comes from this line in the page template file:
<?php $numpercol = ceil( num_a_z_posts() / $_a_z_listing_colcount ); ?>
Forum: Plugins
In reply to: [WassUp Real Time Analytics] Database error after updateThank you! I shall await the fix. I am away for the holidays anyway, so no access.
Happy New Year!
Forum: Plugins
In reply to: [WassUp Real Time Analytics] Database error after updateOh and I was alerted to this issue by email:
Wassup wp-cron Error!
scheduled dbtask encountered an error:
ERROR: Unknown task OPTIMIZE TABLE wp_wassupForum: Fixing WordPress
In reply to: Delete User, Delete all Content does not delete uploaded imagesNevermind, I didn’t see them delete, but they do if you come out of the uploads folder and go back in, they are gone.
Forum: Plugins
In reply to: [Allow Multiple Accounts] Not working on WordPress 4.0It’s been 4 months since I posted here, so I had practically giving up on this plugin and this post. But yes, I did notice last week sometime it was updated. Thanks for updating!
Forum: Plugins
In reply to: [Simple User Listing] Show only users with at least 1 postThis thread as marked as [resolved] which bit is resolved? I tried the solution by fsx, but that produced a blank page.
Forum: Plugins
In reply to: [Simple User Listing] Show only users with at least 1 postSorry, I am still none the wiser. Do you have an example of how to use that posts_per_author (or equivalent)?
Forum: Plugins
In reply to: [Simple User Listing] Show only users with at least 1 postSorry I got confused, what was the definitive answer here?
Same problem for me too, needs a fix.
Forum: Plugins
In reply to: [Yoast SEO] Warning after activation: The plugin generated 241..Just pushed out 1.4.4 which fixes this error.
I know this thread is 9 months old, but where can I get hold of 1.4.4?
On your site I can only download 1.4.21 – and what exactly was it you did that fixed it?
Forum: Plugins
In reply to: [WordPress Simple Shopping Cart] Errors in Debug ModeGreat, thank you!
Forum: Plugins
In reply to: [WordPress Simple Shopping Cart] Errors in Debug ModeA shed load of error notices in debug mode in both back and front end.
I mean lots of Undefined Idexes and Variables, far too many to mention.
Can I ask, when will you address these in the plugin?
(I am using the latest WP 3.7.1)
Forum: Plugins
In reply to: [Cartpauj PM] Errors On ActivationI looked up Message Mania and found an sms system instead. Any news of a fix to the cartpauj-pm plugin yet?
Forum: Fixing WordPress
In reply to: How to insert php inside php…I am using wp-favorites plugin in a classipress site
My aim is to incle the ad price in the page layout in the favorites page
I am trying to add some php code into the page template file, but not having much luck
Here is the existing code:
<?php echo "<div class='wpfp-span'>"; if (!empty($user)): if (!wpfp_is_user_favlist_public($user)): echo "$user's Favorite Posts."; else: echo "$user's list is not public."; endif; endif; if ($wpfp_before): echo "<p>".$wpfp_before."</p>"; endif; echo "<ul>"; if ($favorite_post_ids): foreach ($favorite_post_ids as $post_id) { $p = get_post($post_id); global $post; echo "<li><h3>"; echo "<a href='".get_permalink($post_id)."' title='". $p->post_title ."'>" . $p->post_title . "</a></h3>"; $price = get_post_meta( $post->ID, 'price' ); echo $price; if(get_post_meta($item->post_id, 'cp_price', true)); if ( get_post_meta( $post->ID, 'price', true ) ) cp_get_price_legacy( $post->ID ); else cp_get_price( $post->ID, 'cp_price' ); echo "<a href='".get_permalink($post_id)."' title='". $p->post_title ."'>"; if(get_post_meta($post_id, 'images', true)) cp_single_image_legacy($post_id, get_option('medium_size_w'), get_option('medium_size_h')); else cp_get_image($post_id, 'medium', 1); echo "</a>"; echo substr(strip_tags($p->post_content), 0, 250)."..."; echo "<br />"; wpfp_remove_favorite_link($post_id); echo "</li>"; } else: echo "<li>"; echo $wpfp_options['favorites_empty']; echo "</li>"; endif; echo "</ul>"; wpfp_clear_list_link(); echo "</div>"; wpfp_cookie_warning(); ?>
The php code I want to insert is:
<?php if ( get_post_meta( $post->ID, 'price', true ) ) cp_get_price( $post->ID, 'price' ); else cp_get_price( $post->ID, 'cp_price' ); ?>
How can I do this?
I did just try adding the code like this:
if ( get_post_meta( $post->ID, 'price', true ) ) cp_get_price( $post->ID, 'price' ); else cp_get_price( $post->ID, 'cp_price' );
but it did not work ie: it does not call up the price and display it in the page
Any help will be greatly appreciated – thank you
I did what you said and it removed the first part of the error, but not the 2nd: Error. API Key is not valid.
and yes, it does appear that this plugin does not work, not for me anyway I can’t upload anything!