The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
||||
|
||||
![]()
I am trying to create a custom php variable using the $userinfo[field5]
In my custom page, I reference a url relying on the members entry of field5 I have tried to create $customvariable = $vbulletin->$userinfo['field5']; in my custom vbulletin php page but apparently I am not including a file or something. (custom page currently only includes the global.php) When I add $customvariable to the template, it doesnt display. What am I missing? thanks EDIT: What I am trying to accomplish is converting any spaces from the field5 entry to +characters. example: user entry: Hello World conversion: Hello+World |
#2
|
||||
|
||||
![]()
Trry:
PHP Code:
|
#3
|
||||
|
||||
![]() Quote:
Thank you so much. |
![]() |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|