Viewing 15 replies - 76 through 90 (of 108 total)
  • Plugin Author Hector Cabrera

    (@hcabrera)

    @varsitysmack I’m not very familiar with Buddypress (also had no idea that my plugin was able to run there as no one had reported anything before). So, what I understand from your report is that clicking on any link pointing to an author’s page would cause that bug. Am I right?

    To all having issues with thumbnails: did you read here yet? If so, I need you guys to tell me how you have configured the thumbnail options and if possible post a link to your site so I can check where are the broken images pointing at.

    @jcarlos84: hola, ?qué tal? ?podrías por favor postear acá la URL de tu website para echar un vistazo a las imágenes? Necesito ver el código para entender por qué no se muestran. En mi blog local funciona bien, pero al parecer otros usuarios (incluyéndote) están teniendo problemas con eso.

    Hola Héctor muchas gracias por tu respuesta. La url del blog la dejé antes, es https://www.bdebelleza.es/. Lo más popular lo tengo en el sidebar derecho.

    Antes de esta actualización se mostraban las imágenes correctamente.

    Muchas gracias por tu tiempo. Un saludo.

    Plugin Author Hector Cabrera

    (@hcabrera)

    Hola Héctor muchas gracias por tu respuesta. La url del blog la dejé antes, es https://www.bdebelleza.es/. Lo más popular lo tengo en el sidebar derecho.

    Antes de esta actualización se mostraban las imágenes correctamente.

    Muchas gracias por tu tiempo. Un saludo.

    Lo lamento, jcarlos84. Con tantas cosas no noté que efectivamente ya habías publicado tu URL. Ya eché un vistazo y creo que puedo solucionar el problema fácilmente. ?Gracias!

    THUMBNAIL ISSUE UPDATE: Guys, thanks to jcarlos84 I’ve found the reason why thumbnails are not working properly and added a fix that should help that. Please redownload version 2.3.1 and post back your results here.

    @varsitysmack I’ve been investigating a little bit and found out why the plugin breaks when checking an author’s profile page. However, as I said before, I’m not familiar with Buddypress nor have ever tested my plugin there so I’m not sure if this fix will work or not. You will have to give it a shot and let me know what happens:

    # Open wordpress-popular-posts.php using a text editor such as Dreamweaver or Notepad.

    # Around line 469 you will find this line of code:

    if ( (is_single() || is_page()) && !is_user_logged_in() && !is_front_page() ) {

    … change it to:

    if ( (is_single() || is_page()) && !is_user_logged_in() && !is_front_page() && !bp_is_user() ) {

    # Now, just as before, around line 668 you will find the very same line of code. Do the same as described above.

    # Save changes.

    Note that this is only a temporary fix. Once I get some more time in hands I’ll try and check how Buddypress works and maybe have my plugin support it on future versions. For the time being, this is all what I can do.

    Muchas gracias Hector por la rapidez y la eficacia. Ya he instalado la nueva versión del plugin y va todo perfecto. Es un lujo trabajar con plugins de gente tan profesional como tu.

    Muchisimas gracias de nuevo! Un saludo y mucha suerte.

    Plugin Author Hector Cabrera

    (@hcabrera)

    Genial, ?gracias por avisar!

    Plugin Author Hector Cabrera

    (@hcabrera)

    @markross1967 quick update, just fixed the category exclusion issue and it should work fine now. Please redownload the plugin again as I just updated the zip file. Post back the results, please.

    If markross1967 can confirm that the category exclusion problem is gone I will push an update to the WordPress Plugin Directory so you all get the fixes as well (that is, of course, if nothing new shows up hehe).

    Thank you all for your patience and collaboration!

    @hcabrera – I’ll try your BP solution soon and get back to you on the results. Thanks for the research and possible fix.

    been having all the problems above, 2.3.1 seems to have fixed everything for me … thanks

    FYI:

    I set “First image on post” to “Thumbnail source”, but it seems to be different behavior in some cases at ver.2.3.0. I doubt ‘orderby’ => ‘menu_order’ in your source code. It seems that ‘menu_order’ does not necessarily always shows the first image of posts. (Reference: Codex about WP_Query)

    So, I changed it as shown below.

    $ diff wordpress-popular-posts.php.org wordpress-popular-posts.php
    1137c1137,1138
    <                               $attachments = get_children(array('post_parent' => $id, 'post_type' => 'attachment', 'post_mime_type' => 'image', 'orderby' => 'menu_order'));
    ---
    >                               //$attachments = get_children(array('post_parent' => $id, 'post_type' => 'attachment', 'post_mime_type' => 'image', 'orderby' => 'menu_order'));
    >                               $attachments = get_children(array('post_parent' => $id, 'post_type' => 'attachment', 'post_mime_type' => 'image', 'orderby' => 'meta_value', 'order' => 'ASC'));

    Indeed, manual de+reactivated fixed 2.3.0 for me. “Unknown column ‘day_no_time’ in ‘field list” only manifested itself for a user who was not logged in.

    Hi Héctor,

    I just tried it [exclude], and it appears to be working just fine! ??

    On my site, https://www.original-republican.com, I have two Popular Post widgets:

    The top one, “Popular Posts,” is set to 30 days, and is using the exclude method: -1,-68,-114,-121,-148,-169,-181,-202,-223,-225,-226,-227

    The bottom one, “Popular (Political) Artwork,” is set to all-time, and is using the include method: 225,226,227

    It is great to have both options! In the past, I/we would have had to figure out all the categories to exclude; but, as we can see, with my bottom widget, I only needed to put in the few categories that are needed [included] in that widget.

    Great job!

    Plugin Author Hector Cabrera

    (@hcabrera)

    @sandcastlebell that makes sense. Thanks for your suggestion!

    Alright guys, version 2.3.1 will be up within the next couple of hours. Thank you all for your help!

    You’re welcome Héctor!

    It would also be great to have a feature that allows us to include/exclude a given Popular Post Widget, from a given Page.

    For example:
    I might only want to have The “Popular (Political) Artwork,” widget showing on my Political Artwork Page, in the future – if that were possible.

    Nahum

    (@nahummadrid)

    Thanks. I’m still having issues with the thumbnails but I think it’s a supercache/cdn and multisite issue.

    Plugin Author Hector Cabrera

    (@hcabrera)

    Alright people, just uploaded v2.3.1. Should be available within the next 30 minutes or less!

    @markross1967 ah, that can be solved using WordPress’ template tags. You could modify your theme’s sidebar to add another widget area that would display only on that page, for example something like this:

    # In your functions.php
    register_sidebar( array(
    	'name' => __( 'Popular Artwork' ),
    	'id' => 'popular-artwork',
    	'before_widget' => '<aside id="%1$s" class="widget %2$s">',
    	'after_widget' => "</aside>",
    	'before_title' => '<h3 class="widget-title">',
    	'after_title' => '</h3>',
    ) );
    # In your sidebar.php
    if (is_page(your-page-id-here)) {
    	 if ( ! dynamic_sidebar( 'popular-artwork' ) ) : endif;
    }

    … then, just add the WPP widget to the Popular Artwork sidebar and you’re done. The widget will only appear when viewing that specific page.

Viewing 15 replies - 76 through 90 (of 108 total)
  • The topic ‘[Plugin: WordPress Popular Posts] Version Version 2.3.0 breaks the blog’ is closed to new replies.