![]() |
Template Conditional for threads by a specific author
Hi all
I need to change the appearance of threads started by a specific author. What would be the template conditional for that? Ideally by user id number, else by author name. Since the author is also the admin, a conditional for admin thread authors could also be a compromise solution. Using a plugin is fine. Thanks in advance for the help |
Threads use the SHOWTHREAD template. Just before </head> you could add the following condition:
HTML Code:
<vb:if condition="$thread['postuserid'] == 1"> Alternatively, instead of injecting a CSS file, you could use the regular CSS style tag like this: HTML Code:
<vb:if condition="$thread['postuserid'] == 1"> |
So how exactly does this look ?
|
That works, many thanks Dave
|
All times are GMT. The time now is 11:14 AM. |
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:
|