Simple Machines Community Forum

SMF Support => SMF 2.1.x Support => Topic started by: DEG 1935 on March 22, 2024, 09:24:57 PM

Title: EU/DE legal compliance of SMF, especially Imprint and Privacy Policy links
Post by: DEG 1935 on March 22, 2024, 09:24:57 PM
According to EU and DE (Germany) regulations, a link to an Imprint (Impressum) is required where (at least) name, address, e-mail and phone number of the operator of the website need to be listed.

Furthermore, a link to a "data protection declaration" (= privacy policy) is required.

Both links need to be accessible from any page of the forum/website (like the current "Terms and Rules" link), also to guests.

I couldn't figure out yet how to do that with SMF. Does anyone have a good idea?






So what I would just need is: "Terms and Rules", but three times. :)

I know that this is fully over-regulated here and nothing else but an annoyance, but I didn't make these rules but have to stick to them. For many lawyers here it's a "sport" in the meantime to specifically search for such websites which violate any of these rules and then send out warning letters ("Abmahnschreiben") just to make money.

This is really a serious issue. I have read some threads about it here, but the non-solutions mentioned there are listed above.
Title: Re: EU/DE legal compliance of SMF, especially Imprint and Privacy Policy links
Post by: Kindred on March 22, 2024, 09:34:29 PM
With 2.1, you can add the privacy policy and it will be visible under the terms & conditions link in the footer.
(agreement and privacy are both listed when you click)
Title: Re: EU/DE legal compliance of SMF, especially Imprint and Privacy Policy links
Post by: DEG 1935 on March 22, 2024, 10:01:07 PM
Aha! Great, that's better than nothing, although it MIGHT be mandatory to have separate links for each item (would have to check that legally).

But then we still need an imprint. Would it be codewise very hard to implement a third section for an imprint under this one link (just for the time being)?

The thing is that these texts are extremely long, see for instance (sorry for German, just look at the length):


They are in itself that long already that nobody will read (nor understand) them. Imagine you have them even along with the "Terms and Rules" all at one place... ;)

