• Resolved branhamss

    (@branhamss)


    I don’t know if anyone else is having this problem, but the parameters ‘includesites’ and ‘excludesites’ are not working for me. Neither is the category limiter.

    I know that include/exclude can’t be used together, so I’ve tried them separately, but it’s a no-go. All the sites are still included. Others work fine – number of words, doesn’t show empty sites, etc.

    If I specify a category limiter, it returns 0 results, even if there are 300+ posts in that category.

    My shortcode looks like this:

    [mpr_display showsiteinfo=yes items=4 words=1 showempty=no includesites=7,8]

    or

    [mpr_display showsiteinfo=yes items=4 words=1 showempty=no category=blog]

Viewing 15 replies - 1 through 15 (of 23 total)
  • Plugin Author Rick Hellewell

    (@rhellewellgmailcom)

    Hmm…..looking into this….stay tuned….

    Any update ?

    Plugin Author Rick Hellewell

    (@rhellewellgmailcom)

    @davask42 : Sorry for the delay in fixing this. Got caught up in some other (paying) projects.

    Working on it this week. Getting close to a fix — have some code that appears to be working properly, but spending time testing all permutations.

    Hope to have it done by the end of the week.

    Appreciate your patience…and the reminder about it.

    …Rick…

    Plugin Author Rick Hellewell

    (@rhellewellgmailcom)

    @davask42 . Just uploaded version 2.20, which should fix the include/exclude sites problem. At least it did with all of my testing.

    Sorry again for the delay in fixing this. Let me know if you have additional issues.

    …Rick…

    Hi @rhellewellgmailcom,

    thx for the update, however now when I load the back end page with the code in it like

    [mpr_display category='uncategorized' excludesites='1,6' disableheading='yes' showdivider='no']

    my page load and then freeze. If i look in chrome elements it is blank and when I remove the code from phpmyadmin it works again.

    Any idea ?

    Plugin Author Rick Hellewell

    (@rhellewellgmailcom)

    I took your shortcode and put it on this page https://www.cellarweb.com/multisitetest/mpr-test/ .

    Works OK.

    Are you putting it on a Page? And in the page editor using the “Visual”, not “Text” mode? (Although that doesn’t seem to make a difference on my site).

    Perhaps another plugin is getting in the way? Or your theme?

    And puzzled about your ” when I remove the code from phpmyadmin it works again” statement. The shortcode is meant to be in a Page. Not sure why you need to “remove the code from phpmyadmin it works again”

    Hi @rhellewellgmailcom,

    thanks for following up.

    I put it in a page as shown in the video below.
    I use text but yes visual should not change a thing.
    Maybe it is link to something else but I m not sure how to identify it.
    the theme I use is the P2 theme.
    Removing the code means deleting the content in the content field in the mysql db, like deleting the content from the wysiwyg.

    But as I was trying to give you more info I found out that the issue is based on the shortcode string itself

    here a video which shows my screen freezing when I m actualy removing the space between the open bracket and the first letter of your shortcode.

    Your code
    [mpr_display category='uncategorized' excludesites='1,6' disableheading='yes' showdivider='no']

    if I put that it freezes

    code with spaces at the beginning and end doesn t freeze the page
    [ mpr_display category='uncategorized' excludesites='1,6' disableheading='yes' showdivider='no' ]

    space at the beginning doesn t freeze either
    [ mpr_display category='uncategorized' excludesites='1,6' disableheading='yes' showdivider='no']

    no space at the beginning freeze the page
    [mpr_display category='uncategorized' excludesites='1,6' disableheading='yes' showdivider='no' ]

    that s weird, that might not be related to your plugin, please feel free to let me know what you think and share your ideas so I can fix that weird issue ??

    cheers

    david

    One more thing I use this shortcode with different category on 4 different pages and 2 of them works fine and 2 of them freezes !!!

    So weird !

    Plugin Author Rick Hellewell

    (@rhellewellgmailcom)

    Try creating a brand new page. Set editor to visual mode, not text. Insert this text:

    [mpr_display category=’uncategorized’ excludesites=’1,6′ disableheading=’yes’ showdivider=’no’]

    Replace the single quotes in there with single quotes from your keyboard (maybe your copy/paste is using funny quote characters?)

    Don’t put any other text on the test page.

    Plugin Author Rick Hellewell

    (@rhellewellgmailcom)

    ….also, make sure that (in text view) there isn’t a ‘code’ tag around the entire shortcode.

    Weirder & weirder, one of my category slug is action and this is the cause of the trouble.

    I change the slug for _action and update the shortcode to [mpr_display category='uncategorized,_action' excludesites='1,6' disableheading='yes' showdivider='no'] and I have no more trouble.

    If you are able to identify the reason I m interested to learn it.

    Cheers,

    david

    PS: nice plugin, thanks for the update

    Plugin Author Rick Hellewell

    (@rhellewellgmailcom)

    NO matter what I try, I can’t duplicate your issue: space characters or not, or the categories you chose.

    I use your shortcode exactly as shown, and it works just fine.

    It must be some strange interaction with other plugins or your theme. But just guessing.

    Hi @rhellewellgmailcom,

    the mistery of coding …

    In anyway, I think you to have checked and rechecked and triple checked. it is must appreciated.

    I will now be able to use it as I found a way to fix the issue which I agree seems to be related to my configuration.

    Thanks for answering on a saturday.

    best regards,

    david

    Plugin Author Rick Hellewell

    (@rhellewellgmailcom)

    NO problem. Sorry for the errors/hassle.

    But, thanks for motivating me to get the include/exclude thing fixed.

    Marking this as resolved. A review would be nice, if you have the time.

    Thanks…Rick..

Viewing 15 replies - 1 through 15 (of 23 total)
  • The topic ‘excludesites/includesites and categories not working’ is closed to new replies.