The Arcive of vBulletin Modifications Site. |
|
|
#1
|
||||
|
||||
|
Having trouble converting the date $tour['tourdate'] into formatted date within the admincp.
Here's my code which displays the unformatted date just fine: PHP Code:
But when i try to format the date using vbdate as follows, the date completely disappears :PHP Code:
|
|
#2
|
||||
|
||||
|
Function scope.
PHP Code:
|
|
#3
|
||||
|
||||
|
aaaaaaaa! yes, i need to globalize $vbulletin within the function in order for the vbdate function to work within. Thanks!
|
![]() |
|
|
| X vBulletin 3.8.12 by vBS Debug Information | |
|---|---|
|
|
More Information |
|
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|