This is all just too absurd, I know. But if it is legal to have them all at one place, then I can very well live with that. A contents at the top of the document would make sense (as in the English help (https://wiki.simplemachines.org/smf/SMF2.1:Registering)).

Anyone here who could (and would) add a third section for the imprint...? 🙏
Title: Re: EU/DE legal compliance of SMF, especially Imprint and Privacy Policy links
Post by: DEG 1935 on March 22, 2024, 11:07:33 PM
Quote from: DEG 1935 on March 22, 2024, 10:01:07 PMAha! Great, that's better than nothing, although it MIGHT be mandatory to have separate links for each item (would have to check that legally).

After a quick Google check it looks as if two separate links for imprint and privacy policy are recommended and should exist, but if they are placed under the same link, the link needs to tell that (e.g. "Imprint and Privacy Policy"). I haven't found any regulation that it's not allowed to even add a third item ("Terms and Rules") under that same link (but that should then be the last topic, just to be safe).

Okay, renaming the link should be the least difficult thing. But then we still need something for the imprint.

Hmm hmm, as I think about it:

As long as we don't have a separate third item for the imprint ... well, the text of the privacy policy supports BBCode, so we could do for instance:

[b]Imprint[/b]

Bla blubb

[b]Privacy Policy[/b]

Bla blubb

Which would then show as:

(Uh, I pasted a very small screenhot here, is that not possible with SMF?! At least it was shown in the editor, but has then be replaced with "[ing]about:invalid[/ing]" upon posting, "ing" should read "img" of course).

We could also adjust the font size and color of "Imprint" and "Privacy Policy" (I think). Well, that could do the trick for the moment. ToDo list:


If someone could point me at the right place in the code, that would help.
Title: Re: EU/DE legal compliance of SMF, especially Imprint and Privacy Policy links
Post by: Aleksi "Lex" Kilpinen on March 23, 2024, 05:25:21 AM
If you want to simply change the text of the links, you probably should just add your own language strings in modifications.(language).php and then edit index.template.php to use your custom string.

You'll find the links after this line, around lines 458-469.
// Show the footer with copyright, terms and help links.

Or you could build a custom page from scratch, and just add another link in there.
Title: Re: EU/DE legal compliance of SMF, especially Imprint and Privacy Policy links
Post by: Deaks on March 23, 2024, 03:44:20 PM
also if people are not reading them then the fault lies with theme not you aslong as you have the information you are covered.
Title: Re: EU/DE legal compliance of SMF, especially Imprint and Privacy Policy links
Post by: DEG 1935 on March 23, 2024, 04:22:23 PM
Quote from: Deaks on March 23, 2024, 03:44:20 PMalso if people are not reading them then the fault lies with theme not you aslong as you have the information you are covered.

Right. But in what way does that help in terms of the original issue?

There are certain rules which information needs to be presented how and to whom (all, also guests), and they are complicated, over-regulated and changing any day. This includes cookies (I believe I've never been asked for a cookie consent here), privacy policy (and not just reading, but explicitely accepting it upon registration), bla blubb etc. pp.

May I assume that you're neither from Germany nor from the EU? ;)
Title: Re: EU/DE legal compliance of SMF, especially Imprint and Privacy Policy links
Post by: shawnb61 on March 23, 2024, 05:06:24 PM
The problem with questions like this is that you are asking for legal advice.  No lawyers here.  You're not going to get a proper legal opinion/answer.

I do know that SMF implemented a large set of GDPR enhancements, years ago, upon legal consultation.

The real complication is forum usage - what exactly you capture & what do you do with it.  This really is different for every forum.  And will dictate your privacy and cookie policies.

My (limited) understanding is that if you do not capture financial info, conduct financial transactions, sell anything (product or user info), give your user data away to anyone, use 3rd party cookies, use multiple site cookies, perform activity tracking, etc., (non-essential cookies), you are likely ok with vanilla SMF, which uses a technical cookie only.

If you need further clarifications, you should consult a lawyer. 

Again, no lawyers here.

https://www.cookielawinfo.com/cookie-consent/
Title: Re: EU/DE legal compliance of SMF, especially Imprint and Privacy Policy links
Post by: Julius_2000 on March 23, 2024, 05:49:31 PM
So if I understood it correctly, you would like to add Impressum and AGB links to the footer section?

You can add stuff within the index.template.php file and place it where you would like it to be. I've done that with some additional info about our forum team.

Footer.png

The only thing that would need to be done then is create customized pages like for the Terms & Conditions one (Agreement page as defined in the Agreement.php). I'm not experienced enough to spit that out right away, but perhaps an adaptation + renaming of the Agreement.php could do the trick to create those.
@SMF Or is there an easy way in SMF to create a separate webpage, like if I wanted to add an "about" link?
Title: Re: EU/DE legal compliance of SMF, especially Imprint and Privacy Policy links
Post by: DEG 1935 on March 23, 2024, 07:40:31 PM
Quote from: shawnb61 on March 23, 2024, 05:06:24 PMThe problem with questions like this is that you are asking for legal advice.

No, I'm not. I'm asking (and trying) how to implement the EU/DE requirements in SMF.


Just in short, and that's what I KNOW. I'm NOT asking for any advice what should be written in those texts (this I can "steal" from elsewhere here).

The link from this "Cookie Law Info" is a good example for wrong information. They're saying for instance:

Quote from: Cookie Law Info link=https://www.cookielawinfo.com/gdpr-cookie-consentStrictly necessary cookies, i.e. cookies that do not track or collect personal data and are necessary for your website to function, are exempted from requiring consent.

This is simply not true here. At least the IP is logged during a session, and that only is considered as "personal data" already, according to our laws. Fun fact: This Cookie Law Info site doesn't even have an imprint which discloses who is running it...?

Quote from: Julius_2000 on March 23, 2024, 05:49:31 PMYou can add stuff within the index.template.php file and place it where you would like it to be. I've done that with some additional info about our forum team.

Thanks for the pic, but I can't see the relevant part.

(Now my next question is how I can make an external link in the quote tag clickable...)
Title: Re: EU/DE legal compliance of SMF, especially Imprint and Privacy Policy links
Post by: Kindred on March 23, 2024, 07:56:02 PM
We don't do any of that.
Our consultation with legal counsel instructed us that as we have implemented covers the core of thex requirements.
If you disagree, then it's up to you to enhance it, or find someone to do this the way you think they need to be done.


You see how the agreement and privacy are done.

We don't do a cookie notification /optout popup

The privacy policy IS shown during registration,  to the best of my knowledge
Title: Re: EU/DE legal compliance of SMF, especially Imprint and Privacy Policy links
Post by: DEG 1935 on March 23, 2024, 08:05:39 PM
Quote from: Kindred on March 23, 2024, 07:56:02 PMThe privacy policy IS shown during registration,  to the best of my knowledge

No "knowledge" needed, just test it. I DID test in my own board, and it was NOT shown (testing is what I usually do before making any statements). Just the "Terms and Rules" were shown. As I said already.

Quote from: Kindred on March 23, 2024, 07:56:02 PMOur consultation with legal counsel instructed us that as we have implemented covers the core of thex requirements.

And this legal counsel (in the US?) is familiar with the requirements in the EU and DE? I doubt it.

Quote from: Kindred on March 23, 2024, 07:56:02 PMYou see how the agreement and privacy are done.

We don't do a cookie notification /optout popup

That's why I started this thread. ;D
Title: Re: EU/DE legal compliance of SMF, especially Imprint and Privacy Policy links
Post by: Julius_2000 on March 23, 2024, 08:14:03 PM
Quote from: DEG 1935 on March 23, 2024, 07:40:31 PMThanks for the pic, but I can't see the relevant part.
Quote from: DEG 1935 on March 23, 2024, 07:40:31 PMThree different texts (and preferably three links) within SMF for 1) Imprint, 2) Privacy Policy and 3) Terms and Rules, accessible from any publicly available page within SMF.
Sorry, I obscured the names for privacy reasons :). Click on my website icon under my avatar and scroll to the bottom. It's just an example of what you could do design-wise, giving you an idea how I added stuff to the footer, which is done by adding html elements to the index.template.php file.
The only question at this point would be how to create a customized page in SMF, like what I suggested with said adapted agreement.php. If that could be adjusted to refer to a customized page like "AGB" etc., I guess the better part of your problems would be solved.
Title: Re: EU/DE legal compliance of SMF, especially Imprint and Privacy Policy links
Post by: Aleksi "Lex" Kilpinen on March 23, 2024, 08:20:48 PM
I do know Germany has some of the strictest interpretations of the regulation, but still I do think you are a little confused.

