The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
Howto urlencode variables?
Couldnt find anything about this.
I want to urlencode a variable like {vb:raw thread.title} in postbit_legacy. How can I do this? |
#2
|
|||
|
|||
I think {vb:urlencode thread.title} should work.
|
#3
|
|||
|
|||
This leads to "thread.title"
I am not sure if I need urlencode or htmlentities. I want a space to be %20 etc. |
#4
|
|||
|
|||
Hmm...I was going by what the manual said (and the example was {vb:urlencode variable}, so I thought a variable name would work there). But maybe try:
Code:
{vb:urlencode {vb:raw thread.title}} |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|