|
|
Joined: Jan 2000
Posts: 5,834 Likes: 20
UBBDev Owner Time Lord
|
UBBDev Owner Time Lord
Joined: Jan 2000
Posts: 5,834 Likes: 20 |
Adding it to the search dropdown shouldn't be difficult at all, simply open the header.tpl file and then locate the search dropdown code: {if $search_link} <div id="search_popup" style="display: none"> <form method="post" action="{ubb url=""}"> <input type="hidden" name="ubb" value="dosearch" /> <input type="hidden" name="daterange" value="0" /> <input type="hidden" name="where" value="bodysub" /> <input type="hidden" name="fromsearch" value="1" /> <input type="hidden" name="checkwords" value="1" />
<table class="popup_menu"> <tr> <td nowrap='nowrap' class="popup_menu_header">{$lang.SEARCH_HEADER}</td> </tr> <tr> <td class="popup_menu_content noclose"> <label> <input type="text" name="Words" class="form-input" /> <input type="submit" name="textsearch" value="{$lang.GO_BUTTON}" class="form-button" /> </label> </td> </tr> <tr> <td class="popup_menu_content"><a href="{ubb url="ubb=search"}">{$lang.ADVANCED_BUTTON}</a></td> </tr> </table> </form> </div> <script type="text/javascript"> registerPopup("search_popup"); </script> {/if} Then, add a new line after: <tr> <td class="popup_menu_content"><a href="{ubb url="ubb=search"}">{$lang.ADVANCED_BUTTON}</a></td> </tr> Like: <tr> <td class="popup_menu_content"><a href="{ubb url="ubb=google"}">Google Search</a></td> </tr>
|
|
|
Donate to UBBDev today to help aid in Operational, Server and Script Maintenance, and Development costs.
Please also see our parent organization VNC Web Services if you're in the need of a new UBB.threads Install or Upgrade, Site/Server Migrations, or Security and Coding Services.
|
|
Posts: 254
Joined: January 2000
|
|
Forums63
Topics37,575
Posts293,931
Members13,823
|
Most Online6,139 Sep 21st, 2024
|
|
Currently Online
Topics Created
Posts Made
Users Online
Birthdays
|
|
|
|
|