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.

About: Lavish Dhand

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


My Latest Replies (From Various Topics)

Viewing 6 replies - 1 through 6 (of 6 total)
Author Replies
Author Replies
Posted: Monday Apr 15th, 2013 at 10:08 am #47497
Lavish Dhand
Username: lavish

Any thoughts on this? Anyone? Please, its an urgency.

Posted: Friday Aug 31st, 2012 at 2:26 am #23642
Lavish Dhand
Username: lavish

Mr Wells, @houfton can you kindly help me with this please?

Posted: Tuesday Aug 28th, 2012 at 3:47 am #23241
Lavish Dhand
Username: lavish

Can someone have a look here :

http://www.s2member.com/forums/topic/uri-restriction-for-buddypress-profile/

and please guide me where to put the second bit of code:

$displayed_username = str_replace("/members/", "", $_SERVER["REQUEST_URI);
$slash = strpos($displayed_username, "/");
$displayed_username = substr_replace($displayed_username, "", $slash);

Thank you

Posted: Monday Aug 6th, 2012 at 8:56 am #21217
Lavish Dhand
Username: lavish

Any Ideas?

Posted: Sunday Aug 5th, 2012 at 1:58 am #21175
Lavish Dhand
Username: lavish

Sorry! I found one more problem. After setting the uri even the profile owner cannot access their own album. To access their own album they have to navigate to /members/their-own-name/album and this access is necessary for them to add/remove and update their pictures.

So for the test when I set /members/username1/album/ restricted. username1 was found unable to access their own album.

Posted: Sunday Aug 5th, 2012 at 1:46 am #21173
Lavish Dhand
Username: lavish

Hello Raam,

Yes! I think it can work for me. Thanks a ton for the help! I request some more help please, I tried different urls and the following works..

/members/username1/album/

The problem with the above is I cannot set 5,000 restricted urls and also new members keep joining and they may have any names like:

/members/john/album
/members/mary/album/
/members/peter/album/
/members/paul/album/

What can I change the part ‘member-name’ to make it something like a wild-card. I tried

/members/*/album/

But the above does not work. Please advice.

Thank a VERY much :-)

  • This reply was modified 4 years, 5 months ago by  Lavish Dhand.
Viewing 6 replies - 1 through 6 (of 6 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.