![]() |
$config['SpecialUsers']['undeletableusers'] in template question
Is there a way to check for $config['SpecialUsers']['undeletableusers'] in a template? I want to add an if condition so a link will not show up in they are a member of the undeletableusers.
|
Anyone have an idea on this? Anyone? Bueller... Bueller...
|
Um.... uh.... I have no idea. Have you tried writing a plugin to preregister the variable for use in your template?
|
Seeing as those users are configured in the config file by userid just use a userid array conditional. Save yourself time and stress :)
https://vborg.vbsupport.ru/showthread.php?t=231525 |
Quote:
Quote:
--------------- Added [DATE]1292790221[/DATE] at [TIME]1292790221[/TIME] --------------- I got it working. It was easier than I thought once I took the time to do it right. Thanks for pointing me in the right direction. ;) |
All times are GMT. The time now is 11:20 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:
|