The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
||||
|
||||
![]()
I have a plugin I am using in two different locations, however it essentially does the exact same thing for each location with the exception that it pulls data from a different array to set the DM.
PHP Code:
PHP Code:
Thanks! |
#2
|
|||
|
|||
![]()
THIS_SCRIPT == 'editpost' OR THIS_SCRIPT == 'newthread'
maybe? |
#3
|
|||
|
|||
![]()
Put the code in a function and pass the array to be used as argument.
|
#4
|
||||
|
||||
![]()
A function is another way of handling it, but actually the way I solved it was by simply using a new var like this:
PHP Code:
![]() |
![]() |
Thread Tools | |
Display Modes | |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|