The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
![]()
I want to add a check box to the quick search box. Why?
Basicly right now I have my forum set to search only about half my actual forums on any given search because I have a certain number of forums set to 'exclude' certains forums. This is done using a plugin I wrote added into the search hooks. Now what I want to do is have a check box that I can add into the quick search box, when if that box is checked my plugin would bypass itself. My question is this: How can I pass a variable from the quick search box to the search.php page where my plugin actually runs? I know the actual search itself is probably sent via a form POST command or something similar, but is there anyway to add in a variable to be sent also (that variable would be the check box..) ? Thanks for any help or ideas on where to begin on this |
#2
|
||||
|
||||
![]()
The checkbox is another variable that would be passed to the form. Name it "jwocky" and then check if jwocky is true or not and then do something based on that.
|
#3
|
|||
|
|||
![]() Quote:
thanks! --------------- Added [DATE]1240611931[/DATE] at [TIME]1240611931[/TIME] --------------- Oh wait I figured it out, i just added a clean_gpc variable and it worked great! thanks for starting me off in the right direction.. i love vbulletin! |
![]() |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|