![]() |
how to use getpermissions()
OK, I started a little hack which mass PM all user of a thread when its moved. I know there is a hack but I want to improve it and want to check if the forum I want to move the thread is viewable for the user.
I want to user getpermissions() function as I have the forumid and userid, but as far I tested it didn't work. When I use this one PHP Code:
PHP Code:
|
I played around with the function a little bit and still don't get it.
I thought this funczion is for checking, if a user (userid) has permission to view (canview) a specific forum (forumid). But I tested it and it doesn't work how I thought it would. Can anybuddy show me how to do this? |
If somebody like to know , I did it another way:
PHP Code:
|
All times are GMT. The time now is 10:03 AM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|