The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
![]()
I am trying to add a user profile field to the list of special variables that can be used in notices.
Does anyone know where (as in what template, php file or xml setting) the special variables are defined for the notices? By special variables I mean the things like {username}, {musername}, {userid} etc. Any help or a push in the right direction would be appreciated ![]() |
#2
|
||||
|
||||
![]()
There are only four:
Code:
{userid}, {username}, {musername}, {sessionurl} |
#3
|
|||
|
|||
![]()
I realise there are only four, but the question goes to where they are parsed and hence how it is possible to add more for custom profile fields.
|
#4
|
|||
|
|||
![]()
Try this:
AdminCP > Plugins & Products > Add New Product Hook Location: notices_noticebit PHP Code: PHP Code:
Line 662 of global.php |
#5
|
|||
|
|||
![]()
Thanks VERY much Opserty. That is exactly what I was looking for!
|
![]() |
Thread Tools | |
Display Modes | |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|