Facebook  Twitter 

SMFHacks.com

+-

SMFHacks.com

+- User Information

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

+- Forum Stats

Members
Total Members: 11805
Latest: DebT
New This Month: 1
New This Week: 1
New Today: 1
Stats
Total Posts: 41608
Total Topics: 7274
Most Online Today: 65
Most Online Ever: 2482
(April 09, 2011, 07:02:45 pm)
Users Online
Members: 0
Guests: 39
Total: 39

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

0 Members and 1 Guest are viewing this topic.

Offline Shades

  • Full Member
  • ***
  • Posts: 103
  • 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

Dream as if you'll live forever; Live as if you'll die today. - James Dean

Offline SMFHacks

  • Administrator
  • Hero Member
  • *****
  • Posts: 15753
    • 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

  • Full Member
  • ***
  • Posts: 103
  • 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

Dream as if you'll live forever; Live as if you'll die today. - James Dean

Offline SMFHacks

  • Administrator
  • Hero Member
  • *****
  • Posts: 15753
    • 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

  • Full Member
  • ***
  • Posts: 103
  • 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

Dream as if you'll live forever; Live as if you'll die today. - James Dean

Offline SMFHacks

  • Administrator
  • Hero Member
  • *****
  • Posts: 15753
    • 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

  • Full Member
  • ***
  • Posts: 103
  • 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

Dream as if you'll live forever; Live as if you'll die today. - James Dean
Like Like x 1 View List

 

Related Topics

  Subject / Started by Replies Last post
1 Replies
5032 Views
Last post May 07, 2008, 02:24:00 am
by Bec
4 Replies
4654 Views
Last post February 22, 2008, 01:45:40 am
by biokonsult
1 Replies
3032 Views
Last post May 06, 2009, 03:54:17 am
by jacci
4 Replies
2927 Views
Last post December 15, 2009, 10:03:20 am
by johnnyj61
5 Replies
3667 Views
Last post April 20, 2010, 05:03:01 am
by Marshall Stan

+- Recent Topics

Thanks mod SMF 2.1 by Monocero
November 27, 2021, 01:13:01 pm

How to change the font on a photo in SMF Gallery Pro? by SMFHacks
November 18, 2021, 09:28:11 am

Bulk Upload Many Pictures - File Name by SMFHacks
November 17, 2021, 08:58:50 am

Schedule or direct download link by SMFHacks
November 16, 2021, 10:57:33 am

Download Expire by Vincent Volmer
November 16, 2021, 02:40:47 am

prettyurls - TroubleShooting.wiki by SMFHacks
November 14, 2021, 02:18:59 pm

Error With Delete Download by mickjav
November 10, 2021, 04:49:12 pm

No ads on left or right by coyote
November 08, 2021, 04:57:13 pm

Now accepting Cryptocurrency by SMFHacks
November 05, 2021, 05:33:27 pm

Latest Version Pretty Urls SEO Pro by SMFHacks
November 04, 2021, 03:46:53 pm

Powered by EzPortal