Simple mentions

Simple Mentions issues caused by JavaScript in the footer - Simple mentions

Simple Mentions issues caused by JavaScript in the footer

by odf » Sat Jun 06, 2020 11:39 am

Hello,

Recently, I integrated the SageMathCell https://sagecell.sagemath.org/ in our forum (it uses phpBB 3.2.7), see https://www.tssfl.com/carry-computation ... forum-6301. It works well but it has caused a number of problems, in particular, the Simple Mentions ext does not work, the Reaction System ext is distorted, and the Advanced Active Topics ext stops to work. I believe there is a common issue that affects all these extensions.

These problems have been caused by the code,

Code: Select all

<script src="https://sagecell.sagemath.org/static/embedded_sagecell.js"></script>
    <script>
    sagecell.makeSagecell({inputLocation: 'div.compute',
     evalButtonText: 'Evaluate'});
    </script>
which I added in the overall_footer. Can anyone help to point out what would be the problem? And may be a solution?

I greatly appreciate your help.

odf
odf
Registered User
Posts: 149
Joined: Sun Jan 22, 2017 8:55 pm
Contact:

Re: Simple Mentions issues caused by JavaScript in the foote

by Paul » Mon Jun 08, 2020 7:36 am

Try removing

Code: Select all

<script src="https://sagecell.sagemath.org/static/embedded_sagecell.js"></script>
    <script>
    sagecell.makeSagecell({inputLocation: 'div.compute',
     evalButtonText: 'Evaluate'});
    </script>
from your overall_footer.
Knock knock
Race condition
Who's there?

My BlogMy Photosmy phpBB Extensionscustom phpBB work & Development
Paul
Infrastructure Team Leader
Infrastructure Team Leader
Posts: 26259
Joined: Sat Dec 04, 2004 3:44 pm
Location: The netherlands.
Name: Paul Sohier
Contact:

Re: Simple Mentions issues caused by JavaScript in the foote

by odf » Wed Jun 10, 2020 10:18 am

Paul wrote:Try removing

Code: Select all

<script src="https://sagecell.sagemath.org/static/embedded_sagecell.js"></script>
    <script>
    sagecell.makeSagecell({inputLocation: 'div.compute',
     evalButtonText: 'Evaluate'});
    </script>
from your overall_footer.
That is what I said it caused the problem.
odf
Registered User
Posts: 149
Joined: Sun Jan 22, 2017 8:55 pm
Contact:

Re: Simple Mentions issues caused by JavaScript in the foote

by Paul » Wed Jun 10, 2020 10:21 am

Yes, so removing it will fix this extension. You are asking on the wrong location. It is that script that broke this (And apperently others), so you should ask for support where you downloaded that script. Not here.
Knock knock
Race condition
Who's there?

My BlogMy Photosmy phpBB Extensionscustom phpBB work & Development
Paul
Infrastructure Team Leader
Infrastructure Team Leader
Posts: 26259
Joined: Sat Dec 04, 2004 3:44 pm
Location: The netherlands.
Name: Paul Sohier
Contact:

Re: Simple Mentions issues caused by JavaScript in the foote

by odf » Wed Jun 10, 2020 8:08 pm

Paul wrote:Yes, so removing it will fix this extension. You are asking on the wrong location. It is that script that broke this (And apperently others), so you should ask for support where you downloaded that script. Not here.
This is not necessary.
odf
Registered User
Posts: 149
Joined: Sun Jan 22, 2017 8:55 pm
Contact: