Hello KK,
I am using the extended users addon and so far everything is going on well except for some strange reason the k_user_access_level is same for all users: To get the k_user_access_level from all the users I did this:
When I log in as super-admin all the k_user_access_levels change to the super-admin level(10) and when I log in as a normal user all the access levels change to 2. Why is it so? Any pointers? Thank you
What I seek to achieve is this:
1. I have related a messages.php template to the users template.
2. In a messages.php page, I am using <cms:related_pages > to bring the users into view so that I will be able to get the user levels and compare it to the currently logged in user and apply a class to it.
I am using the extended users addon and so far everything is going on well except for some strange reason the k_user_access_level is same for all users: To get the k_user_access_level from all the users I did this:
- Code: Select all
<cms:pages masterpage="users/index.php">
<cms:show k_page_title /> // <cms:show k_user_access_level />
</cms:pages>
When I log in as super-admin all the k_user_access_levels change to the super-admin level(10) and when I log in as a normal user all the access levels change to 2. Why is it so? Any pointers? Thank you
What I seek to achieve is this:
1. I have related a messages.php template to the users template.
2. In a messages.php page, I am using <cms:related_pages > to bring the users into view so that I will be able to get the user levels and compare it to the currently logged in user and apply a class to it.