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.

Security Badge not showing?

Home Forums Community Forum Security Badge not showing?

This topic contains 42 replies, has 14 voices. Last updated by  Cristián Lávaque 3 years, 4 months ago.

Topic Author Topic
Posted: Wednesday Oct 24th, 2012 at 8:31 am #29510
Dan Cundy
Username: KingCundy

The security badge will not show on my site, and i have no idea why?

I’ve tried the short code

[s2Member-Security-Badge v="1" /]

and the php code

echo do_shortcode(‘[s2Member-Security-Badge v="1" /]‘);

but still nothing?! Does anyone else share this problem or can anyone offer any help?

Many thanks

  • This topic was modified 4 years, 2 months ago by  Dan Cundy.

List Of Topic Replies

Viewing 25 replies - 1 through 25 (of 42 total)
Author Replies
Author Replies
Posted: Sunday Feb 3rd, 2013 at 7:35 am #40547

Hi,

I have noticed the exact same issue. As far I know, this happened after WordPress update.

No matter what I am doing and how I am configuring S2Members, the badge do not show up anymore.

Anyone, any idea where to look for solution?

Posted: Monday Feb 4th, 2013 at 3:21 pm #40777
Eduan
Username: Eduan
Moderator

Hello Dan, Gabor,

Could you both please try all of these common trouble shooting tips and see how things work out, and report that.
Knowledge Base » Common Troubleshooting Tips

– Eduan

Posted: Monday Feb 4th, 2013 at 3:41 pm #40783

Hi Eduan,

I did all step you have requested.

I have latest WordPress and Latest S2 member plugin.

Safety First -> Set correctly
Conflicting Plugins -> I have only one plugin, which manage the maintenance mode. It was there before, when S2 plugin correctly displayed the badge. Anyhow, I have disabled it, still not fixed the issue.
Conflicting Theme -> Issue remain while switched to default theme. No badge displayed.
User Error -> Not sure about what should I look for. There is no error, not even in the error_log file.
Server Configuration -> Your test file come with all green and message like: You passed on all of these scans :-)
Outdated Installation -> All is up to date.
Corrupt or Missing Files -> All site work correctly, nothing is corrupted. I can delete the plugin and install it again, if you tell me how to save and import all settings regarding S2 config.
Testing in a Development Environment -> I need some time to do another installation.

For your info: Badge was displayed correctly until I upgraded lately WordPress. Nothing else was changed. No plugin was installed or removed. Since WordPress upgrade, no matter what I do, S2 member don’t display badge anymore. The funny thing is that I was ready to upgrade to pro when I saw this issue, so even if your script coming back with all green status, I am not sure if S2 member correctly working or not, if members are managed correctly or not, so I hope this will be fixed or at least I hope that we will debug where the issue is.

Let me know if you need anything else.

Regards,
Gabor

Posted: Wednesday Feb 6th, 2013 at 10:27 pm #40960
Eduan
Username: Eduan
Moderator

OK Gabor,

I’ll report this to Jason so that he can look into it. :)

– Eduan

Posted: Thursday Feb 7th, 2013 at 3:37 am #41017

Hi Eduan,

Quick update.

I have changed hosting provider so I decided to reinstall the whole thing on the new server.

Unfortunately, issue is still there. The badge does not display on the bottom of my page as it was before.

Regards,
Gabor

Posted: Thursday Feb 7th, 2013 at 10:58 pm #41160
Staff Member

Thanks for the heads up on this thread :-)

Please post links to your sites here in this thread and we’ll check your Badge Status API for the result that it’s returning. If your s2Member® Security Badge is not loading, it’s probably because your Badge Status is in the red for some reason.

1. Is your Badge Status API enabled?

See: s2Member -> General Options -> Security Badge -> Badge Status API

2. Does your /wp-config.php file have all of these configuration values?

See: http://codex.wordpress.org/Editing_wp-config.php#Security_Keys
(each of these MUST be at least 60 chars, and must NOT contain: ‘unique phrase’)

