![]() |
Whats the code for only some people can see the button?
Hi,
i want make a special delete Button in the showthread.php and i want that only the thread starter, admin, mods of this forum can see the button, how can i do it? thanks :) |
you would do
PHP Code:
|
hi thanks but i have many self made mod groups and so i must always change the IDs.
is there no other way so that the board looks if the mod can delete in his forum? |
You could also add this to that line.
PHP Code:
|
i think this will work too
PHP Code:
|
If you use just ismoderator(), then any mod can delete the message. If you use $permissions[ismoderator], then just the moderators of that forum can delete the message (as well as Admins and Supermods, of course).
|
All times are GMT. The time now is 06:52 PM. |
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:
|