Hi, i have the following problem, i want the Facebook Login on my page, but the section shoud be loaded after the client accept the 3rd party cookies. Now when i enable the facebook login, it will create a "fr" cookie from facebook for advertising etc...
Can i edit the facebook login part in template like this (Cookie banner plugin):
if ( function_exists( 'gdpr_cookie_is_accepted' ) ) {
/* supported types: 'strict', 'thirdparty', 'advanced' */
if ( gdpr_cookie_is_accepted( 'thirdparty' ) ) {
// SHOW FACEBOOK LOGIN & FACEBOOK LOGIN POSSIBLE
} else {
// DONT SHOW FACEBOOK LOGIN
}
}
Thx !
Hi @jore87,
This feature is already included in wpForo plugin core.
Please navigate to Dashboard > Forums > Tools > Privacy & Rules admin page, find the "Checkbox: I Agree to create a forum account on Facebook Login" option, and enable it.
If this option is enabled, the Facebook login button becomes not-clickable until the user accepts the automatic account creation process based on his/her Facebook public profile information. This checkbox and appropriate information will be displayed with the Facebook login button to comply with the GDPR (Article 22)
The note text and the label of this checkbox can be managed in Forums > Phrases admin page. Search the label phrase, click on edit button and change it.
Thank you for your reply! I have activated the checkbox already. But i think its a timing problem in the code!
The "connect.facebook.net" SDK is loaded before your check the checkbox and set the "fr" advertising cookie already, this should be done after you check the checkbox, not before... So you have the facebook advertising cookie before you accept the facebook login ... Can the developers check this please 🙂 or is this legal in germany with the new GDPR law ?!
OK i Unserstand, but my Problem is, that the Cookie is Set, and in Germany this is a optional "Marketing/advertising" cookie, and shouldnt Set as Default, if empty or Not...
May a better solution is, to load the Facebook thing after the User checked the checkbox, then set wpforo-fb-accept cookie, reload the Page an connect to Facebook! I think this is the safest solution Here in Germany. But its only an improvement 🙂 maybe the developers can think about it.
Thx greetings from germany