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.

S2 Security Badge

Home Forums Community Forum S2 Security Badge

This topic contains 3 replies, has 2 voices. Last updated by  Bruce 3 years, 8 months ago.

Topic Author Topic
Posted: Wednesday Apr 24th, 2013 at 1:10 pm #48296

Hello,

I believe that I have set up everything properly to display the S2 member badge. The only step that I did not complete was Step 7.

I created the directory – /wp-content/mu-plugins/s2-hacks.php. I wasn’t sure where I needed to place this information:

<?php
add_filter('ws_plugin__s2member_logs_dir', 's2_logs_dir');
function s2_logs_dir($what_s2_says){
return '/absolute/path/to/my/custom/logs/dir';
// Ideally a location outside of the HTTP space (more secure).
// Something like: /var/logs/s2member
}

Does that go into the s2-hacks.php file? I assume I would need to update the "return '/absolute/path/to/my/custom/logs/dir';" information with my information, correct?

Thank you for the assistance.

List Of Topic Replies

Viewing 3 replies - 1 through 3 (of 3 total)
Author Replies
Author Replies
Posted: Wednesday Apr 24th, 2013 at 2:08 pm #48297

I am also receiving this message error on my sign-up forms:

Input error: k: Format of site key was invalid

I installed the SI CAPTCHA Anti-Spam plug in. Is there something I am missing, or another reason why I would be receiving this error? Thank you again for your assistance.

Posted: Wednesday Apr 24th, 2013 at 2:10 pm #48298

Please disregard the 2nd post about the CAPTCHA problem. My computer auto-filled information into the bult in CAPTCHA keys offered by S2 member. I meant to leave them blank. Fixed the issue :). Still need an answer for the first post tho^.

Thank you :)

Posted: Wednesday Apr 24th, 2013 at 11:09 pm #48327
Bruce
Username: Bruce
Staff Member

Does that go into the s2-hacks.php file? I assume I would need to update the “return ‘/absolute/path/to/my/custom/logs/dir’;” information with my information, correct?

Yes, this is where that code goes. You’ll also want to ensure that all files (excluding the .htaccess file) in your /s2member-files/ directory are gone from the directory for your security badge to turn green.

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