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.

Home Forums Adam

About: Adam

Sorry, I've not written a description yet. I'll get to it soon!


Topics I'm Subscribed To

Viewing 2 topics - 1 through 2 (of 2 total)
Topic Count Last Reply
Access Issue

By:  Bruce Walker in: Community Forum

voices: 5
replies: 9

4 years, 4 months ago  Raam Dev

Use s2Member button code in custom template.

By:  Adam in: Community Forum

voices: 2
replies: 1

4 years, 10 months ago  Jason (Lead Developer)

Viewing 2 topics - 1 through 2 (of 2 total)

Topics I've Started

Viewing topic 1 (of 1 total)
Topic Count Last Reply
Use s2Member button code in custom template.

By:  Adam in: Community Forum

voices: 2
replies: 1

4 years, 10 months ago  Jason (Lead Developer)

Viewing topic 1 (of 1 total)

My Latest Replies (From Various Topics)

Viewing 3 replies - 1 through 3 (of 3 total)
Author Replies
Author Replies
Posted: Tuesday Sep 4th, 2012 at 10:37 am #24033
Adam
Username: b4thestreet

Raam (Support Rep),

Worked like a charm!! Wow A++

Thanks. You made it very simple for me to understand and do. I appreciate the help. This one feature will save me HOURS of tech support time and will be greatly appreciated by our members. Cheers.

Posted: Monday Sep 3rd, 2012 at 11:09 pm #23981
Adam
Username: b4thestreet

Bruce (Support Rep),

Thanks for the quick reply! It is greatly appreciated.

I reviewed the documentation you suggested on Hacking s2Member® Via Hooks/Filters…and I have come to realize I am in over my head :( (lol)

Is there a way to just redirect the 503 warning to the following URL/WP Page?: http://b4thestreet.com/en/ip-restrictions/

Again, I appreciate any help you can offer.

Regards,

Adam

Posted: Friday Aug 31st, 2012 at 12:55 pm #23722
Adam
Username: b4thestreet

Is there a way to change the look of the ‘503: Service Temporarily Unavailable’ page…its not the prettiest. Perhaps a custom template or redirect?? Our membership site restricts unique IPs to 2 per user (home and office). This time of year people are traveling a lot and end up at the 503 page regularly.

I have identified the code that controls this message is located here at approx. line 53: wp-content/plugins/s2member/includes/classes/ip-restrictions.inc.php

$msg_503 = _x('<strong>503: Service Temporarily Unavailable</strong><br />Too many IP addresses accessing one secure area<em>!</em><br />Please contact Support if you need assistance.', "s2member-front", "s2member");

I am confident that I can simply change the html message to serve my purpose, but a redirect would be considerably better for my use. Then I can use a page with in my site template and include a contact form etc.

Any help would be appreciated. Thanks in advance!

  • This reply was modified 4 years, 4 months ago by  Adam.
Viewing 3 replies - 1 through 3 (of 3 total)

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.