WordPress.org

Ready to get started?Download WordPress

Forums

amr users
[resolved] shortcode displayed as text (5 posts)

  1. halifaxious
    Member
    Posted 2 years ago #

    amr users Version 3.4.3
    WP Version 3.4.1

    I have a userlist which pages correctly in the admin section. However, on the public facing page, any url with a GET string displays the shortcode [userlist list=4 headings=false] as text.

    This means that the first page displays correctly, but all subsequent pages fail. It also means that the 'refresh' link fails.

    http://example.com/about/membership/mailing-list/   //works
    http://example.com/about/membership/mailing-list/?listpage=2 //fails
    http://example.com/about/membership/mailing-list/?refresh=1 //fails
    http://example.com/about/membership/mailing-list/?foo=bar //fails

    The cache has been refreshed from the admin side. But that has no effect on the issue.

    http://wordpress.org/extend/plugins/amr-users/

  2. anmari
    Member
    Plugin Author

    Posted 2 years ago #

    Halifaxious,

    That sounds really weird!

    sounds like something is jumping in and interfering, and preventing the wp shortcodes filter from running when there are paramters - that is definitely not normal behaviour as you can see here
    http://directories.wpusersplugin.com/simple-user-list/

    Lets apply various debugging for wp:

    0) does it happen with default permalink setting ?

    1) do other shortcodes that have parameters work ? or any page with a shortcode - what happens if you add a parameter ?

    2) try default theme, no other plugins, then change theme - check behaviour. add other plugins checking until you get that behaviour

    3) do you have another test install on a different server.

    If you figure out what it is, please do let us all know.

    Thanks

  3. halifaxious
    Member
    Posted 2 years ago #

    Hi Anmari,

    Thanks for the suggestions. Here are the results:

    0) default permalink produces bug
    1) other shortcodes with parametres work.
    2) absense of other plugins has no effect. 2011 Theme has no effect.
    3) I don't have a test server handy, but I will see what I can do.

  4. anmari
    Member
    Plugin Author

    Posted 2 years ago #

    Re 0) - what kind of bug ? Did you resave the permalinks and ensure that default permalinks working normally (Permalinks can be problematic when switching depending what you all doing).

    Not the fact that you are seeing the shortcode text means that wp is not even getting to run the shortcode filter - so the plugin is not getting a chance to run at all.

    are you entirely sure that you do not have something like wordpress seo plugin (and have refreshed cache / browser after deactivating and resetiing permalinls) ? apparently the seo plugin has settings that could cause pagination and query parameters to break.

    See for eg: http://wordpress.stackexchange.com/questions/46651/passing-url-parameters-with-search-form

  5. halifaxious
    Member
    Posted 1 year ago #

    The problem resolved itself with version 3.4.8

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic

Tags