![]() |
Quote:
Next goto MAIN Template and adddddddd that new dropdown there also...>>> Use your own code or template code to add... 3 dropdowns below in code HTML Code:
<TABLE width="100%"><TR> |
Quote:
Add to proper location... 'dropdownanswer4' => TYPE_STR, $dropdownanswer4 = $vbulletin->GPC['dropdownanswer4]; HTML Code:
// Part 1 Lower Plugin code area...> questions...> HTML Code:
//////////////////////////////////////////////////////////////////////////////////////////////////// Good Luck;) |
Thanks a lot for taking the time to explain that Deepdog009, but I don't think it answers my question (if it does, then I don't understand it).
For example, say you wanted a form to post news in your forum. There are 3 different forums which represent the catergories the for news. They are Sport, Weather and Other - each of which are different forums. Basically, depending on what you select in the drop down box will determine which forum the news is posted in to. I hope that makes more sense. :) |
RayW what you be asking requires some code modifications. Im good with CSS and HTML but at this time Im still reading and learning on PHP, Perl and Java.
ABE1 can help you better. Take a peek in the earlier posts and maybe theres something there that might help U. Good Luck |
No worries, thanks a lot.
Cheers! :) |
Ok, I've been trying to nut this out based on what others have posted in the thread.
Basically, I want a drop down box which defines what forum the news will be posted too. I have the following: Code:
//FORUM TO POST NEW THREAD IN Code:
//////////////////////////////////////////////////////////////////////////////////////////////////// Code:
<select name="dropdownanswer1"> Could someone offer some advice. I'm assuming the problem lies in the above somewhere; maybe!! :confused: THanks! |
HEY!!!! I figured it out. I just noticed that <select name="dropdownforum1"> should be <select name="dropdownanswer1">.
I will post the finished product once I have fine tuned it. :) EDIT: I've updated the code above so it should work fine now. |
U da Man RayW:up:
Yes please post your outcome when finished. If statements seem easy until you place them. But eventually hard work and patience will prevail. Cya :) |
Hey guys, maybe I missed it, I also ran a search. Is there way to set this up so you can select a post icon, and not have it be blank when it posts the topic? I was trying to figure out a way to do it, but I kept breaking the code. Any ideas would be great. Thanks!
|
I'm looking for some guidance in formatting the answer template so that I can control the way the finished post looks. Is there any way to use conditionals in the answer template?
For example I have $question1 $checkboxAnswer1_1 $checkboxAnswer1_2 $checkboxAnswer1_3 If only the first checkbox is selected on the form then the $checkboxAnswer1_2 and $checkboxAnswer1_3 put spaces in the final post. I'd like to do something like if ($checkboxAnswer1_2==""){ echo ""; } That way I can eliminate the spaces? Any ideas? |
All times are GMT. The time now is 09:13 PM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|