View Full Version : Search string for each forum ?
well i got this off another forum and have seen it mentioned here...
using this string url
http://animeboards.net/forums/search.php?getdaily=yes&action=dosearch&searchdate=1
i can bring back the posts done in the past day in all forums... but i was wondering if there is such a string to bring back posts done in each forum
so i can add a link to each forum page like
View posts in this forum for the past 1 day
can this be done without actual hacking ?
well wasn't that hard to find... all i needed to do was add &forumchoice=3 to the end of this url
http://animeboards.net/forums/search.php?getdaily=yes&action=dosearch&searchdate=1
so http://animeboards.net/forums/search.php?getdaily=yes&action=dosearch&searchdate=1&forumchoice=3
for forum id = 3 etc
just one problem how do i add it to the forumdisplay template so that
&forumchoice=x
where x is the id of the forum ?
oh well figured it out
http://animeboards.net/forums/search.php?getdaily=yes&action=dosearch&searchdate=1&forumchoice=$forumid :D
wow.......answered all your own questions...this is a new one on me :D
This is a real useful bit of info...thanks! ;)
~Chris
yeah looking back on it, it seemed strange talking to myself :lol
No, talking to yourself is normal.
No, Mike, it's not normal.
Dammit! Yes it is...
:D
(sorry, he gets a little off topic...)
{SHUT UP!)
hehe... ***looks up at which forum this is and asks...*** btw, which forum are you meant to mod, Mike ? :D
No wonder you have so may posts, you talk to yourself.
just following the almighty mod, Mike's lead :D
Hey, you started it!
Anyway, if you want to continue (or if I do), can we take it to the Chit Chat forum?
nah... this one can end here... :)
you guys are quite odd...
well here's another one, since i don't know php, this is my little contribution :(
search string to display for the last 24 hrs, post user/member sorted by particular forum
http://animeboards.net/forums/search.php?getdaily=yes&action=dosearch&searchdate=1&searchuser=$searchuser&forumchoice=$forumid
i.e. this http://www.vbulletin.com/forum/search.php?getdaily=yes&action=dosearch&searchdate=1&searchuser=eva2000 will bring back all the posts i did in the last 24 hrs...
http://www.vbulletin.com/forum/search.php?getdaily=yes&action=dosearch&searchdate=1&searchuser=eva2000&forumchoice=8
this will bring back all the posts in this forum that i made in the last 24 hrs
does anyone have a list of all the functions for these strings ?
[Edited by eva2000 on 08-26-2000 at 07:30 AM]
Can you use:
http://animeboards.net/forums/search.php?getdaily=yes&action=dosearch&searchdate=1&searchuser=$username&forumchoice=$forumid
Parker
[Edited by Parker Clack on 08-26-2000 at 04:57 PM]
yep that's the one i used above your post = http://animeboards.net/forums/search.php?getdaily=yes&action=dosearch&searchdate=1&searchuser=$searchuser&forumchoice=$forumid
question: is there a way to put that or this
http://animeboards.net/forums/search.php?getdaily=yes&action=dosearch&searchdate=1&searchuser=$searchuser
into a text field box so typing in the username brings back all posts by that user in the last 24 hrs ?
Originally posted by eva2000
question: is there a way to put that or this
http://animeboards.net/forums/search.php?getdaily=yes&action=dosearch&searchdate=1&searchuser=$searchuser
into a text field box so typing in the username brings back all posts by that user in the last 24 hrs ?
Sure you could do that. Try something like this:
<form method="get" action="search.php" name="">
<input type="text" name="searchuser" value="$searchuser">
<input type="submit" name="Submit" value="Search user!">
<input type="hidden" name="forumchoice" value="$forumid">
<input type="hidden" name="searchdate" value="1">
<input type="hidden" name="getdaily" value="yes">
</form>
Here is what I used and it seems to work ok. You can play around with the variables for the number of days to look back for with the username.
<table width="100%">
<td align="right">
<form method="get" action="search.php" name="">
<smallfont>Search by Username</smallfont>
<input type="text" name="searchuser" value="$searchuser">
<input type="submit" name="Submit" value="Go">
<input type="hidden" name="forumchoice" value="$forumid">
<input type="hidden" name="searchdate" value="1">
<input type="hidden" name="getdaily" value="yes">
<input type="hidden" name="action" value="dosearch">
<smallfont><A HREF="http://www.hometheaterforum.com/htforum/search.php?getdaily=yes&action=dosearch&searchdate=1&forumchoice=$forumid">
View Posts Over Last 24 Hours</A></smallfont>
</form>
</td>
</table>
vBulletin® v3.8.12 by vBS, Copyright ©2000-2025, vBulletin Solutions Inc.