WordPress.org

Ready to get started?Download WordPress

Forums

WordPress Popular Posts
[resolved] Conflict with Theme my Login (12 posts)

  1. marievoigt
    Member
    Posted 2 years ago #

    Hello and many thanks for this GREAT plugin. I only have one small issue which is as follows: When I'm on any login-related page (working together with the also popular plugin "Theme my Login" and including login/logout, edit profile, register, lost password etc) the "WordPress Popular Posts" sidebar widget shows "Log In" (and "Log Out" when logged in) instead of the most popular page/post titles that it correctly shows on all other pages and posts on the website. It only overwrites the actual page/post titles in the widget, the links behind them still go to the actual popular pages/posts and not to the login or logout pages. How could I fix this so the popular page/post titles in the widget don't get overwritten with "Log In" and "Log Out" when on a login-related page? I would post the website URL here but as this site is still under confidential development I unfortunately can't do this in a public forum. However I could email you the website URL if you let me know how. In advance, many thanks for your help with this.
    All the best,
    Marie

    http://wordpress.org/extend/plugins/wordpress-popular-posts/

  2. Héctor Cabrera
    Member
    Plugin Author

    Posted 2 years ago #

    Hi marievoigt,

    I'm sorry but this is theme-related. My plugin does not show any log-in form, so it must be something on your theme.

    Can this theme be downloaded from somewhere so I can take a look at its code, maybe?

  3. marievoigt
    Member
    Posted 2 years ago #

    Hi Héctor,

    Many thanks for your reply.

    The login page I'm referring to is achieved through the other plugin "Theme my Login". The problem I was trying to explain is that whenever you look at a "Theme my Login" login-related page on the website your sidebar widget then doesn't show the most popular posts/pages titles but the words "Log In" or "Log Out" instead.

    I assume it's a conflict between your plugin and the plugin "Theme my Login", maybe using a same variable for page titles or so somewhere.

    The theme is a child-theme we developed based on the WordPress Twenty Eleven theme but the problem even occurs on a clean Twenty Eleven theme where both the "WordPress Popular Posts" and "Theme my Login" plugins are installed.

    At the moment the client has decided they don't need the login functionality on the website after all so currently there are no pages where the "WordPress Popular Posts" widget misbehaves. But it would still be interesting to find out how to solve this plugin conflict in case the two plugins are needed together again in the future.

    Many thanks,
    Marie

  4. Héctor Cabrera
    Member
    Plugin Author

    Posted 2 years ago #

    Hi Marie,

    I see. Will check out this plugin you mentioned and get back to you as soon as I can - currently I'm a bit sick and receiveing treatment, need to take care of myself now and will resume developing the plugin again once I'm feeling better.

  5. catski66
    Member
    Posted 1 year ago #

    Hi Hector and Marie,
    Did either of you ever find a resolution to this issue? I'm having the exact same problem.....
    Thanks,
    Chris

  6. marievoigt
    Member
    Posted 1 year ago #

    Hi Chris,
    Unfortunately I didn't as I didn't pursue this further with the client not needing the Theme my Login plugin in the end and Hector being unwell back then. Hector, I hope you are better again?
    Sorry Chris, I hope you or Hector or someone else more developer-savvy than me will find a fix soon!
    If you do find a solution to this problem I would still be very interested in it. No doubt at some point I will use the two plugins together again.
    All the best,
    Marie

  7. Héctor Cabrera
    Member
    Plugin Author

    Posted 1 year ago #

    Hey guys,

    @Marie: yes, thanks for asking. I got a bad bronchitis back then, but I'm alright now.

    I will check this out in a few hours and come back to you later.

  8. Héctor Cabrera
    Member
    Plugin Author

    Posted 1 year ago #

    Alright, I need a little help here. Just installed the plugin on a fresh WordPress 3.5 setup using the Twenty Twelve theme. After enabling the Theme my Login plugin, it created a login page and it does show the popular listing created by WPP: http://img546.imageshack.us/img546/6630/thememylogin.jpg

    Am I missing something?

  9. eArtboard
    Member
    Posted 1 year ago #

    Hello,

    I have the same problem...

    Héctor Cabrera try to be on the login page without log in.

    Thank you...

  10. Héctor Cabrera
    Member
    Plugin Author

    Posted 1 year ago #

    Hi eArtboard,

    Just tried checking the Login page after logging out and the result is the same: it works fine with the Twenty Twelve theme, which leads me to think that the problem is theme-related.

  11. marievoigt
    Member
    Posted 1 year ago #

    Hi,
    Based on what Hector is saying (many thanks for looking into) it looks like it's not a problem anymore with the Twenty Twelve theme. I had the problem with the Twenty Eleven theme, maybe that's what the other posters are using too?

  12. Héctor Cabrera
    Member
    Plugin Author

    Posted 1 year ago #

    No problem, Marie. I'm glad to be of any help.

    Since it works with stock WordPress themes (Twenty Twelve, at least), I'm going to assume this is theme-TML-related. I'm pretty sure TML uses the page.php template to create the Login page automatically, so you guys need to make sure that your current theme's page.php template supports widgets. The Twenty Eleven theme doesn't, that's why WPP doesn't show up in the Login page (nor in any other page, either :P).

    I'm going to mark this thread as solved. If any of you guys feel this needs to be reopened, please do so and let me know why.

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic

Tags

No tags yet.