Some things I've come to understand about these:

- Cookie consent:
Not actually necessary in my understanding, unless you have added functionality on top of core SMF functions (such as advertising) that use cookies for those functions. The fact that SMF handles IP addresses is unrelated to this, completely. https://gdpr.eu/cookies/
QuoteStrictly necessary cookies — These cookies are essential for you to browse the website and use its features, such as accessing secure areas of the site. Cookies that allow web shops to hold your items in your cart while you are shopping online are an example of strictly necessary cookies. These cookies will generally be first-party session cookies. While it is not required to obtain consent for these cookies, what they do and why they are necessary should be explained to the user.

- Links:
A public Privacy Policy does not necessarily need explicit consent, it is not an actual agreement - It is simply a public document describing your data handling to your data subjects. https://gdpr.eu/privacy-notice/
Terms and Rules can be seen as an agreement, and is also a part of registration as is the Privacy Policy I think. ( Edit: Checked, there are two settings involved, Admin -> Members -> Registration -> Settings:  "Require new members to accept the registration agreement" & "Require new members to accept the privacy policy" )
Imprint is a strictly German (and Swiss) thing, that I really don't know much about, but I would wager a beer that you could get away with combining it with your Privacy Policy if you just change the link to "Privacy Policy and Impressum" or something - All it is in my understanding, is a mandatory contact info page.
The only link out of these that might need to actually be on every page, is the Impressum - The others only need to be easily accessible, and free of charge.
Title: Re: EU/DE legal compliance of SMF, especially Imprint and Privacy Policy links
Post by: DEG 1935 on March 23, 2024, 08:35:14 PM
Quote from: Julius_2000 on March 23, 2024, 08:14:03 PM
Quote from: DEG 1935 on March 23, 2024, 07:40:31 PMThanks for the pic, but I can't see the relevant part.
Quote from: DEG 1935 on March 23, 2024, 07:40:31 PMThree different texts (and preferably three links) within SMF for 1) Imprint, 2) Privacy Policy and 3) Terms and Rules, accessible from any publicly available page within SMF.
Sorry, I obscured the names for privacy reasons :). Click on my website icon under my avatar and scroll to the bottom. It's just an example of what you could do design-wise, giving you an idea how I added stuff to the footer, which is done by adding html elements to the index.template.php file.

