PDA

View Full Version : What's the code for getting a button search a specific forum?


Gutspiller
11-11-2002, 04:08 AM
I have buttons where you can post in the certain forum and subscribe to a certain forum. What the URL that I need so that it will search for new posts in that individual forum?

The current code that I got from a hack at vbulletintemplates is

<a href="search.php?s=$session[sessionhash]&action=getnew&forumid=$forum[forumid]"><img src="{imagesfolder}/find2.gif" border="0" alt="Read New Posts in $forum[title]"></a>

But instead of searching just the forum that the search image is on, it shows all the latest posts in all the forums.

Can somebody help? :rolleyes:

Gutspiller
11-11-2002, 04:09 AM
hehe who made is so imagesfolder shows up as "https://vborg.vbsupport.ru/images"

That's cute. :)

Dean C
11-11-2002, 05:45 PM
Thats just a bug on all boards...

I think you need to change $forum[forumid] to the forumid you want to perform searches on :)

- miSt