latest stable versions: v150827 (changelog)

Old Forums (READ-ONLY): The community now lives at WP Sharks™. If you have an s2Member® Pro question, please use our new Support System.

Where's instructions for a login widget.

Home Forums Community Forum Where's instructions for a login widget.

This topic contains 31 replies, has 3 voices. Last updated by  Dan Martinez 4 years, 3 months ago.

Page 2 Of Topic Replies

Viewing 6 replies - 26 through 31 (of 31 total)
Author Replies
Author Replies
Posted: Sunday Sep 16th, 2012 at 2:18 pm #25507
Dan Martinez
Username: njitc

Stephen,

The registration page is supposed to be protected by s2Member. If you have open registration turned off, then when someone goes to the registration page it is SUPPOSED to catch it and cause it to redirect.

Make sure open registration is turned OFF in S2Member settings, then check if it is redirecting. If it still is not redirecting, then it means s2member is not catching it. In which case, we’ll have to do a little more modding to the code to get your desired effect.

Posted: Sunday Sep 16th, 2012 at 2:20 pm #25509

It’s turned off. I even tried turning it on then off again just to be sure.

Posted: Sunday Sep 16th, 2012 at 2:42 pm #25511
Dan Martinez
Username: njitc

Stephen,

Below is the additional mod you need to make to the sidebar plugin in the same section you made the first change.

Find:

$links .= '<li><a href="' . apply_filters( 'sidebar_login_register_url', site_url('wp-login.php?action=register', 'login') ) . '">' . $theregister . '</a></li>';

Replace with:

$links .= '<li><a href="' . apply_filters( 'sidebar_login_register_url', site_url('new-member-signup/', 'login') ) . '" rel="nofollow">' . $theregister . '</a></li>';

replace “new-member-signup” with the name of your signup page. For example if your signup page is called member options, then replace it with: (‘member-options/’, ‘login’) ) . ‘”

Let me know how it works out.

Posted: Sunday Sep 16th, 2012 at 2:52 pm #25512
Dan Martinez
Username: njitc

Stephen,

You should also note that anytime this plugin is “updated”, that your modifications will be erased and will need to be done again. So, remember these changes in case you have to do it again in the future.

Posted: Sunday Sep 16th, 2012 at 5:46 pm #25517

That did the trick! Works perfect. You’re a genius Dan. Thanks SO much.

All the best,

Stephen

Posted: Sunday Sep 16th, 2012 at 11:11 pm #25532
Dan Martinez
Username: njitc

You’re welcome. That will be 5 rupees, please. J/k! Glad I could help, just remember that if there are any updates for the sidebar plugin that you’ll have to redo these modifications. So, make sure you write down notes somewhere.

Viewing 6 replies - 26 through 31 (of 31 total)

This topic is closed to new replies. Topics with no replies for 2 weeks are closed automatically.

Old Forums (READ-ONLY): The community now lives at WP Sharks™. If you have an s2Member® Pro question, please use our new Support System.

Contacting s2Member: Please use our Support Center for bug reports, pre-sale questions & technical assistance.