The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
Escaping
I usually don't have a problem escaping, but for some reason I can't escape this to use in a php file. A little help?
PHP Code:
|
#2
|
|||
|
|||
Why don't you use PHP tags in your post?
*hint hint* |
#3
|
|||
|
|||
Lol, I'm still lost. Sorry for being so difficult. I am good at things, but when it comes to escaping, I suck.
|
#4
|
|||
|
|||
Read the instruction manual then. http://uk2.php.net/types.string
|
#5
|
|||
|
|||
Quote:
Code:
$vbulletin->options['tum'] Code:
$vboptions[tume] |
#6
|
|||
|
|||
What exactly are you trying to do? Are you trying to get the value or the actual name?
(Read the previous link and see how variables differ in single/double quotes. Note: If you want the value, there is no need to use quotes at all) |
#7
|
|||
|
|||
Quote:
$tume = array('$vbulletin->options['tum']'); Would become: $tume = 28 So how would I go about this? P.S. This code is going in the admin area and it's the first time I have messed around with the admin area for modifications. So I was kind of looking for a straight up answer, so I could fiddle around in the file and figure out EXACTLY where the script needs to execute. Sorry for being impatient, but if it's not in the right area to begin with the script won't work anyway so I have no idea if escaping worked. Get my drift? |
#8
|
|||
|
|||
I really don't get what you mean but i am going to try.
PHP Code:
PHP Code:
PHP Code:
|
#9
|
|||
|
|||
Quote:
|
#10
|
||||
|
||||
Quote:
PHP Code:
|
Thread Tools | |
Display Modes | |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|