![]() |
Forumid if statement in standard_error template
I tried the usual <if condition="in_array($foruminfo[forumid], array(1,2,3,4))">
But I guess theres no forumid specified in the standard_error template? Could someone let me know of a small plugin or php file edit that would allow me to do this. Its really important I get this working as soon as possible, so any help would be greatly appreciated... Thanks |
standard_error() is only a wrapper for a phrase - it only know the phrase to display and nothing else.
|
I see. Is it possible to get it to display a different error message per forum? Basically instead of a no permission error, for a couple of my forums I want it to display a different error message when users try to open threads that they have no permission to open.
|
You'll have to see when the message is executed and change it.
|
Yep, thanks, I already figured out a solution to this, by creating a plugin within one of the show thread hooks.
|
All times are GMT. The time now is 07: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:
|