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.

Trigger Pop Up window Login Widget

Home Forums Community Forum Trigger Pop Up window Login Widget

This topic contains 4 replies, has 2 voices. Last updated by  Bruce 4 years, 1 month ago.

Topic Author Topic
Posted: Sunday Dec 2nd, 2012 at 3:06 pm #33225

List Of Topic Replies

Viewing 4 replies - 1 through 4 (of 4 total)
Author Replies
Author Replies
Posted: Sunday Dec 2nd, 2012 at 4:24 pm #33231
Bruce
Username: Bruce
Staff Member

Hi,

You can use the PHP function for the Login Widget to put this in a separate page. Just try creating a hack such as this, and making it a Must-Use Plugin by putting it in a .php file within /wp-content/mu-plugins/ directory (if you don’t have the directory, create it):

Posted: Sunday Dec 2nd, 2012 at 8:03 pm #33251

Thanks Bruce, I noticed that you left out the closing php tag, but event tho, I tried using the above

Fatal error: Call to undefined function s2member_pro_login_widget() in /home/groovet1/domains/groovetemple.tv/public_html/wp-content/mu-plugins/s2hacks.php on line 4

Not sure what is wrong with you have …

Posted: Sunday Dec 2nd, 2012 at 8:36 pm #33253
Bruce
Username: Bruce
Staff Member

Sorry, forgot to mention that this should be wrapped in a function with a call to wp_loaded to keep this from happening.

This will solve your issue:

Posted: Sunday Dec 2nd, 2012 at 8:39 pm #33254
Bruce
Username: Bruce
Staff Member

Note that the ending PHP tag “?>” is not needed unless you are embedding HTML into your PHP file.

Viewing 4 replies - 1 through 4 (of 4 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.