This website can use cookies to improve the user experience

This website can use cookies to improve the user experience and to provide certain services and functions to users. Cookies contain small amounts of information (such as login information and user preferences) and will be stored on your device.

Enable All Cookies Privacy Policy

How do i know if the user is an admin ?


avatar
Philarmon 0
From: -
How do i know if the user is an admin ?

Hi Philipp !

I've bought the 1.8 version and really like the additional features Smiling Face Great ...

I would like to know how to find out if the user is an admin or moderator so i can show the admin features like open/close topics only to moderators ?

Thanks !

Notice

This topic is archived. New comments cannot be posted and votes cannot be cast.

Responses to this topic


1 Re: How do i know if the user is an admin ?
avatar
Administrator
1342
From: Austria
How do i know if the user is an admin ?

Originally posted by Philarmon:
I've bought the 1.8 version and really like the additional features Smiling Face Great ...

Thanks. It seems like you bought the license under another user name. If you like to get this account (Philarmon) associate with your license, let me know.

Originally posted by Philarmon:
I would like to know how to find out if the user is an admin or moderator so i can show the admin features like open/close topics only to moderators ?

This could be done with a single SQL query. Unfortunately, it is not easily possible because of the caching system. The entire topic page is statically stored in the cache.

Notice

This topic is archived. New comments cannot be posted and votes cannot be cast.