3. Have you created a Security Encryption Key for your s2Member installation?

See: s2Member -> General Options -> Security Encryption Key
(this MUST be at least 60 chars as well)

4. Does your /wp-config.php file have both of these configuration values?

DB_USER and DB_PASSWORD. These must be filled in, and must NOT be the same value.
See: http://codex.wordpress.org/Editing_wp-config.php#Set_Database_Name

5. Have you configured your Unique IP Restriction Options yet?

See: s2Member -> Restriction Options -> Unique IP Restrictions
(this must NOT be set to: infinite)

6. Have you configured your Brute Force IP Restrictions yet?

See: s2Member -> Restriction Options -> Brute Force IP Restrictions
(this must NOT be set to: infinite)

7. If you visit this link on your WordPress® installation, you should get a plain text file that contains only a single value of: 1 (indicating your site is in the green w/s2Member®). If you don’t, one of the above is the likely cause.

See: http://jason.websharks-inc.net/?s2member_s_badge_status=1
This test installation is running WordPress® v3.6-alpha and the latest version of s2Member®.

Now look at your installation: yoursite/?s2member_s_badge_status=1

8. If your Badge Status API returns a value of 1, but s2Member® still does not display your Security Badge, please submit your site URL here, and we’ll review it for you.

Also, please make sure that s2Member.com can reach your site via a remote HTTP connection. If your server has a firewall enabled that prevents us from reaching your Badge Status API, your site cannot be verified by s2Member®.

Posted: Friday Feb 8th, 2013 at 3:52 am #41181

1. Is your Badge Status API enabled?

See: s2Member -> General Options -> Security Badge -> Badge Status API

Gabor: It is enabled, and it was enabled since the first installation.

2. Does your /wp-config.php file have all of these configuration values?

See: http://codex.wordpress.org/Editing_wp-config.php#Security_Keys
(each of these MUST be at least 60 chars, and must NOT contain: ‘unique phrase’)

Gabor: Looks ok to me.

3. Have you created a Security Encryption Key for your s2Member installation?

See: s2Member -> General Options -> Security Encryption Key
(this MUST be at least 60 chars as well)

Gabor: Yes, Key is created since the first installation.

4. Does your /wp-config.php file have both of these configuration values?

DB_USER and DB_PASSWORD. These must be filled in, and must NOT be the same value.
See: http://codex.wordpress.org/Editing_wp-config.php#Set_Database_Name

Gabor: They are there and they are not the same

5. Have you configured your Unique IP Restriction Options yet?

See: s2Member -> Restriction Options -> Unique IP Restrictions
(this must NOT be set to: infinite)

Gabor: I have set this to Infinite because some users whos ISP change IP frequently got locked out. I have now changed it to Allow 100 Different IP. Issue still remain. No badge is displayed.

6. Have you configured your Brute Force IP Restrictions yet?

See: s2Member -> Restriction Options -> Brute Force IP Restrictions
(this must NOT be set to: infinite)

Gabor: It was set to Allow 5 failed login attempts.

7. If you visit this link on your WordPress® installation, you should get a plain text file that contains only a single value of: 1 (indicating your site is in the green w/s2Member®). If you don’t, one of the above is the likely cause.

See: http://jason.websharks-inc.net/?s2member_s_badge_status=1
This test installation is running WordPress® v3.6-alpha and the latest version of s2Member®.

Now look at your installation: http://bannersbrokertools.com/?s2member_s_badge_status=1

Gabor: Result is 1 in my browser, but still no badge displayed.
The URL of my site is: http://bannersbrokertools.com
Posted: Friday Feb 8th, 2013 at 3:56 am #41182

Quick update. My admin area has displayed an available update for S2Member. I did the update and the Badge is now displayed.

I am not sure what was the issue finally, but your update seems to me that it has fixed this issue.

I will take some time to test the whole functionality, and if all ok, I will consider to become paid member for your plugin.

Thanks.

