Facebook  Twitter 

SMFHacks.com

+- +-

SMFHacks.com

+- User Information

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

+- Forum Stats

Members
Total Members: 12172
Latest: LeaMoeller
New This Month: 14
New This Week: 1
New Today: 1
Stats
Total Posts: 39049
Total Topics: 6874
Most Online Today: 44
Most Online Ever: 2482
(April 09, 2011, 07:02:45 pm)
Users Online
Members: 0
Guests: 40
Total: 40

Author Topic: [Mod]GDPR Helper  (Read 2498 times)

0 Members and 1 Guest are viewing this topic.

Offline SMFHacks

  • Administrator
  • Hero Member
  • *****
  • Posts: 14551
    • View Profile
[Mod]GDPR Helper
« on: April 29, 2018, 03:02:15 pm »
GDPR Helper



https://www.smfhacks.com/index.php?action=downloads;sa=view;down=207

For SMF 2.0.x and SMF 1.1.x

Warning does not guarantee GDPR compliance. No warranty provided.

Includes:
Allows member to export their data. Their profile and post information
On member deletion clears IP address and email from posts and assigns a new username to all old posts.
Includes a privacy policy page, adds link in the footer e and adds a section for consent on registration
Stores the date/time that the privacy policy was changed and option to force to reagree
Stores the date/time that the registration agreement was changed and option to force to reagree

« Last Edit: June 02, 2018, 08:45:00 pm by SMFHacks »
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/
Love Love x 1 View List

Offline Vincent Volmer

  • Hero Member
  • *****
  • Posts: 505
  • SMF 2.0.1
    • View Profile
    • Digiscrap.nl
Re: [Mod]GPDR Helper
« Reply #1 on: May 01, 2018, 07:02:33 am »
Thanks!

Offline SMFHacks

  • Administrator
  • Hero Member
  • *****
  • Posts: 14551
    • View Profile
Re: [Mod]GPDR Helper
« Reply #2 on: May 01, 2018, 05:03:38 pm »
1.0.2
+Added support for SMF 1.1.x
+Added option to decline changes to the privacy policy and agreement page
!Fixed extension for post export data as .txt file
!Fixed undefined error on view privacy policy page
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 SMFHacks

  • Administrator
  • Hero Member
  • *****
  • Posts: 14551
    • View Profile
Re: [Mod]GDPR Helper
« Reply #3 on: May 03, 2018, 12:41:46 pm »
1.0.3
!Spelling fixes for GDPR
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 blechpirat

  • Newbie
  • *
  • Posts: 4
    • View Profile
Re: [Mod]GDPR Helper
« Reply #4 on: May 30, 2018, 02:28:22 pm »
Great stuff. I translated it to german-informal and would love to see you including it an an upcoming release...

Code: [Select]
<?php
/*
GDPR Helper
Version 1.0
by:vbgamer45
translation: blechpirat
https://www.smfhacks.com
Copyright 2018 SMFHacks.com

############################################
License Information:

Links to https://www.smfhacks.com must remain unless
branding free option is purchased.
#############################################

*/

// Title string
$txt['gpdr_title'] = 'GDPR Helper';

$txt['gpdr_enable_privacy_policy'] = 'Datenschutzerklärung aktiv schalten';
$txt['gpdr_force_privacy_agree'] = 'Alle Mitglieder müssen der Datenschutzerklärung zustimmen, wenn diese geändert wurde';
$txt['gpdr_force_agreement_agree'] = 'Alle Mitglieder müssen den Nutzungsbedingungen zustimmen, wenn diese geändert wurde';
$txt['gpdr_clear_memberinfo'] = 'Lösche die Nutzer_ID/Emailadresse und Nutzernamen von Beiträgen, wenn der Nutzer gelöscht wird';
$txt['gpdr_allow_export_userdata'] = 'Erlaube Nutzern, ihre Daten zu exportieren';


