Peter023
Forum Replies Created
-
Forum: Plugins
In reply to: [Comments - wpDiscuz] wpDiscuz not showing up anymoreOK, we had to disable it on the live server. It was terrible slow or generating a http 500 error on the pages (and custom posts) where wpdiscuz is active.
It is working on our test server though.
The only different is that the dev server is not on https.
Tried all settings in Secure comment content in HTTPS protocol. No luck.Any idea?
Forum: Plugins
In reply to: [Comments - wpDiscuz] wpDiscuz not showing up anymoreNevermind, we got it working with adding a custom post type.
Forum: Plugins
In reply to: [Admin Columns] Fatal error after UpdateUpdate: According to our troubleshooter it is another pluging causing the issue. If I revert the update from that plugin both plugins are working fine.
I think we will leave it this way.
Thanks.
Forum: Plugins
In reply to: [Admin Columns] Fatal error after Updatebtw, as a ‘Pro’user we also tried this to post this on your own support forum. Why is the post not showing up?
Forum: Plugins
In reply to: [WaveSurfer-WP] Waveform and Olam theme problemHi,
It is indeed horror to get everthing working like the way we want it.
If I knew this before I would never have cohsen this path.
We would have buld everything from scratch.Anyway thanks for your message, much appreciated.
Ok Thanks Pippin, we hired a developer and it is working now.
Hi Pippin,
Thanks for the link, but that is not exactly what i mean.
I want to manually set the product (download) status.
Example:
Set it to “Contact us for prices” in admin and then the purchase button will change to “Contact us” or something.
Forum: Plugins
In reply to: [WaveSurfer-WP] Any updates coming soon?Another dead wp horse?
Forum: Plugins
In reply to: [Simple Link Directory] Recurring paymentsThanks, will do!
Same here! Update is messing up my product pages. Where can I get/download previous versions?
Ok, well I have to dive into coding then.
Can’t believe this WP category hierarchy still exist in 2016, not even a option to disable it. This whole subcat structure looks ancient.
Anyway, thanks for the link Pippin.
Forum: Plugins
In reply to: [Membership 2] Change Paypal ButtonHi Bojan,
Thanks, got the button working.
Anyone?
Maybe I need to clarify a bit, i’m sure it is possible:
I use a widget with the most popular tracks. The list is sorted by most views.
The views are counted by adding this snippet to function.php:
function getPostViews($postID){
$count_key = ‘post_views_count’;
$count = get_post_meta($postID, $count_key, true);
if($count==”){
delete_post_meta($postID, $count_key);
add_post_meta($postID, $count_key, ‘0’);
return “0 View”;
}
return $count.’ Views’;
}
function setPostViews($postID) {
$count_key = ‘post_views_count’;
$count = get_post_meta($postID, $count_key, true);
if($count==”){
$count = 0;
delete_post_meta($postID, $count_key);
add_post_meta($postID, $count_key, ‘0’);
}else{
$count++;
update_post_meta($postID, $count_key, $count);
}
}// Remove issues with prefetching adding extra views
remove_action( ‘wp_head’, ‘adjacent_posts_rel_link_wp_head’, 10, 0);In the widget my_widget_popular.php I added:
<?php $args = array(‘showposts’ => $number, ‘nopaging’ => 0, ‘orderby’=>’meta_value_num’, ‘meta_key’ => ‘post_views_count’, ‘order’ => ‘DESC’, ‘post_type’ => array(‘download’), ‘post_status’ => ‘publish’); $mypost = new WP_Query($args); if ($mypost->have_posts()) : ?>
Now I get a nice list with the most popular tracks based on views.
This will show all tracks from all categories.
But I want the list sorted by category. i.e. if I click on category D, the tracks with the most views in that specific category are showing.I tried this: https://stackoverflow.com/questions/18555779/how-to-display-popular-post-by-view-in-current-category
But I think EDD use other queries.
Thanks!
Forum: Plugins
In reply to: [Comments - wpDiscuz] Captcha is gone in wpDiscuz 3.0The update is working great. Thanks guys!
Forum: Plugins
In reply to: [Comments - wpDiscuz] Captcha is gone in wpDiscuz 3.0Ok great, just let me know when youré done.
Thanks!