Search found 61 matches

by rvwilliams
Tue Feb 21, 2023 2:59 pm
Forum: Modules/Add-Ons
Topic: SmartForms error when form submitted
Replies: 0
Views: 1208

SmartForms error when form submitted

I have a SmartForms form that has been working successfully. This has stopped working and no changes have been made to the form or template. The error given is Unable to load template 'module_file_tpl:SmartForms;error.tpl' in 'content:right_column' Trace: #0 /var/www/clients/client2/web1/web/lib/sma...
by rvwilliams
Mon Oct 11, 2021 1:23 pm
Forum: Modules/Add-Ons
Topic: reCaptcha v2 not working for me
Replies: 4
Views: 1135

Re: reCaptcha v2 not working for me

Finally I have a working form. I had to make two changes: Firstly my template was wrong. Instead of <div class='g-recaptcha" data-sitekey='...my site key...'> I should have had <div data-cgbf-captcha data-sitekey='...my site key...'> However even after this change the form would still submit wi...
by rvwilliams
Mon Oct 11, 2021 12:30 pm
Forum: Modules/Add-Ons
Topic: reCaptcha v2 not working for me
Replies: 4
Views: 1135

Re: reCaptcha v2 not working for me

I have the Captcha validation set but I can still submit a form without checking the reCaptcha tick box. When I look at the form under CGBetterForms, there is a message saying: NOTICE: No captcha container was detected in the form markup. Is this why it doesn't check to see if the reCaptcha validate...
by rvwilliams
Mon Oct 04, 2021 1:52 pm
Forum: Modules/Add-Ons
Topic: reCaptcha v2 not working for me
Replies: 4
Views: 1135

reCaptcha v2 not working for me

I'm trying to include reCatcha v2 to my CGBetterForms form. The code appears but I am able to click Submit without ticking the reCaptcha box for 'Im not a robot'. CMSMS is version 2.2.14 Captcha version 1.0 CGBetterForms 1.10.4 I have configured Captcha to use ReCaptcha and added the Site Key and Se...
by rvwilliams
Fri Aug 21, 2020 10:41 am
Forum: Modules/Add-Ons
Topic: FEU post_logouttemplate is ignored in 3.2.2
Replies: 0
Views: 1465

FEU post_logouttemplate is ignored in 3.2.2

My website uses the post_logouttemplate option to complete user logout. This no longer works in 3.2.2. I've submitted a bug report with my solution which is to use action_logoutform.php from version 3.1.5. Basically some lines of code are missing compared to the previous release.
by rvwilliams
Sat Oct 12, 2019 3:32 pm
Forum: General Discussion
Topic: FEU 3.1.4 forgets nocaptcha and logintemplate parameters.
Replies: 3
Views: 3477

Re: FEU 3.1.4 forgets nocaptcha and logintemplate parameters

I've finally managed to make this work by putting the module hints in the Logic tab for the page rather than the Main content tab. I had to do the same for the logout where I wanted to use a post_logouttemplate.
by rvwilliams
Fri Oct 11, 2019 9:22 am
Forum: General Discussion
Topic: FEU 3.1.4 forgets nocaptcha and logintemplate parameters.
Replies: 3
Views: 3477

Re: FEU 3.1.4 forgets nocaptcha and logintemplate parameters

Sorry, the suggestion to use cms_module_hint didn't work for me. Here is my page content: {cms_module_hint module='FrontEndUsers' logintemplate='New FEU Login Form'} {cms_module_hint module='FrontEndUsers' nocaptcha=true} {cms_module_hint module='FrontEndUsers' action='login'} {FrontEndUsers} The in...
by rvwilliams
Thu Oct 10, 2019 4:12 pm
Forum: General Discussion
Topic: FEU 3.1.4 forgets nocaptcha and logintemplate parameters.
Replies: 3
Views: 3477

FEU 3.1.4 forgets nocaptcha and logintemplate parameters.

I've been trying to upgrade from an earlier version of FEU where I had a simple login with no Captcha that redirected a logged in user to a members only page. In 3.1.4 I've made a small change to the default login template to do a page redirect when $return_msg is not empty as suggested by the modul...
by rvwilliams
Thu Oct 03, 2019 4:26 pm
Forum: Modules/Add-Ons
Topic: Front End Users login template
Replies: 0
Views: 1200

Front End Users login template

I need some advice as to how to set values for the new variables available in the sample login template for Front End Users 3.1.4 in release 2.2.12. I want a simple login form that asks for username and password. If the correct values are given, the user should then be driected to a particular page ...
by rvwilliams
Tue Nov 28, 2017 2:31 pm
Forum: The Lounge
Topic: cgbetterforms - debug type display
Replies: 4
Views: 3588

Re: cgbetterforms - debug type display

Delving into the module code I found that in CGBetterForms->lib->class.FORM.php t line 282 there is the code stack_trace();die(); This is what caused the output I've been getting. Line 283 is a regular Throw_exception statement so I commented out line 282. Filling in my form again I now get the exce...
by rvwilliams
Tue Nov 28, 2017 11:43 am
Forum: The Lounge
Topic: cgbetterforms - debug type display
Replies: 4
Views: 3588

Re: cgbetterforms - debug type display

In an effort to solve this I have upgraded to cmsms 2.2.4 and CGBetterForms 1.2 but I'm still getting the same result. If I switch on Debug, the output in my original question is repeated but without any other debug output.

Has no-one any idea what is happening with my form?
by rvwilliams
Thu Nov 23, 2017 1:40 pm
Forum: The Lounge
Topic: cgbetterforms - debug type display
Replies: 4
Views: 3588

Re: cgbetterforms - debug type display

I should have mentioned that I'm using cmsms 2.2.3.1 and the latest version of CGBetterForms 1.1.4
by rvwilliams
Thu Nov 23, 2017 11:42 am
Forum: The Lounge
Topic: cgbetterforms - debug type display
Replies: 4
Views: 3588

cgbetterforms - debug type display

I have a contact form that CGBetterForms form that uses the 'send an email based on the value of a field subject'. When I send the form, I get this output /home/sites/mydomain.com/public_html/test/modules/CGBetterForms/lib/Dispositions/class.DropdownEmailDisposition.php:77 - get_field /home/sites/my...
by rvwilliams
Fri Nov 17, 2017 9:31 am
Forum: Developers Discussion
Topic: Help with Module Writing Tutorial on CMSMS 2.2.3.1
Replies: 3
Views: 3794

Re: Help with Module Writing Tutorial on CMSMS 2.2.3.1

Screen shot of Module Manager with Holidays in the modules folder.
Screen shot of Module Manager with Holidays in the modules folder.
The screen just shows the Notice para and the Use at Your Own Risk para in black with no menus, no sidebar etc., as in the attached screenshot.
by rvwilliams
Thu Nov 16, 2017 12:14 pm
Forum: Developers Discussion
Topic: Help with Module Writing Tutorial on CMSMS 2.2.3.1
Replies: 3
Views: 3794

Help with Module Writing Tutorial on CMSMS 2.2.3.1

I'm following the module writing guide. I've made sure the cases of the folder, Holidays.module and the class all match. However I can't see my module in the Extensions folder and if I try to look at Module Manager it doesn't display properly. If I remove the Holidays folder, Module Manager displays...

Go to advanced search