Page 1 of 1

Form Storage Mod

PostPosted: Wed Oct 11, 2006 9:55 am
Author: Dioncecht
Ok, I don't believe one exists, I've looked pretty hard.

What I am looking for is a mod that allow me to create a form, post it so that users can fill it out and then when they submit it, it will send itself in a preformatted message to me and any other user(s) via email and/or PM and save itself in the database. Additionally, I would like it to be accessible ONLY by me, the users it was sent to, and the user who sent it.

For example:

I create a form where teh user has to sign up for a game or something. I add a few text boxes and some boxes to put the users text into. Then teh users can go in and fill out the fields, select teh user to send the form to and submit it. The data the user input is stored in teh SQL database and the mod prepares an email or PM (defined by Admin) to teh user selected and the Admin(s). The Mod uses a template to organize the data and sends it off. Now the only people who can access the form are the uiser who sent it, the user who recieved it, and teh Admin(s). Lastly, everyone who has access should be able to edit it.

Is there anything like that available, if not is it hard to do, does anyone else find this useful? I don't think I can write this myself without major assitance from PHP guru's.. but I am willing to give it a go if teh PHP guru's are willing to kind of walk me through parts of it...

Re: Form Storage Mod

PostPosted: Wed Oct 11, 2006 12:16 pm
Author: Helter
I searched unsuccesfully for months for a mod like that. I came close with PCP, but could never figure out the functions your describing, such as delivery and viewer permissions

Re: Form Storage Mod

PostPosted: Wed Oct 11, 2006 5:11 pm
Author: DjPorkchop
I tried real hard myself. I used the blank page mod and created my own forms and they looked real nice. I could never figure out how to make the mail part work nor could i get an answer from someone who knows the only answer I ever got was to use the boards mail functions ha ha ha Derrr!!!! I kinda figured that one. lol BUT how to use it and code it in pages. lol BUT anyhow, if your any good at html give the blank page mod a try. as for the mailing part Im sry I flat A** gave up on it a long time ago. have a great day Ray

PostPosted: Wed Oct 11, 2006 6:02 pm
Author: Dioncecht
If I figure out the mail thing, can you guys help me out with the rest?

Re: Form Storage Mod

PostPosted: Wed Oct 11, 2006 8:09 pm
Author: Helter
I think youd need MrDSL, or Teelk for the PCP part of it, Unless it is not auth'd and your users just sign and send, but thats not much of a mod. It would be nice to be able to store the forms under usernames, similar to posts

PostPosted: Thu Oct 12, 2006 4:31 am
Author: Dioncecht
Yep, I totally agree! Well, here's to hoping MrDSL or Teelk see this thread!

PostPosted: Thu Oct 12, 2006 6:05 am
Author: Dioncecht
Helter, how far did you get on the PCP thing? I want to start setting up the tab and creating the form layout in it but I can't for the life of me figure out how even create a new tab in PCP?

I think once I get a new tab (or page) created, I can kind of wing it with the fields... I think. PCP is pretty complicated!

Re: Form Storage Mod

PostPosted: Thu Oct 12, 2006 10:39 pm
Author: Teelk
PCP isn't too bad once you learn where everything is, since there isn't a lot of code writing involved.

The rest of the MOD is where the work is going to be. You'd need something like the KB MOD has where you could make custom fields via the ACP. In that way you could create a custom form page for any purpose. I'll take a look at how the KB MOD handles the custom field creation and see if I can duplicate it to some degree.

PostPosted: Fri Oct 13, 2006 8:01 am
Author: Dioncecht
Thanks for taking a look. I took a look at it and it went right over my head. Didn't really understand what was going on in that code.

It looks like this will a popular mod!!

PostPosted: Fri Oct 13, 2006 4:45 pm
Author: IntegraMOD

Re: Form Storage Mod

PostPosted: Sun Oct 15, 2006 10:14 am
Author: Dioncecht
Hmm... I looked at it briefly, but it looks like it gets us 2/3 of the way there. I assume iIt would need to be integrated to an extent to get the permissions working as well as the email/PM part right?

Unfortunatly, I have NO clue how to do the permissions part