Facebook 

SMFHacks.com - Celebrating 20 Years!

+-

SMFHacks.com

+- User Information

Welcome, Guest.
Please login or register.
 
 
 
Forgot your password?

+- Forum Stats

Members
Total Members: 4341
Latest: jmac32here
New This Month: 2
New This Week: 0
New Today: 0
Stats
Total Posts: 44306
Total Topics: 7676
Most Online Today: 293
Most Online Ever: 27044
(May 30, 2026, 09:10:16 pm)
Users Online
Members: 0
Guests: 199
Total: 199

Author Topic: Install/ManageRegistration.php  (Read 3513 times)

0 Members and 1 Guest are viewing this topic.

Install/ManageRegistration.php
« on: »
When installing it shows an error for ManageRegistration.php

Find:
Code: [Select]
updateSettings(array('requireAgreement' => !empty($_POST['requireAgreement'])));
Add After:
Code: [Select]
// Start gdpr Helper

    updateSettings(
 array(
    'gdpr_last_agreementdate' => time(),

 ));


// END gdpr Helper

The fresh 2.1RC4 code is different so shouldn't it be...

Find:
Code: [Select]
array('check', 'requireAgreement', 'text_label' => $txt['admin_agreement'], 'value' => !empty($modSettings['requireAgreement'])),
 array('warning', empty($agreement) ? 'error_no_agreement' : ''),
 array('check', 'requirePolicyAgreement', 'text_label' => $txt['admin_privacy_policy'], 'value' => !empty($modSettings['requirePolicyAgreement'])),
 array('warning', empty($policy) ? 'error_no_privacy_policy' : ''),
 '',
 array('int', 'coppaAge', 'subtext' => $txt['zero_to_disable'], 'onchange' => 'checkCoppa();'),
 array('select', 'coppaType', array($txt['setting_coppaType_reject'], $txt['setting_coppaType_approval']), 'onchange' => 'checkCoppa();'),
 array('large_text', 'coppaPost', 'subtext' => $txt['setting_coppaPost_desc']),
 array('text', 'coppaFax'),
 array('text', 'coppaPhone'),
 );

Add After:
Code: [Select]
// Start gdpr Helper

    updateSettings(
 array(
    'gdpr_last_agreementdate' => time(),

 ));


// END gdpr Helper
« Last Edit: August 16, 2021, 12:40:52 pm by Shades »

ShadesWeb.com - Custom Logos
https://shadesweb.com

BikerHound.com - Sniffing out the road ahead
https://bikerhound.com

Re: Install/ManageRegistration.php
« Reply #1 on: »
Posted a fix.
Get your Forum Ranked! at https://www.forumrankings.net - find out how your forum compares with others!

Like What I do? Support me at https://www.patreon.com/vbgamer45/

Re: Install/ManageRegistration.php
« Reply #2 on: »
I'm sorry I don't see the fix! 2.0.6b now says 2.0.6a ;)
« Last Edit: August 16, 2021, 03:33:46 pm by Shades »

ShadesWeb.com - Custom Logos
https://shadesweb.com

BikerHound.com - Sniffing out the road ahead
https://bikerhound.com

Re: Install/ManageRegistration.php
« Reply #3 on: »
In the downloads section updated the download
Get your Forum Ranked! at https://www.forumrankings.net - find out how your forum compares with others!

Like What I do? Support me at https://www.patreon.com/vbgamer45/

Re: Install/ManageRegistration.php
« Reply #4 on: »
Hmmm...I downloaded it twice and didn't see any changes, odd! :o

ShadesWeb.com - Custom Logos
https://shadesweb.com

BikerHound.com - Sniffing out the road ahead
https://bikerhound.com

Re: Install/ManageRegistration.php
« Reply #5 on: »
Try now.
Get your Forum Ranked! at https://www.forumrankings.net - find out how your forum compares with others!

Like What I do? Support me at https://www.patreon.com/vbgamer45/

Re: Install/ManageRegistration.php
« Reply #6 on: »
Yep and uploaded perfectly! 8)

ShadesWeb.com - Custom Logos
https://shadesweb.com

BikerHound.com - Sniffing out the road ahead
https://bikerhound.com
Like Like x 1 View List

 

Related Topics

  Subject / Started by Replies Last post
9 Replies
13905 Views
Last post January 08, 2007, 10:54:38 am
by mrbones
1 Replies
5343 Views
Last post April 22, 2007, 01:10:14 am
by rider
Install

Started by Skyview Support

9 Replies
8906 Views
Last post June 27, 2007, 02:13:41 am
by Skyview
3 Replies
8745 Views
Last post June 06, 2007, 03:52:21 pm
by rider
0 Replies
4239 Views
Last post July 01, 2007, 04:43:18 am
by joh87swe

+- Recent Topics

Registration - anti bot pattern matching by SMFHacks
November 01, 2026, 07:20:17 pm

EZPortal 8 by davejo
October 21, 2026, 01:01:54 pm

Downloads Pro 7.0 Released by SMFHacks
October 07, 2026, 07:35:30 pm

[Mod]ActivityPub Federation for SMF 2.1 by SMFHacks
October 01, 2026, 05:03:45 pm

Newsletter Pro 4.0 Released by SMFHacks
September 23, 2026, 08:08:24 pm

Can't remove or restore any item from the recycle bin by SMFHacks
September 22, 2026, 11:01:51 am

MCP Server for SMF 2.1 - let Claude, ChatGPT or Cursor run your admin chores by SMFHacks
September 12, 2026, 02:50:45 pm

Suggestions for improvements to Ultimate Shoutbox & Chatroom by davejo
September 02, 2026, 01:35:09 am

Automatic Sorting of Categories by Kiwi
August 31, 2026, 12:36:09 am

' appears as ' in Most Viewed (and Recent Items ?) by SMFHacks
August 22, 2026, 11:01:56 pm

Powered by EzPortal