Facebook  Twitter 

SMFHacks.com

+-

SMFHacks.com

+- User Information

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

+- Forum Stats

Members
Total Members: 11830
Latest: pulgoki
New This Month: 5
New This Week: 3
New Today: 2
Stats
Total Posts: 42199
Total Topics: 7364
Most Online Today: 89
Most Online Ever: 2482
(April 09, 2011, 07:02:45 pm)
Users Online
Members: 0
Guests: 37
Total: 37

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

0 Members and 1 Guest are viewing this topic.

Offline Shades

  • Community Suite Customer
  • Full Member
  • ******
  • Posts: 171
  • Community Suite Customer
    • View Profile
    • Bikerhound.com
Install/ManageRegistration.php
« on: August 16, 2021, 12:30:21 pm »
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

Offline SMFHacks

  • Administrator
  • Hero Member
  • *****
  • Posts: 15993
    • View Profile
Re: Install/ManageRegistration.php
« Reply #1 on: August 16, 2021, 03:14:40 pm »
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/

Offline Shades

  • Community Suite Customer
  • Full Member
  • ******
  • Posts: 171
  • Community Suite Customer
    • View Profile
    • Bikerhound.com
Re: Install/ManageRegistration.php
« Reply #2 on: August 16, 2021, 03:29:53 pm »
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

Offline SMFHacks

  • Administrator
  • Hero Member
  • *****
  • Posts: 15993
    • View Profile
Re: Install/ManageRegistration.php
« Reply #3 on: August 16, 2021, 03:33:52 pm »
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/

Offline Shades

  • Community Suite Customer
  • Full Member
  • ******
  • Posts: 171
  • Community Suite Customer
    • View Profile
    • Bikerhound.com
Re: Install/ManageRegistration.php
« Reply #4 on: August 16, 2021, 03:48:29 pm »
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

Offline SMFHacks

  • Administrator
  • Hero Member
  • *****
  • Posts: 15993
    • View Profile
Re: Install/ManageRegistration.php
« Reply #5 on: August 16, 2021, 03:54:03 pm »
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/

Offline Shades

  • Community Suite Customer
  • Full Member
  • ******
  • Posts: 171
  • Community Suite Customer
    • View Profile
    • Bikerhound.com
Re: Install/ManageRegistration.php
« Reply #6 on: August 16, 2021, 03:58:35 pm »
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
1 Replies
5148 Views
Last post May 07, 2008, 02:24:00 am
by Bec
4 Replies
4770 Views
Last post February 22, 2008, 01:45:40 am
by biokonsult
1 Replies
3095 Views
Last post May 06, 2009, 03:54:17 am
by jacci
4 Replies
3077 Views
Last post December 15, 2009, 10:03:20 am
by johnnyj61
5 Replies
3750 Views
Last post April 20, 2010, 05:03:01 am
by Marshall Stan

+- Recent Topics

Default License Agreement by Puppeteer
Today at 08:37:59 pm

Undefined index: down_path by SMFHacks
May 15, 2022, 12:55:42 pm

Thumbnails on topic page not resizing correctly by SMFHacks
May 14, 2022, 10:45:34 pm

Server Issues by PapaFrizArcade
May 12, 2022, 11:50:04 am

Funky Pagination by SMFHacks
May 11, 2022, 11:38:24 pm

Download Logs? by Hatshepsut
May 11, 2022, 11:31:56 pm

Error with 6.0a version by Hatshepsut
May 10, 2022, 12:44:52 am

Array Offset Value Type Null Error by Puppeteer
May 10, 2022, 12:31:35 am

I got this error trying to edit and approve a download by SMFHacks
May 08, 2022, 08:12:36 am

Illegal mix of collations by SMFHacks
May 07, 2022, 02:25:37 pm

Powered by EzPortal