$txt['gpdr_text_settings'] = 'Einstellungen';
$txt['gpdr_privacypolicy'] = 'Datenschutzerklärung';
$txt['gpdr_save_settings']  = 'Abspeichern';

// Latest Version:
$txt['gpdr_txt_latestversion'] = 'Aktuelle Version: ';
$txt['gpdr_txt_yourversion'] = 'Deine Version: ';
$txt['gpdr_txt_version_outofdate'] = 'Deine Version von GDPR Helper ist veraltet!<br /><a href=\"https://www.smfhacks.com/index.php?action=downloads;sa=view;down=207\" target=\"_blank\">Lade die aktuelle Version herunter!</a>';


$txt['gpdr_txt_update']  = 'Update';
$txt['gpdr_error_no_privacypolicy'] = 'Keine Zustimmung zur Datenschutzerklärung erteilt';

$txt['gpdr_err_writable_policy'] = 'Datenschutzerklärung nicht beschreibbar';
$txt['gpdr_policy_agree'] = 'Ich stimme der Datenschutzerklärung zu';


$txt['gpdr_txt_exportdata']  = 'Datenexport';

$txt['gpdr_agreement_agree'] = 'Ich stimme diesen Bedingungen zu.';
$txt['gpdr_registration_agreement'] = 'Registrierungs-Bedingungen';
$txt['gpdr_agreement_decline'] = 'Ich lehne diese Bedingungen ab.';


$txt['gpdr_admin_settings_desc'] = 'Einstellungen für das GDPR Helper System';
$txt['gpdr_admin_privacypolicy_desc'] = 'Bearbeite und aktualisiere deine Datenschutzerklärung';

$txt['gpdr_txt_privacy_header'] = 'Datenschutzerklärung/Cookies';
$txt['gpdr_txt_privacy_desc'] = 'Um dir das Forum anbieten zu können, müssen einige Daten von dir erhoben und gespeichert werden. Dazu werden sog. Cookies genutzt, um dich wiederzuerkennen und das Forum auf dich anzupasen. Details entnimm bitte der <a href="' $scripturl '?action=gpdr;sa=privacypolicy" target="_blank">Datenschutzerklärung</a>';
$txt['gpdr_txt_privacy_agree'] = 'Ich stimme zu und bin mit der Datenschutzerklärung einverstanden';
$txt['gpdr_txt_privacy_decline'] = 'Ich lehne die Datenschutzerklärung ab';
$txt['gpdr_txt_privacy_fail'] = 'Eine Registrierung ist nur mit einer Zustimmung zu unserer Datenschutzerklärung möglich';

$txt['gpdr_txt_export_information'] =  'Nutzerdatenexport';

$txt['gpdr_err_export_user'] =  'Du kannst die Daten dieses Nutzers nicht exportieren. Das ist nur für deine eigenen Daten möglich.';

$txt['gpdr_txt_user_exportdata']  = 'Exportiere das Nutzerprofil';
$txt['gpdr_txt_user_exportdata2']  = 'Klicke <a href="%link">hier</a> um das Nutzerprofil als eine csv-Datei abzuspeichern';

$txt['gpdr_profile_memid'] = 'MemberID';
$txt['gpdr_profile_username'] = 'Username';
$txt['gpdr_profile_displayname'] = 'Display Name';
$txt['gpdr_profile_email'] = 'Email';
$txt['gpdr_profile_totalposts'] = 'Total Posts';
$txt['gpdr_profile_dateregistered'] = 'Date Registered';
$txt['gpdr_profile_gender'] = 'Gender';
$txt['gpdr_profile_birthdate'] = 'Birth Date';
$txt['gpdr_profile_personaltext'] = 'Personal Text';
$txt['gpdr_profile_websitetitle'] = 'Website';
$txt['gpdr_profile_websiteurl'] = 'Website Url';
$txt['gpdr_profile_signature'] = 'Signature';

$txt['gpdr_txt_message_exportdata']  = 'Beiträge exportieren';

