Web Connection
Minor bug in Guest Book demo as distributed
Gravatar is a globally recognized avatar based on your email address. Minor bug in Guest Book demo as distributed
  Richard Kaye
  All
  Feb 14, 2018 @ 05:18am

There's a CREATEOBJECT call for wwWebCaptcha. This appears to live in webcontrolsextended.prg but this is not in the procedure stack.

This does work properly on the WW demo site.

Gravatar is a globally recognized avatar based on your email address. re: Minor bug in Guest Book demo as distributed
  Rick Strahl
  Richard Kaye
  Feb 14, 2018 @ 06:30pm

Yeah I removed the Web Control Framework files from the default Web Connection libaries loaded and this code uses one of the controls. You can turn the Web Control Framework back on in wconnect_override.h:

*** Still have to load these in order run the Weblog code
*** WebControl Samples have been removed however
#UNDEFINE WWC_LOAD_WEBCONTROLS
#DEFINE WWC_LOAD_WEBCONTROLS            .T.

+++ Rick ---

Gravatar is a globally recognized avatar based on your email address. re: Minor bug in Guest Book demo as distributed
  Richard Kaye
  Rick Strahl
  Feb 16, 2018 @ 07:38am

Thanks, Rick. Is that what you've done with the GB demo on your site?

Gravatar is a globally recognized avatar based on your email address. re: Minor bug in Guest Book demo as distributed
  Rick Strahl
  Richard Kaye
  Feb 16, 2018 @ 01:11pm

Yes - the demo has that flag enabled.

It's an old demo - I wouldn't use that control any longer it was just convenient for the demo 😃 If it was more pressing I'd probably create an HTML control wrapper that provides this - the image part can be loaded directly off of wwProcess::CaptchaImage().

+++ Rick ---

© 1996-2024