The following warnings occurred:
Warning [2] Undefined array key "avatartype" - Line: 783 - File: global.php PHP 8.1.31 (Linux)
File Line Function
/global.php 783 errorHandler->error
/printthread.php 16 require_once
Warning [2] Undefined array key "avatartype" - Line: 783 - File: global.php PHP 8.1.31 (Linux)
File Line Function
/global.php 783 errorHandler->error
/printthread.php 16 require_once
Warning [2] Undefined variable $newpmmsg - Line: 40 - File: global.php(841) : eval()'d code PHP 8.1.31 (Linux)
File Line Function
/global.php(841) : eval()'d code 40 errorHandler->error
/global.php 841 eval
/printthread.php 16 require_once
Warning [2] Undefined array key "style" - Line: 909 - File: global.php PHP 8.1.31 (Linux)
File Line Function
/global.php 909 errorHandler->error
/printthread.php 16 require_once
Warning [2] Undefined property: MyLanguage::$lang_select_default - Line: 5024 - File: inc/functions.php PHP 8.1.31 (Linux)
File Line Function
/inc/functions.php 5024 errorHandler->error
/global.php 909 build_theme_select
/printthread.php 16 require_once
Warning [2] Undefined array key "additionalgroups" - Line: 7162 - File: inc/functions.php PHP 8.1.31 (Linux)
File Line Function
/inc/functions.php 7162 errorHandler->error
/inc/functions.php 5044 is_member
/global.php 909 build_theme_select
/printthread.php 16 require_once
Warning [2] Undefined array key "showimages" - Line: 160 - File: printthread.php PHP 8.1.31 (Linux)
File Line Function
/printthread.php 160 errorHandler->error
Warning [2] Undefined array key "showvideos" - Line: 165 - File: printthread.php PHP 8.1.31 (Linux)
File Line Function
/printthread.php 165 errorHandler->error
Warning [2] Undefined array key "showimages" - Line: 160 - File: printthread.php PHP 8.1.31 (Linux)
File Line Function
/printthread.php 160 errorHandler->error
Warning [2] Undefined array key "showvideos" - Line: 165 - File: printthread.php PHP 8.1.31 (Linux)
File Line Function
/printthread.php 165 errorHandler->error
Warning [2] Undefined array key "showimages" - Line: 160 - File: printthread.php PHP 8.1.31 (Linux)
File Line Function
/printthread.php 160 errorHandler->error
Warning [2] Undefined array key "showvideos" - Line: 165 - File: printthread.php PHP 8.1.31 (Linux)
File Line Function
/printthread.php 165 errorHandler->error
Warning [2] Undefined array key "showimages" - Line: 160 - File: printthread.php PHP 8.1.31 (Linux)
File Line Function
/printthread.php 160 errorHandler->error
Warning [2] Undefined array key "showvideos" - Line: 165 - File: printthread.php PHP 8.1.31 (Linux)
File Line Function
/printthread.php 165 errorHandler->error
Warning [2] Undefined array key "showimages" - Line: 160 - File: printthread.php PHP 8.1.31 (Linux)
File Line Function
/printthread.php 160 errorHandler->error
Warning [2] Undefined array key "showvideos" - Line: 165 - File: printthread.php PHP 8.1.31 (Linux)
File Line Function
/printthread.php 165 errorHandler->error
Warning [2] Undefined array key "showimages" - Line: 160 - File: printthread.php PHP 8.1.31 (Linux)
File Line Function
/printthread.php 160 errorHandler->error
Warning [2] Undefined array key "showvideos" - Line: 165 - File: printthread.php PHP 8.1.31 (Linux)
File Line Function
/printthread.php 165 errorHandler->error
Warning [2] Undefined array key "showimages" - Line: 160 - File: printthread.php PHP 8.1.31 (Linux)
File Line Function
/printthread.php 160 errorHandler->error
Warning [2] Undefined array key "showvideos" - Line: 165 - File: printthread.php PHP 8.1.31 (Linux)
File Line Function
/printthread.php 165 errorHandler->error



Form Tools
Submission Accounts and Forgot Password - Printable Version

+- Form Tools (https://forums.formtools.org)
+-- Forum: Modules / Other (https://forums.formtools.org/forumdisplay.php?fid=8)
+--- Forum: Modules (https://forums.formtools.org/forumdisplay.php?fid=16)
+--- Thread: Submission Accounts and Forgot Password (/showthread.php?tid=1679)



Submission Accounts and Forgot Password - sogreen - Oct 8th, 2011

The submission accounts module works fine, but the "Forget your password?" feature doesn't seem to be working properly. I don't think it is passing the form id to the page. However, when I add ?id=[id] in the address bar it tends to send the email.

Any suggestions?


RE: Submission Accounts and Forgot Password - Ben - Oct 10th, 2011

Hi sogreen,

Interesting.. sounds like this may be a bug. Let me look at it today and I'll get back to you.

- Ben


RE: Submission Accounts and Forgot Password - sogreen - Oct 10th, 2011

Another thing I noticed is that emails no longer include name and email of the sender.

For instance, when someone completes an online form the email sent to the Administrator appears from
<[email]> <[email]> rather than [Name] <[email]>


RE: Submission Accounts and Forgot Password - Ben - Oct 11th, 2011

Hi sogreen,

Yes, there does appear to be an issue with the "from" email. I'll look into this.

Regarding the Submission Accounts problem, I actually couldn't reproduce it. What version of the Core & module are you using?

Also, how are you linking to the Forget Password page, exactly? When the user first goes to the Submission Accounts login page, the link should always include the ?form_id=X parameter in order for the page to know which configuration to use. (I'm using the latest version of the module - it's possible that it used to just be ?id=X).

At that point, that ID is stashed in sessions so when they click on the "Forget Password" link, it shouldn't need to be passed along via the query string. *However*, if you're linking to that page directly, then yes, you'll need to pass the ID in the query string.

- Ben


RE: Submission Accounts and Forgot Password - sogreen - Oct 12th, 2011

(Oct 11th, 2011, 10:22 AM)Ben Wrote: Hi sogreen,

Yes, there does appear to be an issue with the "from" email. I'll look into this.

Regarding the Submission Accounts problem, I actually couldn't reproduce it. What version of the Core & module are you using?

Also, how are you linking to the Forget Password page, exactly? When the user first goes to the Submission Accounts login page, the link should always include the ?form_id=X parameter in order for the page to know which configuration to use. (I'm using the latest version of the module - it's possible that it used to just be ?id=X).

At that point, that ID is stashed in sessions so when they click on the "Forget Password" link, it shouldn't need to be passed along via the query string. *However*, if you're linking to that page directly, then yes, you'll need to pass the ID in the query string.

- Ben

Thanks for the quick reply. Is there a way to force the emails to send from the administrator's email address? Or at least specify a name that the email is sent from?


RE: Submission Accounts and Forgot Password - Ben - Oct 15th, 2011

Hi sogreen,

I'm not sure... I'm just looking over the code now to figure out what's going on.

- Ben


RE: Submission Accounts and Forgot Password - Ben - Oct 15th, 2011

Are you using Swift Mailer with a gmail account to send your emails? I did a little experimenting and now it appears that Gmail is overriding whatever information you enter in the "from" field and specifying their own (in my case, the email address I used as the Username field for the SMTP authentication).

I've been testing it without SMTP and everything works just fine. But with SMTP enabled, the "From" info goes haywire. I checked and it looks like everything being passed to the SMTP function looks okay, so I'm suspecting that it's the SMTP info overriding the settings specified - but I'll keep looking.

- Ben