The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
how to add drop down list in vb?
hey guys,
i apologize in advance if this question have been asked before. I'm trying to create a new page in my vb forum and add few options etc. I've gone through the tutorial on how to create a new page within vb forum and i've been successful so far. I just wondering how can i add textfields, drop down lists (combo box) and buttons etc. I know how to create a form in html and link it to javascript. But i was wondering if there's already built in code then how can i link my code to it? For example, i've seen that in forumjump template, it uses the form and then in one of the optiongroup it calls $forumjumpbits and in other templates i also noticed calls to $somethingbits. Another example is $quickchooserbits or $postbits etc. I was wondering what are these, different classes and how i can create one like this? thanking in advance |
#2
|
||||
|
||||
You can put any HTML you want in your templates....Such as the form fields you want.
|
#3
|
|||
|
|||
basically what it does is this. You have your php script and you would assign a variable as a template.
So you can do something like $header = header_template $content = Content_template then at the end you could out your entire page. print(entire_page_template) in your entire page template you can pass those variables down, so your entire page template may just be $header $content $footer etc.... So when you see those variables in the templates they are being passed from the server in a php script. Thats just a simple way of putting it. |
#4
|
|||
|
|||
^thanks for this info, never mind the other questions i asked earlier. I've figured out myself, thanks though
|
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|