Huh, that looks appealing indeed. Different theme, though. Did you have to move the SMF stuff to the left by yourself, or was that part of the theme already?

Quote from: Julius_2000 on March 23, 2024, 08:14:03 PMThe only question at this point would be how to create a customized page in SMF, like what I suggested with said adapted agreement.php. If that could be adjusted to refer to a customized page like "AGB" etc., I guess the better part of your problems would be solved.

Right (but I don't need "AGB" as I'm not running a business, this shall be just a fan forum). But there are so many issues to be solved in detail, code edits needed, and the issues apparently not always quite well understood, hmm...
Title: Re: EU/DE legal compliance of SMF, especially Imprint and Privacy Policy links
Post by: DEG 1935 on March 23, 2024, 10:54:31 PM
Quote from: Aleksi on March 23, 2024, 08:20:48 PMI do know Germany has some of the strictest interpretations of the regulation, but still I do think you are a little confused.

Some things I've come to understand about these:

- Cookie consent:
Not actually necessary in my understanding, unless you have added functionality on top of core SMF functions (such as advertising) that use cookies for those functions. The fact that SMF handles IP addresses is unrelated to this, completely. https://gdpr.eu/cookies/ (https://gdpr.eu/cookies/)

Of course I'm confused. Everyone here is confused! That's an integral part of our politics. ;) On the other hand, we may still carry tons of booze in a car across borders of federal states (unlike the USA), have no general speed limit, the lowest fines for violating them (although they've been increased recently), and we will not be shot dead in a traffic control. (Plus some other more relevant things.) So everywhere there are pros and cons. ;D (And yes, I have seen that you're from Finland, never again seen so many funny words and names with the same double/triple vowels, but I must admit that I haven't been to Wales yet. ;))

You are mentioning a link to https://gdpr.eu/cookies/. Okay, but that (and other links) doesn't tell everything:


And as we're all confused (see at the top), almost any website here has a cookie consent plugin. At least one where you just have to click on an "Okay" button, others (also from overseas) extremely complicated. Of course depending on what they are doing.

Okay... So what I'm saying is that just looking into one single (non-official) website and quoting just one sentence from this website is not the equivalent way to deal with this complex issue. And if someone from the US tells me here "Our legal counsel says it's all okay", then I can't take that too serious, sorry.

The even bigger problem (than for me and my small site) is that even THIS website would have to stick to all these regulations if a person from the EU (or even worse, from Germany as me ;)) would access this site (and even sign up to it). At least this is my understanding. That's why some US media (New York Daily News, Los Angeles Times, Chicago Tribune, San Diego Union-Tribune and Baltimore Sun) instantly restricted the access to users with European IP addresses when this awkward "DSGVO" came in force on May 25th, 2018 (Link (https://www.sueddeutsche.de/digital/dsgvo-europaeer-muessen-draussen-bleiben-1.3992207)).

Quote from: Aleksi on March 23, 2024, 08:20:48 PMTerms and Rules can be seen as an agreement, and is also a part of registration as is the Privacy Policy I think. ( Edit: Checked, there are two settings involved, Admin -> Members -> Registration -> Settings:  "Require new members to accept the registration agreement" & "Require new members to accept the privacy policy" )

Uh, I would have to check that. When I tested it, the Privacy Policy didn't show up (although it did contain some dummy text). But if there's an own setting, shouldn't that be automatically enabled then (or simply removed as an option) as soon as it contains some text? Because if you click on "Terms and Rules", the Privacy Policy will automatically (and additionally) be displayed without the explicite need to enable it?! That's an inconsistency then, IMO.

