The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
![]()
I am trying to add a javascript to run during user registration. I need to run it once for each registration page that comes up. Looking at how things work, it appears that the best thing to do would be to use the plugin hooks and add code there. In reading about using hooks, it states that only php code is allowed.
So, is there a way to code the javascript inside the php code? Or is plugins the wrong way to do this, and if so how can I accomplish this? Thanks for any help! |
#2
|
|||
|
|||
![]()
In your plugin, use:
PHP Code:
|
#3
|
|||
|
|||
![]()
Thank you. That worked!
|
![]() |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|