The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
![]()
Hello there,
Actually I'm trying to do some modification, where a user submit some data through a form, into a the database, but I want to make the user job is less and easier (i.e., he has to choose one of the radio buttons, or one of the drob daown list/ combo box) but I want to show their results in different languages, but I'm afraid that there is a conflect between validating the data & vbphrases if you've been through this before & you know there is a way to come over this please help me |
#2
|
|||
|
|||
![]()
And the problem is?
|
#3
|
|||
|
|||
![]()
The problem is that if I insert a phrase like
Code:
$vbphrase[1_day_ago] |
#4
|
||||
|
||||
![]()
Still don't understand your problem. You can insert placeholders inside phrases and use the construct_phrase() function to fill those placeholders.
|
#5
|
|||
|
|||
![]()
Actually this is the first time I hear of this function, however I look for it in the API documentation, and I found this:
Code:
string construct_phrase (string 0, mixed 1, mixed 2) * string 0: Text of the phrase * mixed 1: First variable to be inserted * mixed 2: Nth variable to be inserted and other variables, are they translations or what? *************** if there is a good tutorial for this or a good & simple modification use this please provide it |
#6
|
||||
|
||||
![]()
Again - please explain your problem more clearly - I was merely throwing ideas at you to see if they are right.
|
#7
|
|||
|
|||
![]()
thank you very much, dismounted
I'm very grateful to your help and I'm trying to deliver it with no security cleaning and then I may attach it to you to figure out what I'm trying to do, and what I'm worried about thanx again |
![]() |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|