Opt-In Cookie Manager

Collapsible Forum Categories 2.0.1 not working - Opt-In Cookie Manager

Collapsible Forum Categories 2.0.1 not working

by kjh-mov » Sat Apr 08, 2023 11:19 am

I followed the instructions (phpbb 3.3.10, we_universal, google translate 1.0. 4.)

https://www.phpbb.com/customise/db/exte ... pic/238726

and everything seems to work correctly with regard to the cookie mask.

Only "Collapsible Forum Categories" no longer works. The + signs have disappeared.
One forum now has all categories closed, :o the other all open. :roll:

kjh-move.de

Your kjh-mov
Wer nichts weiß, muss alles glauben.

Marie von Ebner-Eschenbach
User avatar
kjh-mov
Registered User
Posts: 82
Joined: Mon May 07, 2018 12:23 pm

Re: Collapsible Forum Categories 2.0.1 not working

by kjh-mov » Sat Apr 08, 2023 11:52 am

Code: Select all

<a href="/collapse/fid_22?hash=7b0bbd6c" class="collapse-btn" data-hidden="1" data-ajax="phpbb_collapse" data-overlay="true" data-title-alt="Diese Forumkategorie ausblenden" title="Diese Forumkategorie anzeigen" style="display: none; line-height: 0;">
	<i class="fa fa-plus-square"></i>
</a>
:?:
Wer nichts weiß, muss alles glauben.

Marie von Ebner-Eschenbach
User avatar
kjh-mov
Registered User
Posts: 82
Joined: Mon May 07, 2018 12:23 pm

Re: Collapsible Forum Categories 2.0.1 not working

by Chris1278 » Sat Apr 08, 2023 12:11 pm

But that has nothing to do with my extension. They don't address this option at all.

Have you tested it with prosilver? Maybe it's the style itself. Otherwise you should ask questions about the extension itself.

https://www.phpbb.com/customise/db/exte ... es/support

My instructions from the extension regarding Google translate 1.0.4 do nothing other than write the Javascript code from the JS file directly into the HTML file.
User avatar
Chris1278
Jr. Extension Validator
Posts: 493
Joined: Thu Mar 14, 2019 6:07 pm

Re: Collapsible Forum Categories 2.0.1 not working

by kjh-mov » Sat Apr 08, 2023 12:20 pm

Dear Chris,
I have been using the function for years.

Before today's adjustments regarding cookies, it worked.

That's why I'm asking here and not the creator,
because I don't know to what extent today's changes have an impact.

collapsiblecategories.js
jQuery


####

Prosilver: the same ... no +
Wer nichts weiß, muss alles glauben.

Marie von Ebner-Eschenbach
User avatar
kjh-mov
Registered User
Posts: 82
Joined: Mon May 07, 2018 12:23 pm

Re: Collapsible Forum Categories 2.0.1 not working

by kjh-mov » Sat Apr 08, 2023 5:27 pm

The USERMAP is also no longer displayed.
Wer nichts weiß, muss alles glauben.

Marie von Ebner-Eschenbach
User avatar
kjh-mov
Registered User
Posts: 82
Joined: Mon May 07, 2018 12:23 pm

Re: Collapsible Forum Categories 2.0.1 not working

by Chris1278 » Sat Apr 08, 2023 6:59 pm

As I said, the change with the Google translator does nothing other than load the content of the translate Java script file in a different way, but with the same result. disable google translator and try again.
User avatar
Chris1278
Jr. Extension Validator
Posts: 493
Joined: Thu Mar 14, 2019 6:07 pm

Re: Collapsible Forum Categories 2.0.1 not working

by kjh-mov » Sat Apr 08, 2023 7:55 pm

I didn't just implement the Google translator, but all the changes that were on the page. I thought I had expressed that. Regarding Translate, I only gave the version.
Wer nichts weiß, muss alles glauben.

Marie von Ebner-Eschenbach
User avatar
kjh-mov
Registered User
Posts: 82
Joined: Mon May 07, 2018 12:23 pm

Re: Collapsible Forum Categories 2.0.1 not working

by kjh-mov » Sat Apr 08, 2023 8:37 pm

collapsiblecategories.js
jQuery ???

usermap
geonames.org ???
google map ???
Wer nichts weiß, muss alles glauben.

Marie von Ebner-Eschenbach
User avatar
kjh-mov
Registered User
Posts: 82
Joined: Mon May 07, 2018 12:23 pm

Re: Collapsible Forum Categories 2.0.1 not working

by Chris1278 » Sat Apr 08, 2023 11:51 pm

Ok I found the problem. The jquery doesn't load correctly with the change for whatever reason.

open the file overall_footer.html and undo one thing.

Find:

Code: Select all

<script type="text/plain" data-type="application/javascript" data-name="{{ DATA_NAME_GOOGLEWEBFONT }}" data-src="{T_JQUERY_LINK}"></script>
and replace with:

Code: Select all

<script src="{T_JQUERY_LINK}"></script>
Then clear the forums and browser cache again. But then also in the admin interface

General/ Server Configuration / Load Settings the following option to No

Allow usage of third party content delivery networks: = no
User avatar
Chris1278
Jr. Extension Validator
Posts: 493
Joined: Thu Mar 14, 2019 6:07 pm

Re: Collapsible Forum Categories 2.0.1 not working

by kjh-mov » Sun Apr 09, 2023 1:24 am

Dear Chris,
I'm sorry I didn't let you sleep.

And yes, the usermap is back, and the + for collapsiblecategories

Many thanks for your great help

Yours kjh-mov
Wer nichts weiß, muss alles glauben.

Marie von Ebner-Eschenbach
User avatar
kjh-mov
Registered User
Posts: 82
Joined: Mon May 07, 2018 12:23 pm