$txt['gpdr_txt_message_exportdata2']  = 'Exportiere von dir erstellte Beiträge. Du kannst maximal 1000 Beiträge auf einmal exportieren. Gib dazu die ID des Start- und des Endbeitrages ein.';

$txt['gpdr_txt_message_startid']  =  'ID des ersten zu exportierenden Beitrages: ';
$txt['gpdr_txt_message_endid']  =  'ID des letzten zu exportierenden Beitrages: ';


$txt['gpdr_txt_message_subject']  = 'Betreff: ';
$txt['gpdr_txt_message_date']  = 'Datum: ';
$txt['gpdr_txt_message_body']  = 'Textkoerper: ';

$txt['gpdr_err_export_msg_limit'] =  'Du hast mehr als 1000 Beiträge ausgewählt. Bitte beschränke dich auf 1000 Beiträge.';

$txt['gpdr_err_no_ssl'] = 'Wir können nicht erkennen, dass du SSL benutzt! Ohne SSL geht es nicht.<br />If you speak english, we provide a service if you need help with SSL visit <a href="https://www.smfhacks.com/index.php/topic,9587.0.html" target="_blank">https://www.smfhacks.com</a>';
?>

Offline SMFHacks

  • Administrator
  • Hero Member
  • *****
  • Posts: 14551
    • View Profile
Re: [Mod]GDPR Helper
« Reply #5 on: May 30, 2018, 02:36:38 pm »
Thanks! I am planning a new version
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 blechpirat

  • Newbie
  • *
  • Posts: 4
    • View Profile
