View Full Version : VB3Articles Search Capability
Seiken
02-13-2005, 12:12 AM
Iv asked and no one replyed well whatever. But someone told me that there is already a addon that allows users to search within the v3articles. Can someone link me to where this mod is.
KTBleeding
02-13-2005, 06:34 AM
The search function is already included with the script, the html for it was not created however. Something about searches wouldn't be put on seperate pages, or something?
Anyways, I can't take the time to find the code to use cause I have to go to bed, but it's somewhere around here. Maybe someone else knows where it is.
Good luck. :)
Seiken
02-13-2005, 07:29 PM
So your telling me that V3Articles has a search built into it but theres no script...? Then how is it built into it.
KTBleeding
02-13-2005, 07:42 PM
Sorry, I was very tired last night.
What I mean is the serch was never put into the templates because v3articles1.0.1 didn't have the search part complete (it would show all search results on one page, rather than spanning them out across pages).. from my understanding.
If you open up articles.php and search for:
// ########################### SEARCH #################################
You'll see all of the search code below it.
So basically all you have to do is add the html code in any of the templates.
<b>Search Articles:</b><br>
<form action="article.php" method="get">
<input type="hidden" name="do" value="search" />
<input type="text" class="bginput" name="keyword" size="20" />$gobutton
</form> should do the trick. Place it anywhere you want it in the articles templates.
Hope that is more clear. ;)
Seiken
02-13-2005, 08:20 PM
thanks ill try that
vBulletin® v3.8.12 by vBS, Copyright ©2000-2025, vBulletin Solutions Inc.