Viewing 15 replies - 1 through 15 (of 55 total)
  • Plugin Author Hector Cabrera

    (@hcabrera)

    Hi there,

    It seems to be a problem with the WPML plugin. Which version do you have installed on that site?

    Thread Starter lupach

    (@lupach)

    Hello,
    I am using Polylang 1.4.5
    but the site is live and cant go on deactivating plugins freely

    Plugin Author Hector Cabrera

    (@hcabrera)

    Ah, I see. It seems Polylang doesn’t like it very much when other plugins use WPML APIs directly instead of theirs. I’ll see what I can do.

    Edit: yep, it’s because of Polylang. When only WPML is installed the plugin works fine (just tested locally), but Polylang messes with it somehow.

    The good people of Polylang say that the way plugins detect WPML (including WPP) is wrong – even if the people at WPML forums say it’s OK to do it that way.

    I believe I’ve used this plugin before. Sometimes it would say “no data” after I moved things around or installed/unstalled plugins and widgets. What do you mean by “all time tab” only? I don’t read Spanish well. It seems you have tabs for latest, popular and best. There seems to be a message like “Sorry nothing to show here” in the popular tab, but there are three posts displayed there.

    It’s been so long since I worked on the site that I used it in, I can’t recall its features right now. Are you looking for like “most popular today,” most popular this week,” etc.?

    Thread Starter lupach

    (@lupach)

    Oh I see, aaaand… what should I do? try another plugin or is there a way around this? I was really into your plugin

    Thread Starter lupach

    (@lupach)

    hello there blogseolady, the “all time” tab is inside the admin of the plugin. the posts you are seeing displayed are from another plugin that I have been testing and wanted to see if it would do.
    I am looking for an all time most popular

    Plugin Author Hector Cabrera

    (@hcabrera)

    There might be a way around it but since I’m busy and can’t check for myself at the moment, you’ll have to do it for me:

    1. Go to Plugins > Editor and select WordPress Popular Posts from the dropdown on the right.
    2. Find:
      // WPML support, get original post/page ID
      if ( defined('ICL_LANGUAGE_CODE') && function_exists('icl_object_id') ) {
      	global $sitepress;
      	$id = icl_object_id( $id, get_post_type( $id ), false, $sitepress->get_default_language() );
      }

      … and change it to:

      // WPML support, get original post/page ID
      if ( defined('ICL_LANGUAGE_CODE') && function_exists('icl_object_id') ) {
      	$wpml_options = get_option( 'icl_sitepress_settings' );
      	$id = icl_object_id( $id, get_post_type( $id ), false, $wpml_options['default_language'] );
      }
    3. Hit the Update file button to save changes.

    Please let me know how it goes.

    Thread Starter lupach

    (@lupach)

    I just tried it, I also disabled the other plugin I was testing, just to be sure, and it still says there is nothing to show :/

    Plugin Author Hector Cabrera

    (@hcabrera)

    Check again, the plugin is working now ?? You didn’t need to disable Polylang, though. The “fix” I posted above was to have WPP to be able to coexist with Polylang ??

    Plugin Author Hector Cabrera

    (@hcabrera)

    Oh, and keep in mind that WPP can only track posts / pages from your own site. It cannot track external links such as “Los maestros y sus ense?anzas”.

    Thread Starter lupach

    (@lupach)

    Oh great! maybe it needed some time :).
    Although in the admin it shows a bunch of posts that are not shown in the page :S maybe it’s the filters. But those external links such as “los maestros y sus ense?anzas” are regular posts that have a redirect to the external site, even trough that method they cannot be tracked?

    Thread Starter lupach

    (@lupach)

    yup, it was the filter, now it shows perfectly, now i need to tweak the css and thats it. Also, it worked with the redirects! ??
    Thank so much

    Plugin Author Hector Cabrera

    (@hcabrera)

    Awesome ?? I thought these were mere RSS feeds or something, hence the notice above. Now I see you’re using post type formats (right?).

    Anyways, thanks for helping me test! Enjoy the plugin!

    Thread Starter lupach

    (@lupach)

    Hi there Hector, it’s doing it again…
    Since the beginning of the month it started saying no data again, I thought it was because it was on a monthly basis and it had no views yet. But the backend is registering new views everyday.
    I just updated the plugin and did again the fix you told me to do last time.
    But still no data is displayed.
    If I only write [wpp] it shows 5 posts from today. That’s good… BUT
    If I try to display the way that I had a month ago, like this:
    [wpp range="monthly" header_start="<h2>" header_end="<h2>" order_by="views" post_type="post" title_length=25 excerpt_length=55 stats_views=0 stats_date=1 post_html="<li class="lista">{thumb} <a href='{url}'>{text_title}</a><p>{summary}</p> " limit=12]

    It says no data, I tried giving it some time and see what’s the deal.. but no luck, could you help me out please?

    Plugin Author Hector Cabrera

    (@hcabrera)

    Hi!

    There were some issues with 3.2.0 and so a new release is available. Please update and let me know if the issue persists, alright?

Viewing 15 replies - 1 through 15 (of 55 total)
  • The topic ‘Sorry no data’ is closed to new replies.