• Hi,
    How can i restrict messagebox page for users? for example i want to show messages of 4 users.

    I did this with another approach, I restricted per message, but it has many many problem that i can’t solve that.

    My old approach:
    in templates/messagebox.php

    line 44:
    $i=1; // added by myself
    while ( $messages->have_posts() ) {
    foreach …

    if($i++ > 4) { // hide messages up 4
    echo “it is restricted”;
    }
    break ; // show messages
    echo “it is not restricted”
    end foreach
    end while
    Although this approach compatibility worked, It depends on messages count.

    But i wanna show messages per users, So only show messages of 4 users for example,Not any more.

    Is it possible with ‘fep_get_participants’?

    Thanks!

The topic ‘Restrict “messagebox” page’ is closed to new replies.