zhai
07-23-2012, 03:21 AM
I want to use something similar with "can_moderate" that is available in templates conditionals.
How do I perform such operation inside a plugin?
Say that I have an array of forum IDs and a Userid. I want to iterate all the way through my array of Forum IDs to check if the User has any moderation power in any of those forum IDs. What function should I use?
thanks
How do I perform such operation inside a plugin?
Say that I have an array of forum IDs and a Userid. I want to iterate all the way through my array of Forum IDs to check if the User has any moderation power in any of those forum IDs. What function should I use?
thanks