Posted: Sunday Feb 10th, 2013 at 5:57 pm #41382
Staff Member
KB article created from this topic.
See: http://www.s2member.com/kb/security-badges/
Posted: Monday Feb 11th, 2013 at 6:00 pm #41432
Flyn Penoyer
Username: flyn68

Please check out our site: http://www.onlinebusinessnetworker.com/?s2member_s_badge_status=1 the badge is not showing up and I have done everything mentioned above including checking the wp-config.php file.

Posted: Thursday Feb 14th, 2013 at 5:54 am #41686
Staff Member

@ Flyn Penoyer

It appears that your Badge Status API returns 0 indicating there is still an issue somewhere. I will be happy to review your installation though to be sure there are no problems. Please submit a Dashboard login and we’ll take a look for you. See: s2Member® » Private Contact Form

Posted: Thursday Feb 14th, 2013 at 8:47 pm #41747
Staff Member

@ Flyn Penoyer

Details received. Thank you!

Your site does not pass on this point. You currently have very short Security Keys.

2. Does your /wp-config.php file have all of these configuration values?

See: http://codex.wordpress.org/Editing_wp-config.php#Security_Keys
(each of these MUST be at least 60 chars, and must NOT contain: ‘unique phrase’)

Posted: Friday Feb 15th, 2013 at 4:03 am #41809
Flyn Penoyer
Username: flyn68

Thanks! That was it… was driving me nuts.

Posted: Saturday Feb 23rd, 2013 at 9:04 am #43038

Hi Jason,

I’m experiencing the not-showing-badge issue since a few days ago, probably also since I updated wordpress.
I just updated S2Member yesterday but the issue still remains.

I hadn’t done any changes to the site (apart from updating wordpress) when it all started. This happens to both sites I have s2Member enabled on. Both of them show statis 1 when doing the security test.

I checked the code of the page and the script for the badge is there, only no image is being shown. So, the problem is not with the sites not being verified, but with the actual badge not being displayed.

These are my sites:

http://www.dejarladieta.com
http://www.tunuevocuerpo.com

Could you please take a look? I would much appreciate it.

Posted: Sunday Mar 10th, 2013 at 10:02 pm #44234

did the plugin update and now my badge has disappeared.

http://www.legacydreamteam.com/?s2member_s_badge_status=1 shows a 1 and no badge??

Used to show up in my 4th footer and on the login page. All that was changed was I updated the plugin??

Posted: Monday Mar 11th, 2013 at 4:42 am #44245

Hi Kevin,

I had the same problem and it was solved by adding this line to my .htaccess file:

# Use PHP 5.3
AddType application/x-httpd-php53 .php 

Hope it helps in your case.

Posted: Wednesday Mar 13th, 2013 at 2:46 am #44451

Mary,

That did not seem to work. where exactly do I add it? Does it need to be between the begin or end tags?

# BEGIN s2Member GZIP exclusions

RewriteEngine On
RewriteBase /
RewriteCond %{QUERY_STRING} (^|\?|&)s2member_file_download\=.+ [OR]
RewriteCond %{QUERY_STRING} (^|\?|&)no-gzip\=1
RewriteRule .* – [E=no-gzip:1]

# END s2Member GZIP exclusions

# BEGIN WordPress

RewriteEngine On
RewriteBase /
RewriteRule ^index\.php$ – [L]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /index.php [L]

# END WordPress

# Use PHP 5.3
AddType application/x-httpd-php53 .php

Posted: Wednesday Mar 13th, 2013 at 5:41 am #44464

Hi Kevin,

My .htaccess file looks like this:

# Use PHP 5.3
AddType application/x-httpd-php53 .php

addhandler x-httpd-php-cgi .php4
addhandler x-httpd-php5-cgi .php
addhandler x-httpd-php5-cgi .php5

# BEGIN s2Member GZIP exclusions
<IfModule mod_rewrite.c>
	RewriteEngine On
	RewriteBase /
	RewriteCond %{QUERY_STRING} (^|\?|&)s2member_file_download\=.+
	RewriteRule .* - [E=no-gzip:1]
