vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   Member Archives (https://vborg.vbsupport.ru/forumdisplay.php?f=202)
-   -   Autopost / search? (https://vborg.vbsupport.ru/showthread.php?t=42023)

Sheldon Rampton 08-07-2002 04:47 PM

Autopost / search?
 
1 Attachment(s)
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


All times are GMT. The time now is 10:03 AM.

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.01022 seconds
  • Memory Usage 1,704KB
  • 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
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (2)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