ItsOnlyMe
Verified User
Hi,
I can't seen to figure out how to get the skin tokens to work in plugins. I have written a plugin that needs to be visible if a user has access to a function like SSH, if the user has access to that, then the link to the plugin page needs to be visible. I can get it working when i edit the enhanced theme/skin it zelf with:
But when i add this to the plugins/MY_PLUGIN_NAME/hooks/user_txt.html it does not accept this. Is there a way to get this working without changing the original template it self?
Kind regards,
I can't seen to figure out how to get the skin tokens to work in plugins. I have written a plugin that needs to be visible if a user has access to a function like SSH, if the user has access to that, then the link to the plugin page needs to be visible. I can get it working when i edit the enhanced theme/skin it zelf with:
Code:
|*if USERSSH="ON"|
<a href="/CMD_PLUGINS/MY_PLUGIN_NAME">MY PLUGIN NAME</a>
|*endif|
But when i add this to the plugins/MY_PLUGIN_NAME/hooks/user_txt.html it does not accept this. Is there a way to get this working without changing the original template it self?
Kind regards,
Last edited: