Welcome, Guest. Please login or register.
Did you miss your activation email?
May 16, 2012, 09:54:32 PM

Login with username, password and session length
Search:     Advanced search
Interested in joining the WebsiteBaker team?
For more Information read here or on our new website.
155094 Posts in 21661 Topics by 7721 Members
Latest Member: arrow345
* Home Help Search Login Register
Pages: 1 ... 3 4 [5]   Go Down
Print
Author Topic: module - form2 (form with some extras)  (Read 20897 times)
Bear
Guest
« Reply #100 on: February 22, 2006, 11:23:47 PM »

ok, ran the update script and erased it. update script seemed to work this time, though it did not earlier, mabey i was typing the url wrong? i noticed that the settings do not stay set. if you set them once, then go back into settings again, they are reset. also, the page that the form is on is still showing as a 500. ideas?
Logged
Bear
Guest
« Reply #101 on: February 22, 2006, 11:27:57 PM »

Also, I noticed that in the settings the spaces for header, field loop and footer are blank. do i need to fill them in or do they automatically have an unseen default value that makes them work correctly?
Logged
pcwacht
Guest
« Reply #102 on: February 22, 2006, 11:49:29 PM »

It seems you installed the form page incorrectly due to not having run the update script prior to making the form page

delete the form page and start all over will do the trick.

Good luck,
John
Logged
Gerhard

Offline Offline

Posts: 37



WWW
« Reply #103 on: May 31, 2006, 10:31:27 AM »

Hi John, what a great module.

Would it be possible to have in the settings section of the form in the e-mail from field appart from Custom one which says User, and if this is selected the email will be sent to the users e-mail as defined in the user profile, that would be fantastic, I am happy to embark on this if you don't have the time, just give me some hints.

thanks gerhard
Logged
ruebenwurzel
WebsiteBaker Org e.V.

Offline Offline

Posts: 7970



WWW
« Reply #104 on: May 31, 2006, 10:40:16 AM »

Hello Gerhard,

the latest version of this modul with all changes for WB 2.6.4 you can find here

http://forum.websitebaker.org/index.php/topic,2605.0.html

Matthias

Edit:
corrected the link
« Last Edit: May 31, 2006, 12:40:21 PM by ruebenwurzel » Logged
Gerhard

Offline Offline

Posts: 37



WWW
« Reply #105 on: May 31, 2006, 10:58:38 AM »

Hi Matthias,

I think I was not quite clear what I am after.

 also your link is pointing to another topic, but I have the latest form module installed and run the update_form.php

My form can only be accessed by a loged in user, that means I have an e-mail addressd in the database for this user.
I would like, that the form email be sent to the users email, without having to create an email field on the form, just pull it out of the user database.

hope this is clearer, thank for the fast response

gerhard

Do you un1
Logged
pcwacht
Guest
« Reply #106 on: May 31, 2006, 12:29:45 PM »

Don't think it is plain do-able within current form modules (the standard or the new one)


What you want:
logged in user can see and fill in the form, the submission must got to the users email

options:
1 rewrite a bit of view.php wich will hide the emailtype input (make it a hidden field)
2 rewrite the bit wich sends the submission
3 rewrite the backend (and frontend) to use logged in user as emailaddress

If you use the form module only once you could easiest add some code in the view.php of the form module where it adds the hidden field with the users email (but this will be plain visible in the source, so watch out for email harvesters!), better is to put the users id in the send routine

original formmodule - view.php line 318
Code:
// Now send the email
if($email_to != '') {
if($email_from != '') {
if($wb->mail($email_from,$email_to,$email_subject,$email_body)) { $success = true; }
}
}
add some code before wich fetches the users emailaddress and set $email_to



Have fun
John
Logged
ruebenwurzel
WebsiteBaker Org e.V.

Offline Offline

Posts: 7970



WWW
« Reply #107 on: May 31, 2006, 12:30:27 PM »

Hello Gerhard,

the link i posted to you is the continue of this post. The modul here isn't continued. So if you have wishes and you use the latest form modul (wich you only get at the link i posted you) please post this wishes there and not here.

Matthias

Edit:
Sorry was my mistake, the link from the post above was wrong, have it corrected now.
« Last Edit: May 31, 2006, 12:39:10 PM by ruebenwurzel » Logged
gauer

Offline Offline

Posts: 49



WWW
« Reply #108 on: September 07, 2006, 11:57:00 AM »

Problem:

On the website, everything works correctly, I see my Thank you page and in the Administration that an email has been sent.

BUT: The success-email does not arrive at the destination. That means for the one who sent me the email: No mail received. (I did receive the mail from the contact form, but not the sender, where I put, in the settings, Email Fied as the address to send a mail to.)

In short, hopefully to be understandable: If you submit a contact form at gauer.net, I get the mail, but YOU DON'T get my confirmation mail sad

Big problem. Anyone knows how I can resolve this issue/problem.

BTW: If I look at the email in the pages section, in line 3 it says: User: unknown.

Would appreiciate any help!

Thanks and have a nice day,

André
« Last Edit: September 07, 2006, 12:11:27 PM by gauer » Logged
Pages: 1 ... 3 4 [5]   Go Up
Print
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.16 | SMF © 2011, Simple Machines Valid XHTML 1.0! Valid CSS!