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 1 - Line: 1415 - File: inc/functions.php PHP 8.1.31 (Linux)
File Line Function
/inc/functions.php 1415 errorHandler->error
/inc/functions.php 1370 fetch_forum_permissions
/printthread.php 76 forum_permissions
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
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
Easy Questions & Thank You! - Printable Version

+- Form Tools (https://forums.formtools.org)
+-- Forum: Form Tools (https://forums.formtools.org/forumdisplay.php?fid=1)
+--- Forum: General Discussion (https://forums.formtools.org/forumdisplay.php?fid=5)
+--- Thread: Easy Questions & Thank You! (/showthread.php?tid=93)



Easy Questions & Thank You! - Thank.You - Mar 29th, 2009

Hi Ben,

Thank you for making form tools. Smile
I'm learning a lot from your tutorials, and promise to donate when I can.

1) Is the older step-by-step Paypal form tutorial still valid for FT2, or have the major changes made the older tutorial out-dated?

2) Is calling a hook very similar to calling a function?
(FYI: I'm not looking for a time-consuming response, just a basic building-block of knowledge)

Thank you very much.


RE: Easy Questions & Thank You! - Ben - Mar 30th, 2009

Hey,

No problem! Hope the script comes in handy.

Quote:1) Is the older step-by-step Paypal form tutorial still valid for FT2, or have the major changes made the older tutorial out-dated?

Yes, it's outdated. The process is pretty much the same, but the original code submit + callback needs to be updated to use the API functions rather than the "code" submission type, used by Form Tools 1.

Quote:2) Is calling a hook very similar to calling a function?

Not really. It works by you creating your own PHP function (e.g. say_hello()), then you assign your function to a hook. Then, when the Core code containing that hook gets executed, it also processes your function.

Hope this is semi-clear...!

- Ben


RE: Easy Questions & Thank You! - Thank.You - Mar 30th, 2009

^^^
Yes, very good explanation, and thanks for sharing your time, also.



edit: Found a small typo on your page here:
http://services.formtools.org/
"ustomizing Form Tools as a CRM"


RE: Easy Questions & Thank You! - Ben - Mar 31st, 2009

Thanks! Fixed. Smile


RE: Easy Questions & Thank You! - sebgonz - Jul 19th, 2009

Will we be seeing an update to this tutorial any time soon? I'm not really familiar with the API, so I don't know what I need to place where. Know what I mean?


RE: Easy Questions & Thank You! - Ben - Jul 19th, 2009

Yeah, I totally know what you mean. How about I shoot for getting it written this week? I don't think too much needs to be updated, so hopefully it won't take too long!

- Ben


RE: Easy Questions & Thank You! - sebgonz - Jul 20th, 2009

Cool! That would work great.


RE: Easy Questions & Thank You! - Ben - Jul 24th, 2009

Ack. Thanks for the reminder.

Okay, this weekend I'll shoot for getting both the PHP validation and PayPal Integration tutorials written.

Man, I USED to have more spare time... what on earth happened to it all?! Smile

- Ben


RE: Easy Questions & Thank You! - Ben - Jul 28th, 2009

Sorry - only managed to get the PHP validation tutorial completed, but I'm about halfway through the PayPal one. I'll post here when it's done.

- Ben


RE: Easy Questions & Thank You! - airmale - Aug 11th, 2009

Never mind, I found the PayPal tut — tried to delete this post but got an error.