PDA

View Full Version : Automatically create a new thread from outside vb


Shepski
11-11-2002, 02:42 PM
Hi

What I am wanting to do is:

I have a review section on my site. When someone posts a new review I would like to add to my reviews code a section which will loginto vb and create a new thread in a defined forum which will be something like:

Subject: New [reviewtype]

Message : A new review has been postsed for [reviewname]. See it at [theurl]

is this possible? would it be wise to create a user to use with this which can only have permission to post in a certain forum which the code would use?

Shepski
11-14-2002, 07:39 AM
take it thats a no then?

Xenon
11-15-2002, 08:22 PM
well, i think this review users aren't from your vb-database are they?

you can insert threads directly via the database:
so your script has a db-connection just run two insert querys, one inserts the thread, the other one the first post.

you don't need to create a dummy user, because you are working directly on the db, you can make them as a guestpost, which has the username of the reviewer (or any dummy user name..)