Re: [Mod]GDPR Helper
« Reply #6 on: May 30, 2018, 03:37:48 pm »
Awesome. If you need more translation (I'm kind of an expert for the legal stuff anyway), please contact me.

For others, if you need to use this right now: A dirty hack ist to paste my text into the file into the file gpdr.english.php, replacing the original content.
« Last Edit: May 30, 2018, 06:23:21 pm by blechpirat »

Offline blechpirat

  • Newbie
  • *
  • Posts: 4
    • View Profile
Re: [Mod]GDPR Helper
« Reply #7 on: May 30, 2018, 06:24:21 pm »
One afterthought...

The link in the footer ist named "Privacy Policy", which seems to be hard coded. Maybe change that so it can be translated?

Offline SMFHacks

  • Administrator
  • Hero Member
  • *****
  • Posts: 14551
    • View Profile
Re: [Mod]GDPR Helper
« Reply #8 on: May 30, 2018, 06:32:58 pm »
That should be found in modifications.english.php
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 blechpirat

  • Newbie
  • *
  • Posts: 4
    • View Profile
Re: [Mod]GDPR Helper
« Reply #9 on: May 31, 2018, 03:49:32 am »
That should be found in modifications.english.php

Thanks.

Code: [Select]
// Begin GPDR Helper Text Strings
$txt['gpdr_title'] = 'GDPR Helper';

$txt['gpdr_privacypolicy'] = 'Datenschutzerklärung';
$txt['gpdr_text_settings'] = 'Einstellungen';
$txt['gpdr_txt_exportdata']  = 'Datenexport';

$txt['gpdr_txt_privacy_header'] = 'Datenschutzerklärung/Cookies';
$txt['gpdr_txt_privacy_desc'] = 'Um dir das Forum anbieten zu können, müssen einige Daten von dir erhoben und gespeichert werden. Dazu werden sog. Cookies genutzt, um dich wiederzuerkennen und das Forum auf dich anzupasen. Details entnimm bitte der <a href="' . $scripturl . '?action=gpdr;sa=privacypolicy" target="_blank">Datenschutzerklärung</a>';
$txt['gpdr_txt_privacy_agree'] = 'Ich stimme zu und bin mit der Datenschutzerklärung einverstanden';
$txt['gpdr_txt_privacy_fail'] = 'Eine Registrierung ist nur mit einer Zustimmung zu unserer Datenschutzerklärung möglich';



// END GPDR Helper Text Strings

Offline Nicole

  • Newbie
  • *
  • Posts: 30
    • View Profile
Re: [Mod]GDPR Helper
« Reply #10 on: May 31, 2018, 04:24:48 am »
Hello,

thank you for kindly providing this much needed mod!

Sicne my package manager gave me an error I had to install it manually. However I unfortunately fail at what code I need to run in my PHP MyAdmin field to add these changes:

Code: [Select]
INSERT IGNORE INTO {$db_prefix}settings (variable, value)
VALUES
('gpdr_last_agreementdate', '" . time() . "'),
('gpdr_last_privacydate', '" . time() . "'),
('gpdr_clear_memberinfo', '1'),
('gpdr_enable_privacy_policy', '1'),
('gpdr_force_privacy_agree', '0'),
('gpdr_force_agreement_agree', '0'),
('gpdr_allow_export_userdata', '1')

My table name is smf_settings

Any help would be much appreciated.

Thank you,

Nicole

Offline SMFHacks

  • Administrator
  • Hero Member
  • *****
  • Posts: 14551
    • View Profile
Re: [Mod]GDPR Helper
« Reply #11 on: May 31, 2018, 06:23:58 am »
Run
Code: [Select]
INSERT IGNORE INTO smf_settings (variable, value)
VALUES
('gpdr_last_agreementdate', '" . time() . "'),
('gpdr_last_privacydate', '" . time() . "'),
('gpdr_clear_memberinfo', '1'),
('gpdr_enable_privacy_policy', '1'),
('gpdr_force_privacy_agree', '0'),
('gpdr_force_agreement_agree', '0'),
('gpdr_allow_export_userdata', '1')
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 Nicole

  • Newbie
  • *
  • Posts: 30
    • View Profile
Re: [Mod]GDPR Helper
« Reply #12 on: May 31, 2018, 07:17:23 am »
Thank you very much!

Offline SMFHacks

  • Administrator
  • Hero Member
  • *****
  • Posts: 14551
    • View Profile
Re: [Mod]GDPR Helper
« Reply #13 on: May 31, 2018, 07:25:34 am »
In your case actually if sql run
Code: [Select]
INSERT IGNORE INTO smf_settings (variable, value)
VALUES
('gpdr_last_agreementdate', ''),
('gpdr_last_privacydate', ''),
('gpdr_clear_memberinfo', '1'),
('gpdr_enable_privacy_policy', '1'),
('gpdr_force_privacy_agree', '0'),
('gpdr_force_agreement_agree', '0'),
('gpdr_allow_export_userdata', '1')
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 Nicole

  • Newbie
  • *
  • Posts: 30
    • View Profile
Re: [Mod]GDPR Helper
« Reply #14 on: June 01, 2018, 08:39:17 pm »
Thank you very much

 

Related Topics

  Subject / Started by Replies Last post
6 Replies
819 Views
Last post June 05, 2018, 09:32:16 am
by SMFHacks

+- Recent Topics

link for users gallery from profile page by SMFHacks
August 20, 2018, 02:40:58 pm

[Mod]Tidy Child Boards 2.0 by SMFHacks
August 20, 2018, 01:32:43 pm

Admin View in Member's Profile of Dates for Accepting of PP and Reg Agreement by SMFHacks
August 18, 2018, 12:03:07 pm

Gallery2 Template Loading Error by SMFHacks
August 18, 2018, 12:02:12 pm

8: Undefined index: description by SMFHacks
August 17, 2018, 01:42:08 pm

It just does not send by SMFHacks
August 16, 2018, 11:03:06 pm

Ad beginning of post by SMFHacks
August 16, 2018, 10:22:58 pm

Agreement Date says NEVER by SMFHacks
August 14, 2018, 04:46:48 pm

HashTags system for SMF 2.0 released by Diego Andrés
August 12, 2018, 02:04:24 pm

Can the Store produce a unique code that you can sell? by SMFHacks
August 11, 2018, 11:43:32 am

Powered by EzPortal