Snitz Forums 2000
Snitz Forums 2000
Home | Profile | Register | Active Topics | Members | Search | FAQ
Username:
Password:
Save Password
Forgot your Password?

 All Forums
 Community Forums
 Community Discussions (All other subjects)
 Outside Form posting to Forum
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  

JJenson
Advanced Member

USA
2121 Posts

Posted - 09 December 2008 :  16:27:55  Show Profile  Visit JJenson's Homepage  Reply with Quote
I have done this before but I have lost the code when my hard drive failed. I also cannot find it in searching either.

I need to have a form that posts to the forum from outside the forum directory I know I need to create a user and password for this form to use to post but I can't remember the rest and thought I would see if anyone has this bookmarked or coded already before I spend time recreating?

Thanks
Jeff<

ruirib
Snitz Forums Admin

Portugal
26364 Posts

Posted - 09 December 2008 :  16:34:58  Show Profile  Send ruirib a Yahoo! Message  Reply with Quote
The quick reply form, on topic.asp, would be a good point to start...<


Snitz 3.4 Readme | Like the support? Support Snitz too
Go to Top of Page

Etymon
Advanced Member

United States
2385 Posts

Posted - 09 December 2008 :  17:45:07  Show Profile  Visit Etymon's Homepage  Reply with Quote
Jeff, you can also create a connection string to access the database to pass and pull the credentials you need from outside the forum directory. Take a look at the Universal Login MOD. That is designed to access the database from outside the forum directory.<
Go to Top of Page

JJenson
Advanced Member

USA
2121 Posts

Posted - 09 December 2008 :  21:22:27  Show Profile  Visit JJenson's Homepage  Reply with Quote
Yeah I did it a different way just posting instead of the universal login mod. thanks though that is a good idea. Grr I am so ticked I lost that. Oh well I will rewrite it thanks all figured I would give it a shot here before I tried.<
Go to Top of Page

JJenson
Advanced Member

USA
2121 Posts

Posted - 09 December 2008 :  21:59:32  Show Profile  Visit JJenson's Homepage  Reply with Quote
Well I ended up finding a script I guess I did it from within the forum folder and made a form that posted to a forum. Thanks all I just didn't want the main forum to be accessible and this will do the trick.<
Go to Top of Page

gpspassion
Junior Member

260 Posts

Posted - 16 December 2008 :  17:12:47  Show Profile  Visit gpspassion's Homepage  Reply with Quote
Trying to do something similar myself, the plan is to read the userid/encrypted password from the cookie and then post a message to a particular topic.

Do you think you could share that script you came up with?<
Go to Top of Page

JJenson
Advanced Member

USA
2121 Posts

Posted - 16 December 2008 :  17:43:46  Show Profile  Visit JJenson's Homepage  Reply with Quote
Yeah no problem I will post it in a couple hours when I get home. I actually did it from within the forum folder but I used the inc_header_short.asp and basically no one can see the forum but they can get to my forms and when they fill out the form and submit it posts to a certain topic within the forum I specify.

You can even have it post like an email within the topic so they can only put certain details into the topic as well. I will be home in about 3 hours.<
Go to Top of Page

gpspassion
Junior Member

260 Posts

Posted - 16 December 2008 :  17:58:22  Show Profile  Visit gpspassion's Homepage  Reply with Quote
Sounds good, thanks !

A related question, I think, would be to create HTML code, to be run from the forums for instance, to read the UserID and PWD in the cookies and send that data to another site so that site could initiate a message with that info, do you think that's feasable ?<

Edited by - gpspassion on 16 December 2008 18:04:16
Go to Top of Page

JJenson
Advanced Member

USA
2121 Posts

Posted - 16 December 2008 :  21:09:47  Show Profile  Visit JJenson's Homepage  Reply with Quote
Ok here is a zip there is no DBS script ot install or anything you should just be able to upload to your forum modify the 2 fiels to fit your needs and your done.

download here<
Go to Top of Page

gpspassion
Junior Member

260 Posts

Posted - 17 December 2008 :  10:17:56  Show Profile  Visit gpspassion's Homepage  Reply with Quote
Thanks, modified the CAT and FORUM and it worked a charm, pretty scary actually, will it always post under the admin's name ? It doesn't seem you're reading cookies ? I'd need to get it to post to an existing topic but I can probably adapt the script to do that.

PS - as a side note, seeing that you were able to reply quickly to my message yeterday, do you have a way of getting notified of new posts in this topic?<
Go to Top of Page

JJenson
Advanced Member

USA
2121 Posts

Posted - 17 December 2008 :  11:15:57  Show Profile  Visit JJenson's Homepage  Reply with Quote
You can just set up subscriptions to this forum. For my personal use it posts to forums no one can see so that would work for me. If you are logged as the admin I believe it posts as the admin if I remember right. But if you are logged out you will have to put the username and password into the script where I specified.


<edit>Looks like it seems to be posting as the admin on mine as well it used to be the user but I must have changed it along the way. I can't remember.</edit><

Edited by - JJenson on 17 December 2008 11:17:40
Go to Top of Page

gpspassion
Junior Member

260 Posts

Posted - 17 December 2008 :  12:52:57  Show Profile  Visit gpspassion's Homepage  Reply with Quote
Thanks, I must be missing something but I can't see a way to subscibre to this topic or forum, only forum I've see here where you can do that, is the "security" forum, maybe because you're an advanced member, oh well, I'll just check my topics ;-)

Anyway, I see your messages also get posted as admin, kind of scary when you think of it, how are you going around forum safety checks?<
Go to Top of Page

JJenson
Advanced Member

USA
2121 Posts

Posted - 17 December 2008 :  13:19:02  Show Profile  Visit JJenson's Homepage  Reply with Quote
Honestly I don't remember I know they are not allowed to get to the actual forum. But hoenstly I haven't looked into in a long time<
Go to Top of Page

gpspassion
Junior Member

260 Posts

Posted - 20 December 2008 :  17:59:58  Show Profile  Visit gpspassion's Homepage  Reply with Quote
Took a close look at the code and I can't figure out how on earh it can pass itself as the admin to create that post. If ever you remember how that got coded in there I'm all ears ;-)<
Go to Top of Page

JJenson
Advanced Member

USA
2121 Posts

Posted - 20 December 2008 :  18:08:22  Show Profile  Visit JJenson's Homepage  Reply with Quote
Honestly lookingover the code you should have to put it into the feature_list.asp but not any clue as to why its not using that. I check my other forum and it works as intended. Very strange.<
Go to Top of Page
  Previous Topic Topic Next Topic  
 New Topic  Reply to Topic
 Printer Friendly
Jump To:
Snitz Forums 2000 © 2000-2021 Snitz™ Communications Go To Top Of Page
This page was generated in 0.14 seconds. Powered By: Snitz Forums 2000 Version 3.4.07