vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   Member Archives (https://vborg.vbsupport.ru/forumdisplay.php?f=202)
-   -   Search string for each forum ? (https://vborg.vbsupport.ru/showthread.php?t=2679)

08-24-2000 03:50 PM

well i got this off another forum and have seen it mentioned here...

using this string url
http://animeboards.net/forums/search...h&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 ?

08-24-2000 05:32 PM

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...h&searchdate=1

so http://animeboards.net/forums/search...&forumchoice=3

for forum id = 3 etc

08-24-2000 05:36 PM

just one problem how do i add it to the forumdisplay template so that

&forumchoice=x

where x is the id of the forum ?

08-24-2000 05:44 PM

oh well figured it out

http://animeboards.net/forums/search...hoice=$forumid :D

08-24-2000 09:16 PM

wow.......answered all your own questions...this is a new one on me :D

This is a real useful bit of info...thanks! ;)

~Chris

08-24-2000 09:55 PM

yeah looking back on it, it seemed strange talking to myself :lol

08-25-2000 01:36 AM

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!)

08-25-2000 01:51 AM

hehe... ***looks up at which forum this is and asks...*** btw, which forum are you meant to mod, Mike ? :D

08-25-2000 02:06 AM

No wonder you have so may posts, you talk to yourself.

08-25-2000 10:02 AM

just following the almighty mod, Mike's lead :D

08-25-2000 01:26 PM

Hey, you started it!

Anyway, if you want to continue (or if I do), can we take it to the Chit Chat forum?

08-25-2000 01:28 PM

nah... this one can end here... :)

08-25-2000 02:51 PM

you guys are quite odd...

08-26-2000 10:23 AM

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...hoice=$forumid

i.e. this http://www.vbulletin.com/forum/searc...chuser=eva2000 will bring back all the posts i did in the last 24 hrs...


http://www.vbulletin.com/forum/searc...&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]

08-26-2000 07:57 PM

Can you use:

http://animeboards.net/forums/search...hoice=$forumid

Parker

[Edited by Parker Clack on 08-26-2000 at 04:57 PM]

08-30-2000 03:10 AM

yep that's the one i used above your post = http://animeboards.net/forums/search...hoice=$forumid

question: is there a way to put that or this
http://animeboards.net/forums/search...er=$searchuser

into a text field box so typing in the username brings back all posts by that user in the last 24 hrs ?

08-30-2000 03:36 AM

Quote:

Originally posted by eva2000


question: is there a way to put that or this
http://animeboards.net/forums/search...er=$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:
Code:

<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>


08-30-2000 04:35 AM

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.

Code:

<table width="100%">
<td align="right">
<form method="get" action="search.php" name="">
<smallfont>Search by Username</smallfont>&nbsp;
<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">
&nbsp;<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>



All times are GMT. The time now is 10:37 PM.

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.02279 seconds
  • Memory Usage 1,751KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (2)bbcode_code_printable
  • (1)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (18)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete