| Author |
Topic Search Topic Options
|
mack
Groupie
Joined: 06 November 2004
Location: United States
Status: Offline
Points: 90
|
Post Options
Thanks(0)
Quote Reply
Topic: Adding topics from within ASP.NET Posted: 18 November 2006 at 6:49am |
|
I'm the webmaster of a clan. My clan has recently told me they would like a feature that allowed people to fill out a form from within the website, and once the form is submitted it would be posted as a new topic in the recruitment section.
So here's what I need to know- Since it will need to be done as a guest, I need to know how to implement WebWiz's captcha from within ASP.NET. I got the form to work with WebWiz, but it says the CAPTCHA code is incorrect no matter what I do.
Next- if the above is not possible, what tables do I need to insert the data in? Better yet, where is the SQL statement that inserts data into the table when a new topic is posted?
I have a lot of experience with ASP3, ASP.NET, and SQL so you know.
Thank You, MacK
|
 |
mack
Groupie
Joined: 06 November 2004
Location: United States
Status: Offline
Points: 90
|
Post Options
Thanks(0)
Quote Reply
Posted: 21 November 2006 at 3:00am |
|
Let me guess, no one knows how to do this?
|
 |
MadDog
Mod Builder Group
Joined: 01 January 2002
Status: Offline
Points: 3008
|
Post Options
Thanks(0)
Quote Reply
Posted: 21 November 2006 at 5:15am |
|
Take a look at new_post.asp
Your gonna have to figure this out on your own, i doubt anyone wants to code this for you.
|
|
|
 |
mack
Groupie
Joined: 06 November 2004
Location: United States
Status: Offline
Points: 90
|
Post Options
Thanks(0)
Quote Reply
Posted: 22 November 2006 at 3:24am |
|
Yes, I'm aware of this that's why I mentioned I know plenty of ASP.NET, I just need to know the easiest route to do it. I was going to do it manually by adding it to the database, but I realized I could simply use guest-posting and do it right through the forum... but CAPTCHA has a ?sid # and I'm not sure what it is (I assume session id)? If so, how can I retrieve it from ASP3 when I'm using ASPNET? I don't know if that's possible.
|
 |
MadDog
Mod Builder Group
Joined: 01 January 2002
Status: Offline
Points: 3008
|
Post Options
Thanks(0)
Quote Reply
Posted: 22 November 2006 at 3:29am |
|
WWF uses it own session system so you cant use any kind of asp command to get the SID.
The easiest thing to do is add a new topic to tblTopic and tblThread and use the Author_ID of 2 (for the guest account).
|
|
|
 |
dpyers
Senior Member
Joined: 12 May 2003
Status: Offline
Points: 3937
|
Post Options
Thanks(0)
Quote Reply
Posted: 22 November 2006 at 3:23pm |
|
I had done something at one time where based upon the Forum ID and if it was a new thread, I would load a page with questions as boiler plate text into the RTE instead of a blank page. Wasn't quite the same as a form and couldn't save individual fields but provided a standard set of entries for the first post.
|
Lead me not into temptation... I know the short cut, follow me.
|
 |