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: Kenneth Jørgensen

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
self deleting S2member.php???

By:  Kenneth Jørgensen in: Community Forum

voices: 1
replies: 0

3 years, 1 month ago  Kenneth Jørgensen

View s2member level in buddyPress profil

By:  Kenneth Jørgensen in: Community Forum

voices: 2
replies: 3

3 years, 6 months ago  Eduan

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

Topics I've Started

Viewing 2 topics - 1 through 2 (of 2 total)
Topic Count Last Reply
self deleting S2member.php???

By:  Kenneth Jørgensen in: Community Forum

voices: 1
replies: 0

3 years, 1 month ago  Kenneth Jørgensen

View s2member level in buddyPress profil

By:  Kenneth Jørgensen in: Community Forum

voices: 2
replies: 3

3 years, 6 months ago  Eduan

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

My Latest Replies (From Various Topics)

Viewing 1 replies (of 1 total)
Author Replies
Author Replies
Posted: Thursday Jul 11th, 2013 at 4:03 pm #53314

The only code I can find to make an output to membership status is

<?php if (S2MEMBER_CURRENT_USER_ACCESS_LEVEL === 4){ ?>
    A Member has an Access Level of 4.
<?php } else if (S2MEMBER_CURRENT_USER_ACCESS_LEVEL === 3){ ?>
    A Member has an Access Level of 3.
<?php } else if (S2MEMBER_CURRENT_USER_ACCESS_LEVEL === 2){ ?>
    A Member has an Access Level of 2.
<?php } else if (S2MEMBER_CURRENT_USER_ACCESS_LEVEL === 1){ ?>
    A Member has an Access Level of 1.
<?php } else if(S2MEMBER_CURRENT_USER_ACCESS_LEVEL === 0){ ?>
    A User is logged in as a Free Subscriber.
<?php } else if(S2MEMBER_CURRENT_USER_ACCESS_LEVEL === -1){ ?>
    A User is not logged in at all.
<?php } ?>

Or

<?php echo S2MEMBER_CURRENT_USER_ACCESS_LABEL; ?>

But that will show my current membership status. If I change my status from example. Level 1 to Level 3 it will show that all members I’m looking at is Level 3

The same if I change it to Level 1 again, it will show that all members I’m looking at is Level 1

If it’s another code I need can you give me a hint?

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