The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
![]()
If you look in admin cp for template called stadnarderror you will see pretty much how vb errors appear (non parse type errors). It would be nice if you could replace $errormessage in that template with a different content if the page is being to shown to amember of a specific usergroup.
I already tried doing "if.. bbuserinfo[usergroupid] == XX ...else ..." in php include however that didn't seem to work. Any ideas? |
#2
|
||||
|
||||
![]()
I could make a new function that does that....
errr... you do realize that $errormessage is the variable the cantains the error_templates... if you want to have a different standarderror template look than normal users... then that is possiable. |
#3
|
|||
|
|||
![]()
Standarderror template i s perfect. Just instead of the error specific template in the middle of standarderror template a specific error will be displayed all the time if its being viewed by X usergroup.
I believe the hack should be somewhere in the end of global.php |
![]() |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|