Facebook  Twitter 

SMFHacks.com

+-

SMFHacks.com

+- User Information

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

+- Forum Stats

Members
Total Members: 4274
Latest: kellanphil
New This Month: 3
New This Week: 1
New Today: 0
Stats
Total Posts: 43645
Total Topics: 7572
Most Online Today: 129
Most Online Ever: 2482
(April 09, 2011, 07:02:45 pm)
Users Online
Members: 0
Guests: 89
Total: 89

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

0 Members and 1 Guest are viewing this topic.

Offline Shades

  • Full Member
  • ***
  • Posts: 219
  • 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: 16611
    • 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: 219
  • 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: 16611
    • 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: 219
  • 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: 16611
    • 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: 219
  • 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
5657 Views
Last post May 07, 2008, 02:24:00 am
by Bec
4 Replies
5476 Views
Last post February 22, 2008, 01:45:40 am
by biokonsult
1 Replies
3462 Views
Last post May 06, 2009, 03:54:17 am
by jacci
4 Replies
3748 Views
Last post December 15, 2009, 10:03:20 am
by johnnyj61
5 Replies
4196 Views
Last post April 20, 2010, 05:03:01 am
by Marshall Stan

+- Recent Topics

Ability to exclude categories from ezPortal SMF Gallery random image ezblock by Alistair
Today at 08:20:13 am

How to move SMF to new server by SMFHacks
January 21, 2025, 08:45:53 pm

Figuring out settings by SMFHacks
January 12, 2025, 04:56:14 pm

Filesizes incorrect by SMFHacks
January 12, 2025, 02:02:47 pm

December 2024 Sale! by SMFHacks
December 02, 2024, 10:30:38 pm

Denying members some admin settings by rickk
November 17, 2024, 12:02:55 pm

Weird setup by SMFHacks
November 07, 2024, 06:37:41 am

Restoring a deleted photo by Monocero
November 01, 2024, 04:23:56 am

Gallery Pro reinstalation by Lirorobert
October 14, 2024, 01:43:43 am

Move picture from main gallery to user gallery by SMFHacks
October 11, 2024, 09:11:00 pm

Powered by EzPortal