Osclass forums
Support forums => General help => 3.7.x => Topic started by: Hartenheer on June 08, 2018, 06:55:28 pm
-
I have reinstalled everything, and it works well.
Yet a question.
In the Netherlands, the European privacy legislation has been effective since 25 May
This also means that you have to comply with rules, otherwise you can not save private data
Ask: Can you remove the modules where address and telephone data are requested?
Ik heb alles opnieuw geïnstalleerd, en werkt goed.
Toch een vraag.
In Nederland is sinds 25 mei de Europese privacywetgeving ingegaan.
Dat houd ook in dat je aan regels moet voldoen, anders mag je geen privé gegevens vragen?opslaan
Vraag: Kan je de modules waar adres en telefoon gegevens gevraag worden weg halen?
-
You can keep those fields, but require consent if you like. Alternatively, you can remove them in your theme easily. Also, they are not required fields by default, so users can leave them blank.
https://market.osclass.org/plugins/miscellaneous/gdpr-osclass_979
https://forums.osclass.org/plugins-20/gdpr-compliance-plugin/
-
Thank you for your response, I would like to delete them.
But where do I do that?
Bedankt voor uw reactie, ik wil ze graag verwijderen.
Maar waar moet ik dat doen
-
That depends on which theme you use and which pages (item, user profile, registration etc.).
For Bender theme, for example, you can delete them:
item-sidebar.php
<?php if ( osc_user_phone() != '' ) { ?>
<p class="phone"><?php printf(__("Phone: %s", 'bender'), osc_user_phone()); ?></p>
<?php } ?>
<div class="control-group">
<label class="control-label" for="phoneNumber"><?php _e('Phone number', 'bender'); ?> (<?php _e('optional', 'bender'); ?>):</label>
<div class="controls"><?php ContactForm::your_phone_number(); ?></div>
</div>
item-post.php
<div class="control-group">
<label class="control-label" for="address"><?php _e('Address', 'bender'); ?></label>
<div class="controls">
<?php ItemForm::address_text(osc_user()); ?>
</div>
</div>
user-profile.php
<div class="control-group">
<label class="control-label" for="phoneMobile"><?php _e('Cell phone', 'bender'); ?></label>
<div class="controls">
<?php UserForm::mobile_text(osc_user()); ?>
</div>
</div>
<div class="control-group">
<label class="control-label" for="phoneLand"><?php _e('Phone', 'bender'); ?></label>
<div class="controls">
<?php UserForm::phone_land_text(osc_user()); ?>
</div>
</div>
<div class="control-group">
<label class="control-label"l for="address"><?php _e('Address', 'bender'); ?></label>
<div class="controls">
<?php UserForm::address_text(osc_user()); ?>
</div>
</div>
user-public-profile.php
<div class="control-group">
<label class="control-label" for="phoneNumber"><?php _e('Phone number', 'bender'); ?> (<?php _e('optional', 'bender'); ?>):</label>
<div class="controls"><?php ContactForm::your_phone_number(); ?></div>
</div>
<?php if( $address !== '' ) { ?>
<li class="adress"><?php printf(__('<strong>Address:</strong> %1$s'), $address); ?></li>
<?php } ?>
<?php if( $location !== '' ) { ?>
<li class="location"><?php printf(__('<strong>Location:</strong> %1$s'), $location); ?></li>
<?php } ?>
For other themes, you should contact their developer(s) and ask for help. Some themes offer additional fields in e.g. registration pages, etc.
Regards
dev101
-
I use Bender. Am hard in Bender to find where the traffic jams are.
I'm used to working with css, but this is quite different
Ik gebruik Bender. Ben hard in Bender aan het zoeken waar de files staan.
Ben gewend met css te werken, maar dit is toch heel wat anders
-
I'll give you an idea, but you'll have to figure it out for all:
div.control-group label.control-label[for=phoneNumber] {
display:none;
}
div.controls input#phoneNumber{
display:none;
}
p.phone{
display:none;
}
etc.
You should add custom css lines at the end of bender/css/main.css file.
Regards
dev101