The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
||||
|
||||
Variables in Standard Redirect
Is it possible to include variables in a standard redirect phrase? If so -- how?
|
#2
|
||||
|
||||
I'm searching for this too! I know I could use something like this:
PHP Code:
|
#3
|
||||
|
||||
That's what the function "construct_phrase() is for.
|
#4
|
||||
|
||||
Quote:
:cross-eyed: |
#5
|
|||
|
|||
I think you should be using {myvar} as opposed to {1}?
|
#6
|
||||
|
||||
Quote:
|
#7
|
||||
|
||||
Quote:
Edit: I got this to work with standard_errors, but never tried it with standard redirs., someone can give it a try if they'd like. Code:
eval(standard_error(fetch_error('phrase_name',$myvar))); |
#8
|
|||
|
|||
Anyone figure this out? I tried:
PHP Code:
|
#9
|
||||
|
||||
its not designed to work like that, ive complained about it before to Jelsoft but i guess nothing was done. basically all the standard_error and standard_redirect can do is pull the phrase as is. no construction what so ever. at least that was from 3.0.x, havent looked at the 3.5.x+ code.
|
#10
|
|||
|
|||
Yeah, I got it working with standard_error, but not with standard_redirect.
|
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|