Forum Replies Created

Viewing 8 posts - 1 through 8 (of 8 total)
  • Author
    Posts
  • in reply to: Job's map shows wrong place #31132

    Hi Eyal, yes they’re all new jobs, just submitted after installing plugin and all jobs have the same issue.
    Thanks for info,

    I.

    in reply to: X Profile fields search in free version #34011

    E-Mail sent Eyal, thanks. If you can send me the beta I can help testing as far as I also need those features for my customer. Thanks once again,

    I.

    in reply to: Search only members with certain role? #30326

    so actually this is what I’ve added after line 378 in functions.php:


    for ($i = 0; $i < count($total_ids); $i++) {

    $my_id = $total_ids[$i]->member_id;

    if(user_cannot($my_id, "access_s2member_level1")) {
    unset($total_ids[$i]);
    }
    }

    it filters out members which have not at least membership level 1 (which we call Premium in our network). Maybe you can add and parametrize this option in the upcoming beta in some way, can be useful to many I think, thanks in advance Eyal,

    I.

    in reply to: Search only members with certain role? #30336

    so actually this is what I’ve added after line 378 in functions.php:


    for ($i = 0; $i < count($total_ids); $i++) {

    $my_id = $total_ids[$i]->member_id;

    if(user_cannot($my_id, "access_s2member_level1")) {
    unset($total_ids[$i]);
    }
    }

    it filters out members which have not at least membership level 1 (which we call Premium in our network). Maybe you can add and parametrize this option in the upcoming beta in some way, can be useful to many I think, thanks in advance Eyal,

    I.

    in reply to: Search only members with certain role? #30327

    I’m here for beta testing, just drop me a line where to get latest code. I’ll show you later what we’re doing with your plugin, it’s exactly what we were looking for our customer!

    in reply to: Search only members with certain role? #30337

    I’m here for beta testing, just drop me a line where to get latest code. I’ll show you later what we’re doing with your plugin, it’s exactly what we were looking for our customer!

    in reply to: Search only members with certain role? #30329

    OK, thanks Eyal! What I’ve done actually for now is adding:


    for ($i = 0; $i < count($total_ids); $i++) {
    $my_id = $total_ids[$i]->member_id;
    if(user_can($my_id, "access_s2member_level0"))
    echo 'User ID# 123 CAN access content protected at Level #0.';
    else if(user_cannot($my_id, "access_s2member_level0"))
    echo 'User ID# 123 CANNOT access content at Level #0.';

    }

    which seems to work, filters IDs out from results and checks it’s s2members capability, seems OK for now;) I’ll sty tuned!

    in reply to: Search only members with certain role? #30339

    OK, thanks Eyal! What I’ve done actually for now is adding:


    for ($i = 0; $i < count($total_ids); $i++) {
    $my_id = $total_ids[$i]->member_id;
    if(user_can($my_id, "access_s2member_level0"))
    echo 'User ID# 123 CAN access content protected at Level #0.';
    else if(user_cannot($my_id, "access_s2member_level0"))
    echo 'User ID# 123 CANNOT access content at Level #0.';

    }

    which seems to work, filters IDs out from results and checks it’s s2members capability, seems OK for now;) I’ll sty tuned!

Viewing 8 posts - 1 through 8 (of 8 total)