Jump to content


Photo

Two logins displayed in post with Wp-Member

wp-member password protection

Best Answer Simon_P , 11 February 2013 - 02:57 PM

The plugin author posted a fix on the wordpress forums heres the post for reference: http://wordpress.org...mbers?replies=1

Go to the full post


  • Please log in to reply
7 replies to this topic

#1 wphostmanaged

wphostmanaged

    Member

  • Members
  • PipPip
  • 23 posts
  • LocationOttawa
  • Framework Version:Platform Pro and Pagelines Lite
  • Country: Country Flag

Posted 08 February 2013 - 09:15 PM

I have an existing site using the most current version of platformpro that works well with wp-member plugin.  The current setup protects all posts below the "More" with the standard wp-member login/register dialog.  All good...

 

I wanted to start using the new pagelines lite theme but am having issues with every post that is protected with wp-member.

 

With pagelines lite enabled every post displays only the title then the standard wordpress this post is password protected dialog (No posts are password protected) followed by the standard wp-member login/register dialog. 

 

Pagelines lite is the only theme that causes this problem. 

 

Any suggestions?



#2 Rob

Rob

    One Smart Egg

  • Members
  • 13575 posts
  • LocationEast Coast, USA
  • Framework Version:The Latest, of course
  • Country: Country Flag

Posted 08 February 2013 - 11:09 PM

Hi,

 

PageLines uses many things other themes don't at present.  So comparing it to others, even our legacy products like PlatformPro is like comparing a pair of rollerskates to a Ferrarri Testarossa.  While they both move you, the difference is a bit noticeable. ;-)

 

I'd suggest moving up to PageLines Framework Pro and perhaps testing all the variables for that plugin.



#3 wphostmanaged

wphostmanaged

    Member

  • Members
  • PipPip
  • 23 posts
  • LocationOttawa
  • Framework Version:Platform Pro and Pagelines Lite
  • Country: Country Flag

Posted 09 February 2013 - 04:49 AM

Is anyone else using wp-members successfully with Pagelines Framework pro?  I was kinda hoping for some suggestions :-)



#4 Rob

Rob

    One Smart Egg

  • Members
  • 13575 posts
  • LocationEast Coast, USA
  • Framework Version:The Latest, of course
  • Country: Country Flag

Posted 09 February 2013 - 04:53 AM

The best, most tested members plugin I've used, seen people test and use is s2Member, which is free. It integrates pretty easily with PageLines and WP, and you'll require very little, if any custom coding. It's mostly all settings and little more.



#5 Simon_P

Simon_P

    Messer

  • Administrators
  • 8388607 posts
  • LocationDevon
  • Framework Version:2.0
  • Country: Country Flag

Posted 11 February 2013 - 02:57 PM   Best Answer

The plugin author posted a fix on the wordpress forums heres the post for reference: http://wordpress.org...mbers?replies=1


  • wphostmanaged likes this

#6 wphostmanaged

wphostmanaged

    Member

  • Members
  • PipPip
  • 23 posts
  • LocationOttawa
  • Framework Version:Platform Pro and Pagelines Lite
  • Country: Country Flag

Posted 11 February 2013 - 05:00 PM

Yes it worked perfectly... thanks 

You can use the wpmem_post_password filter to correct that:
http://rocketgeek.co..._post_password/



#7 wphostmanaged

wphostmanaged

    Member

  • Members
  • PipPip
  • 23 posts
  • LocationOttawa
  • Framework Version:Platform Pro and Pagelines Lite
  • Country: Country Flag

Posted 20 March 2013 - 07:32 PM

Broke again after the latest update... and for the life of me I can't remember which of the template files I edited the first time that got it working.

 

The wp-members post has the code http://rocketgeek.co..._post_password/

 

but which pagelines template file is the one that needs

 

/**
* Fixes password spoof - the plugin sets a post password to protect
* the comment form.  In themes where this causes the WP password
* protected post dialog to display, returning an empty post password
* should correct the problem.
*/
 add_filter( 'wpmem_post_password', 'my_pass_filter' );
 function my_pass_filter() {
     return '';
 }

 

 

 

added to it???

 

Is it class.post.php?



#8 Simon_P

Simon_P

    Messer

  • Administrators
  • 8388607 posts
  • LocationDevon
  • Framework Version:2.0
  • Country: Country Flag

Posted 20 March 2013 - 08:13 PM

No, it'll be functions.php

 

I suggest creating a child theme so you dont have to keep doing it.

 

http://codex.wordpre...rg/Child_Themes







Also tagged with one or more of these keywords: wp-member, password protection