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.

URI Restriction not working (nor is hack!)

Home Forums Community Forum URI Restriction not working (nor is hack!)

This topic contains 0 replies, has 1 voice. Last updated by  Theo Black 4 years ago.

Topic Author Topic
Posted: Tuesday Jan 1st, 2013 at 7:48 pm #35941
Theo Black
Username: pat_web

Hi there,

I’ve had no problems whatsoever with S2member up until this point in time, and I’ve been racking my brains for the past couple of hours attempting to come up with a solution.

I am trying to implement the URI Restrictions so that only users who are Level 3 and Above can access the below directory:

http://www.pilotaptitudetest.com/questions/game1.html OR http://www.pilotaptitudtest.com/questions/

In the corresponding ‘Level 3 and Above’ box I have placed:

/questions/game1.html
/questions/

And have also tried to implement the hack as found here (http://www.s2member.com/forums/topic/uri-restrictions-not-working/) into the Functions.php file in my theme directory to no avail.

I’m not sure if I am misunderstanding the use of URI, or whether I have placed the PHP code in the wrong place in my Functions.php file but nothing happens at all when either are implemented.

I do not want to place this file (and it’s corresponding .js, .css etc) into the s2member-files directory.

**The links given above are not actual links, for example purposes only**

Any help will be greatly received. :) Thanks!

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.