But apart from all of the above I do still have the other possible showstoppers (pasting an image from the clipboard into the editor which gets deleted/removed upon posting (https://www.simplemachines.org/community/index.php?msg=4172126), zoom reset to 100% with Firefox (https://www.simplemachines.org/community/index.php?msg=4172091) (Chrome not tested yet), external links in quote tags), plus the whole work with code editing which would be connected to that (and this for me as an PHP and CSS noob!), that I'm not sure if I should proceed with SMF.

I'm playing with SMF for 4-5 days now, and I can say that I like it in several ways and for some reasons, but it's anything else than "simple".

Have a good night, folks.
Title: Re: EU/DE legal compliance of SMF, especially Imprint and Privacy Policy links
Post by: Kindred on March 23, 2024, 11:19:56 PM
Sorry, not sorry... but
1- we have talked with our legal counsel. It doesn't matter to us whether you accept it or not  - unless you are an actual lawyer, your opinion holds less weight.

2- I confirmed my original remembrance. As lex said, if you set the setting, then the privacy policy IS shown on registration.

3- your other issues are being dealt with in other threads. Let's not confuse matters by bringing them in here.

4- your understanding of US laws is mistaken.  Additionally,  I don't think you have any concept of how far most US citizens live from any federal border...

5- the reason that the media sites Block access is because they DO add cookies well beyond the basic ones needed for access/membership.

6- if you want features for policies and cookies beyond what we have, then you will either have to write it yourself or hire someone to write a mod for you (ask in the mod request or thr help wanted boards, if so)
Title: Re: EU/DE legal compliance of SMF, especially Imprint and Privacy Policy links
Post by: DEG 1935 on March 23, 2024, 11:32:33 PM
Quote from: Kindred on March 23, 2024, 11:19:56 PMwe have talked with our legal counsel. It doesn't matter to us whether you accept it or not  - unless you are an actual lawyer, your opinion holds less weight.

Thanks for the "support" and "understanding". And no, what I'm saying above is not an "opinion".
Title: Re: EU/DE legal compliance of SMF, especially Imprint and Privacy Policy links
Post by: live627 on March 24, 2024, 03:25:32 AM
This thread is going nowhere with these mountains made of molehills. SMF does have some goodies for GDPR compliance that seems to  satisfy most implementations with Germany being a notable exception because  their interpretation seems to be much more strict.

So  now I will try to list the requirements.

Title: Re: EU/DE legal compliance of SMF, especially Imprint and Privacy Policy links
Post by: @rjen on March 24, 2024, 05:47:57 AM
Running my forum in the Netherlands.

Can confirm that maintaining the privacy policy will add this under the registration agreement, and it will prompt users to consent BOTH registration agreement and privacy policy.

Both are also present under the link to terms and rules on every page.

In addition I have chosen to use the EU cookie mod so guests are also prompted for cookie consent.

Added a separate topic to the forum explaining the cookie policy and a link to the EU cookie message directing users there.

For us this effectively deals with the requirements

Title: Re: EU/DE legal compliance of SMF, especially Imprint and Privacy Policy links
Post by: Aleksi "Lex" Kilpinen on March 24, 2024, 06:52:53 AM
Quote from: DEG 1935 on March 23, 2024, 10:54:31 PMOkay... So what I'm saying is that just looking into one single (non-official) website and quoting just one sentence from this website is not the equivalent way to deal with this complex issue.
I know, and understand this. I have read the actual GDPR Articles, and the link I offered is simply explaining the regulations in a way that is compatible with how most EU countries have actually applied them.

Every site owner, every business, should of course do their own due diligence around this. It is a complex issue.
What we have tried to do here is basically to provide tools so that most of the requirements can be easily met, for most countries, in most use cases. There will always be exceptions, because the regulations themselves have exceptions upon exceptions. For example, if you were running a website for strictly personal use to communicate with a limited group of family and friends, you would basically be exempt of all these regulations completely in most EU countries, while at the same time if you were a large company running a support site with some ad space, you would probably need to comply with it all to a tee.
 


Title: Re: EU/DE legal compliance of SMF, especially Imprint and Privacy Policy links
Post by: Julius_2000 on March 24, 2024, 07:49:39 AM
Quote from: DEG 1935 on March 23, 2024, 08:35:14 PMHuh, that looks appealing indeed. Different theme, though. Did you have to move the SMF stuff to the left by yourself, or was that part of the theme already?
The whole theme has been heavily customized by me, including the footer. Apart for the extra html elements that I added to index.template.php,  it was just a small CSS adjustment to shove them around.


I guess, for the sake of the goal of this topic, the question should less focus on why the OP needs the additional links (yes, we in Germany have to provide them) but rather whether it's possible to create pages similar to "Agreement" within SMF. If it could be done rather easily, all those issues were rendered moot and links for Imprint etc. could be placed in the footer. So, is there an way to do that?
Title: Re: EU/DE legal compliance of SMF, especially Imprint and Privacy Policy links
Post by: Aleksi "Lex" Kilpinen on March 24, 2024, 07:51:59 AM
Probably the easiest most straight forward way IMO would be to either build a custom page and simply link to it, or install a portal mod ( Example: ezPortal (https://custom.simplemachines.org/index.php?mod=1461) ) that allows adding custom pages directly to SMF.  A portal mod might also allow adding the pages directly to the forum menu. This mod could perhaps also work as a lighter option if you don't want a full portal Smf Pages System (https://custom.simplemachines.org/index.php?mod=4304)
Title: Re: EU/DE legal compliance of SMF, especially Imprint and Privacy Policy links
Post by: Julius_2000 on March 24, 2024, 08:08:08 AM
Quote from: Aleksi "Lex" Kilpinen on March 24, 2024, 07:51:59 AMProbably the easiest most straight forward way IMO would be to either build a custom page and simply link to it, or install a portal mod ( Example: ezPortal (https://custom.simplemachines.org/index.php?mod=1461) ) that allows adding custom pages directly to SMF.
You mean external to SMF, not created through SMF? Isn't there a way to adapt the Agreement.php or something to that effect and then link the new page in the footer, just like the agreement itself? I mean, this SMF forum right here includes additional landing pages for "about", "support" etc. If that could be done for a customizable page, the OP would then only need to adjust them and put them where he wants them.
Title: Re: EU/DE legal compliance of SMF, especially Imprint and Privacy Policy links
Post by: Aleksi "Lex" Kilpinen on March 24, 2024, 08:11:18 AM
Yes, I meant a strictly stand alone page - If you want to make it fit SMF, and have all the SMF menu items available and so on, it is fairly easy to do with SSI https://wiki.simplemachines.org/smf/SSI_FAQ_Basic
Title: Re: EU/DE legal compliance of SMF, especially Imprint and Privacy Policy links
Post by: Julius_2000 on March 24, 2024, 09:56:43 AM
That looks interesting. I read through the ssi manual but I'm not quite sure yet how to implement it.

QuoteThe first thing you need to do is open a new file somewhere in your site, and give it a .php extention. Then open your text editer for that file and write this code:
What does it mean to "open a new file somewhere in your site"? Or does it simply mean to write a php file and place it the server directory and reference it in the ssi.php file? Or does this solely refer to third-party hosting? I'm a little confused, sorry :)
Title: Re: EU/DE legal compliance of SMF, especially Imprint and Privacy Policy links
Post by: Aleksi "Lex" Kilpinen on March 24, 2024, 10:40:30 AM
That's a bit oddly worded, but it simply means you need to create an empty file and call it whatever.php, and then add the code in that file.
You can see SSI in use here https://www.simplemachines.org/community/ssi_examples.php
Title: Re: EU/DE legal compliance of SMF, especially Imprint and Privacy Policy links
Post by: Julius_2000 on March 25, 2024, 03:56:17 PM
Quote from: Aleksi "Lex" Kilpinen on March 24, 2024, 10:40:30 AMThat's a bit oddly worded, but it simply means you need to create an empty file and call it whatever.php, and then add the code in that file.
You can see SSI in use here https://www.simplemachines.org/community/ssi_examples.php
Ah, so it is possible to create an individual page which then could be populated with ssi functions etc?!? That would be quite helpful, indeed.
What would I need to do then to reference a customized page in the forum? Would I need to place the link via "include example.php" somewhere e.g. in index.template.php, like the footer? The manual does not really make it clear how to make the link appear in the forum. Or would I simply need to create an anchor with the href address for the forum plus adding the "example.php" at the end? Something like "https:/myforum/example.php" ?
Title: Re: EU/DE legal compliance of SMF, especially Imprint and Privacy Policy links
Post by: Aleksi "Lex" Kilpinen on March 25, 2024, 04:03:44 PM
You could for example add the link to the forum menu, the main menu is in Sources/Subs.php and you can add custom items to it, or you could just add a direct link to the page anywhere you want really (Like I just linked you to the example file) and if you have the SMF menu in your custom page through SSI it'll always be easy to get back to the forum from there. 

If you want to experiment, the example file should be included in the install package, so you can just copy it and play around :)
https://github.com/SimpleMachines/SMF/blob/release-2.1/ssi_examples.php
Title: Re: EU/DE legal compliance of SMF, especially Imprint and Privacy Policy links
Post by: Julius_2000 on March 25, 2024, 04:11:52 PM
Quote from: Aleksi "Lex" Kilpinen on March 25, 2024, 04:03:44 PMYou could for example add the link to the forum menu, the main menu is in Sources/Subs.php and you can add custom items to it, or you could just add a direct link to the page anywhere you want really (Like I just linked you to the example file) and if you have the SMF menu in your custom page through SSI it'll always be easy to get back to the forum from there. 

If you want to experiment, the example file should be included in the install package, so you can just copy it and play around :)
https://github.com/SimpleMachines/SMF/blob/release-2.1/ssi_examples.php
Thanks a lot! The thing I don't quite fully understand yet is how the link would actually look like. Would I just add the name of the newly created custom php file to a href url?
Something like this?
<a href="https://myforum/example.php"?></a>
Title: Re: EU/DE legal compliance of SMF, especially Imprint and Privacy Policy links
Post by: Aleksi "Lex" Kilpinen on March 25, 2024, 04:13:07 PM
If you simply place it in your forum's root, yeah - that would be it basically. It's just a direct link to a php-file on your server, just like the forum's index.php.

Using your own forum as an example: https://forum.thechembase.com/ssi_examples.php
Title: Re: EU/DE legal compliance of SMF, especially Imprint and Privacy Policy links
Post by: Julius_2000 on March 25, 2024, 04:22:52 PM
Ah! Got it! So I can create a php file, make it an html dom doc like described in the manual you linked to and then, if needed, add certain ssi functions like the menu to make it conform to the forum theme for instance, and then just add the php file to the root and reference it anywhere in my index.template.

So this would actually help the OP too, I guess. Thanks a million!

One last question @Aleksi "Lex" Kilpinen:
Is there a way to make the link to the css file reference the actual theme that is activated? Currently in that ssi_example.php, if I were to use exactly that example, for instance, the link is generated through
<link rel="stylesheet" href="', $settings['default_theme_url'], '/css/index.css">So instead of pointing to the default theme, would I need to bake-in our specific forum theme url or could that be written in a way that would just pull the /css/index.css from its current theme?
Title: Re: EU/DE legal compliance of SMF, especially Imprint and Privacy Policy links
Post by: Aleksi "Lex" Kilpinen on March 25, 2024, 04:41:04 PM
Yeah, you should be able to just edit that to point to whatever file you want really - So for example

<link rel="stylesheet" href="https://forum.thechembase.com/Themes/The_ChemBase_Theme_BF/css/index.css">

You could probably do some magic to get it to automatically change with the theme too, but I haven't really played around with that enough to give advice on that.
Title: Re: EU/DE legal compliance of SMF, especially Imprint and Privacy Policy links
Post by: Julius_2000 on March 25, 2024, 04:45:40 PM
Quote from: Aleksi "Lex" Kilpinen on March 25, 2024, 04:41:04 PMYeah, you should be able to just edit that to point to whatever file you want really - So for example

<link rel="stylesheet" href="https://forum.thechembase.com/Themes/The_ChemBase_Theme_BF/css/index.css">

You could probably do some magic to get it to automatically change with the theme too, but I haven't really played around with that enough to give advice on that.
Alrighty, thanks! Perhaps I could "steal" from some variable in index.template.php that generates the forum url and then just add the directories for the stylesheets. Again, thank you so much!