![]() |
Making a Search Command in the Side Bar(missing security token problem)
i have made a pretty basic search bar and i was wondering a couple things about it
1. How do i fix the security token issue with in it. 2. How do i make it so it doesn't stretch the side bar. 3. How can i change the submit button to something i choose. Code:
<form action="search.php?do=process" method="post" name="vbform" id="searchform" > |
This thread here tells you about security tokens. It should tell you the line to add to your form - Implementing CSRF Protection in modifications
|
Ok now i got the security token to work properly but it is not searching correctly can anyone take a look at the code and see what is wrong with it
Code:
<div class="sidebar_menu"><form action="search.php?do=process" method="post" name="vbform" id="searchform"\> |
Take a look at the search form in the navbar. You will need to have all the same input fields in your form as in the quick search form.
|
can anyone provide some actual code that might be of some use. Either the actual code that i need or a example code for me to base my code off of would be very appreciated.
|
Did you look in the navbar like I suggested? This is the form in the navbar - you'll have to edit it to fit your needs:
HTML Code:
<td class="vbmenu_option" title="nohilite"> |
All times are GMT. The time now is 05:50 AM. |
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:
|