Roles to exclude not working in another panel
mErilainen - September 11, 2009 - 07:22
| Project: | Advanced Profile Kit |
| Version: | 6.x-1.0-beta1 |
| Component: | Code |
| Category: | support request |
| Priority: | normal |
| Assigned: | Unassigned |
| Status: | closed |
Jump to:
Description
I have set up a dashboard for all users where they can see all new content related to them and I want to show profile visitors there instead of user's profile page. I'm trying to exclude two roles from this listing in APK settings, but it only excludes them in the profile page, not in the dashboard panel.

#1
I always hate to say this because it's a good way to end up with egg on your face but, honestly, what you're saying is impossible. Excluding the roles is done in the code that determines the last visitors. It has nothing to do with where you call it from.
For lack of any better guess, how, exactly, are you calling the function in your dashboard?
Michelle
#2
I know, it didn't make any sense and I also took a look at the code. I just hoped that you might have an idea.
But the problem was not related to APK, there was another block called "My latest visitors" which was in use in the other panel.
#3
Ah, that would do it. Thanks for reporting back.
Michelle