</IfModule>
# END s2Member GZIP exclusions

# BEGIN WordPress
RewriteEngine On
RewriteBase /
RewriteRule ^index\.php$ - [L]

# uploaded files
RewriteRule ^([_0-9a-zA-Z-]+/)?files/(.+) wp-includes/ms-files.php?file=$2 [L]

# add a trailing slash to /wp-admin
RewriteRule ^([_0-9a-zA-Z-]+/)?wp-admin$ $1wp-admin/ [R=301,L]
RewriteCond %{REQUEST_FILENAME} -f [OR]
RewriteCond %{REQUEST_FILENAME} -d
RewriteRule ^ - [L]
RewriteRule  ^[_0-9a-zA-Z-]+/(wp-(content|admin|includes).*) $1 [L]
RewriteRule  ^[_0-9a-zA-Z-]+/(.*\.php)$ $1 [L]
RewriteRule . index.php [L]
# END WordPress

It’s for a WP network (multisite) so it’s different from yours. The addhandler lines… I don’t even remember where I got them from or why they’re there… but this file works so I left it like that.

Adding the line I told you about didn’t work on my case the first day either, but it worked afterwards… maybe you can retry? I hope your problem gets solved.

Posted: Saturday Mar 16th, 2013 at 11:31 pm #44951

Still not working. It shows a 1 but will not display a badge on any page or in the footer. ???

http://legacydreamteam.com/?s2member_s_badge_status=1

It worked until I updated the S2 plugin.

Posted: Sunday Mar 17th, 2013 at 12:47 pm #44987

http://legacydreamteam.com/?s2member_s_badge_status=1

http://legacydreamteam.com/s2-server-scanner.php

All is good but still no badge.

It worked until I updated the S2 plugin. Can I do a roll back to the previous version?

I guess I can’t advertise for S2 Member on my site anymore :(

Posted: Wednesday Mar 20th, 2013 at 9:30 am #45226

Jason,

http://legacydreamteam.com/?s2member_s_badge_status=1

http://legacydreamteam.com/s2-server-scanner.php

All is good but still no badge.

It worked until I updated the S2 plugin. Can I do a roll back to the previous version?

I guess I can’t advertise for S2 Member on my site anymore :(

What else could it be?

Posted: Wednesday Mar 20th, 2013 at 9:40 am #45227

Hi Kevin,

I’m sorry this is still not working for you :(
Let’s hope a support representative or developper sees this thread so they can help you out…

Good luck!

Posted: Monday Apr 8th, 2013 at 6:58 am #46835
CC SHambres
Username: Chevaune

I am having the same issue.

I tried to use contact form but I need to get a reply from a moderator.

Website is http://www.chamberstuition.co.uk

Status message is 0, I have checked through all the recommended tips etc

Posted: Wednesday Apr 10th, 2013 at 6:55 am #47056

CC SHambres said:
Status message is 0, I have checked through all the recommended tips etc

Since April 4th 2013, having logging disabled and no log files in the s2member-logs directory, are new requisites to validate the badge. http://www.s2member.com/changelog/#s2-changes-v130404

If you had the badge problem since then, you may want to check that requisite. [hilite path]Dashboard -› s2Member® -› Log Files (Debug) -› Logging Configuration[/hilite]

Of course, when you need to debug, you’ll have to enable logging and the badge will not validate during that time, but after you resolved the issue you can disable logging again and remove the log files.

The badges articles has been updated with this new requisite and there’s also an optional solution to improve the logs directory security. Knowledge Base » s2Member® Security Badges

Kevin Albright said:
All is good but still no badge.

Are you using the shortcode to display the badge?

[[s2Member-Security-Badge v="1" /]]

Maybe something’s affecting the shortcode? Try the tips here: Knowledge Base » Common Troubleshooting Tips

Posted: Wednesday Apr 10th, 2013 at 5:48 pm #47115
CC SHambres
Username: Chevaune

Therefore should I “permanently delete all log files”?

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