Facebook  Twitter 

SMFHacks.com

+-

SMFHacks.com

+- User Information

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

+- Forum Stats

Members
Total Members: 4219
Latest: Toddie
New This Month: 2
New This Week: 0
New Today: 0
Stats
Total Posts: 42850
Total Topics: 7463
Most Online Today: 92
Most Online Ever: 2482
(April 09, 2011, 07:02:45 pm)
Users Online
Members: 0
Guests: 34
Total: 34

Author Topic: Install/ManageRegistration.php  (Read 677 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: 16256
    • 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: 16256
    • 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: 16256
    • 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
5424 Views
Last post May 07, 2008, 02:24:00 am
by Bec
4 Replies
4896 Views
Last post February 22, 2008, 01:45:40 am
by biokonsult
1 Replies
3211 Views
Last post May 06, 2009, 03:54:17 am
by jacci
4 Replies
3374 Views
Last post December 15, 2009, 10:03:20 am
by johnnyj61
5 Replies
3903 Views
Last post April 20, 2010, 05:03:01 am
by Marshall Stan

+- Recent Topics

Question on Completed Listing & Reserve Price by SMFHacks
Today at 01:43:19 pm

[Mod]GDPR Helper by Nicole
May 29, 2023, 11:58:49 pm

RSS Feed Poster Database Error by SMFHacks
May 22, 2023, 06:26:18 pm

Errors With Older Version. by Ken.
May 09, 2023, 05:35:40 pm

Pretty Urls SEO Pro by SMFHacks
May 06, 2023, 03:30:11 pm

New Post Image Upload Error by Mike66
April 28, 2023, 07:30:28 am

Copyright Removal Key by SMFHacks
April 03, 2023, 02:44:28 pm

Converting from Aeva Media by sudhakar
April 02, 2023, 11:09:54 am

Using SMF's Built-in Search Algorithm by shuban
March 27, 2023, 09:15:10 am

Permissions query by davejo
March 26, 2023, 04:43:48 am

Powered by EzPortal