PDA

View Full Version : Autopost / search?


Sheldon Rampton
08-07-2002, 04:47 PM
I need some help finishing up a script that I've written which automatically posts a message to a new thread in one of my forums. It does everything I want, except that messages which I post using this script don't show up in vBulletin's search results. How do I tell vBulletin to add my message to its search index?

I'm attaching the basic code for my script, redacted to leave out my password and some other details. I wrote the code in Perl for compatibility with some existing scripts on my web site which provide features unrelated to vBulletin. If someone here wants to write a hack for vBulletin in Perl, you might be able to use this as model code to get you started. For those of you who only know PHP, the Perl code is similar enough that you should be able to get the idea of what I've done. If you can answer my question using PHP, I should be able to take it from there.

Xenon
08-07-2002, 06:28 PM
you have to use the indexpost() function of vb