The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
||||
|
||||
$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.
|
#2
|
||||
|
||||
Anyone have an idea on this? Anyone? Bueller... Bueller...
|
#3
|
||||
|
||||
Um.... uh.... I have no idea. Have you tried writing a plugin to preregister the variable for use in your template?
|
#4
|
||||
|
||||
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 |
#5
|
||||
|
||||
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. |
Thread Tools | |
Display Modes | |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|