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



Form Tools
submit membership and 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: submit membership and password (/showthread.php?tid=335)



submit membership and password - jahjah - Oct 19th, 2009

Hi Ben. I am using form tools 1, I have not yet upgraded to version 2.

I am currently using the form tool for submitting newsletter requests.

Ben please tell me, is there a script that works with form tools that automatically sets up a user account, so that users can access a members only section of a website?

I guess it is similar to the Submission Accounts module - but submits a user name and password that are stored in the mySQL table and then checked against on user login to members only webpages?

I think this is the best way to describe what I want.
Thanks for any replies.

Jah


RE: submit membership and password - Ben - Oct 19th, 2009

Hi Jah,

Yes, it does sound rather like the functionality offered by te Submission Accounts module, with the one small change being: new validation to confirm that the user is logged in for pages OUTSIDE of the script.

What you'd need to do is write a function to re-use the code in the module on the other pages you want to password-protect. The drawback is that they'd all need to be PHP pages.

To be honest, it's not really the best solution - what you really need is a content management system of some sort to handle the user accounts & permissions... hmmm! Sorry, I don't have any great ideas for you!

- Ben


RE: submit membership and password - jahjah - Oct 19th, 2009

Ben - Many thanks for your reply, it's very much appreciated.

I will search out a content management system of some sort to solve my needs.
I will keep the FormTools running for my newsletter though.

Thanks again.
Jah