Daily Lucky Numbers:
8
11
21
26
34
39

Theme issue

Started by Dave, August 06, 2021, 06:45:54 AM

Previous topic - Next topic

Dave

Hi

I know in theory I should go to the themes creator, I signed up to the Fussilet's site but cannot see anywhere to get support for this issue.

I really would like to use the attached theme 'Lamartine' as my default for my site but for some reason it will not allow the games to play.

I have put the ruffle code into the index.template but all I get is a blank area where the game should play.

Games work on other themes but for some reason not on this one.

Can anyone help please?
If you want play quizzes or games click below

Listen to Quizland radio here

Ronald

I would never use another one of his skins. He doesn't make them he copies and makes changes. He very seldom will answer a request.

I learned the hard way, I bought one of his packages and got screwed royally.

Chen Zhen

#2
It's a Motools / JQuery conflict.
Newer templates likely won't use the outdated Motools plugin because JQuery became the popular pre-defined functions plugin.

I haven't had a really close look at that theme yet but Motools is likely only used for the SMF navigation bar at the top.
You'll notice that fullscreen & popup for the games work just fine where no SMF nav bar is used/shown.

I'll take a look at that theme's files later today to see if I can have it not load Motools and use an alternate nav bar when playing games or uploading game files.

Dave

Quote from: Chen Zhen on August 07, 2021, 09:09:57 AMIt's a Motools / JQuery conflict.
Newer templates likely won't use the outdated Motools plugin because JQuery became the popular pre-defined functions plugin.

I haven't had a really close look at that theme yet but Motools is likely only used for the SMF navigation bar at the top.
You'll notice that fullscreen & popup for the games work just fine where no SMF nav bar is used/shown.

I'll take a look at that theme's files later today to see if I can have it not load Motools and use an alternate nav bar when playing games or uploading game files.


UD you are a hero.

Thank you very much for the reply and thank you for looking at it. If you can let me know how to donate I'll put a few $ in the beer fund

Regards

Dave
If you want play quizzes or games click below

Listen to Quizland radio here

Ronald

I installed the skin. It plays games for me. https://arcadeholics.net/index.php?action=forum

It is an old skin, but still seems to work, has some long white areas that you need to scroll more.

Chen Zhen

#5
Try the attachment and let me know if it works as expected.
Test playing flash games, uploading games using the html5 upload script and also see if the undesirable white areas are gone.

Dave

Quote from: Chen Zhen on August 07, 2021, 03:42:42 PMTry the attachment and let me know if it works as expected.
Test playing flash games, uploading games using the html5 upload script and also see if the undesirable white areas are gone.

thanks very much..I'm off to bed now so I'll check it out tomorrow.
If you want play quizzes or games click below

Listen to Quizland radio here

Chen Zhen

Btw it still uses the Motools plugin  but I updated it and also adjusted the theme's CSS file. It should work good now but I didn't test everything.

Dave

Quote from: Chen Zhen on August 07, 2021, 07:54:56 PMBtw it still uses the Motools plugin  but I updated it and also adjusted the theme's CSS file. It should work good now but I didn't test everything.

It does work good now. I have tested it on my test sites with both ruffle games and H5 and it's working Ok with no errors in the log or anywhere else for that matter.

Thank you very much UD you're help is much appreciated.

As previously mentioned give me a link to donate please?

regards

Dave
If you want play quizzes or games click below

Listen to Quizland radio here

Dave

Quote from: Dave on August 08, 2021, 02:38:58 AM
Quote from: Chen Zhen on August 07, 2021, 07:54:56 PMBtw it still uses the Motools plugin  but I updated it and also adjusted the theme's CSS file. It should work good now but I didn't test everything.

It does work good now. I have tested it on my test sites with both ruffle games and H5 and it's working Ok with no errors in the log or anywhere else for that matter.

Thank you very much UD you're help is much appreciated.

As previously mentioned give me a link to donate please?

regards

Dave

Well I don't know why but when I install it on my live site 'Quizland' for some reason it gives a ruffle error for any flash game I try to play, H5 games are OK. That didn't happen on the test site and I have the same mods installed on both.

Looking at the 'browser inspect' on the site the only difference between the two is a red error which is related to '@-moz-keyframes scroll-left { }'.

The ruffle error is:

# Error Info
Error name: TypeError
Error message: WebAssembly.instantiate(): Argument 0 must be a buffer source or a WebAssembly.Module object
Error stack:
```
TypeError: WebAssembly.instantiate(): Argument 0 must be a buffer source or a WebAssembly.Module object
    at https://www.quizland.co.uk/******/******/ruffle.js:1:33693
    at n (https://www.quizland.co.uk/******/******/ruffle.js:1:33776)
```

# Player Info
Allows script access: true
Player type: Object
SWF URL: https://www.quizland.co.uk/******/******/MakaiSpearToss_v32.swf
Attribute 0: undefined
Attribute 1: undefined
Attribute 2: undefined
Attribute 3: undefined
Attribute 4: undefined
Attribute 5: undefined

# Page Info
Page URL: https://www.quizland.co.uk/index.php?action=arcade;sa=play;game=330

# Browser Info
Useragent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/92.0.4515.131 Safari/537.36 Edg/92.0.902.67
OS: Win32

# Ruffle Info
Version: 0.1.0
Name: nightly 2021-07-14
Channel: nightly
Built: 2021-07-14T00:12:43.820Z
Commit: f9be5c2230b190549150a1cf058cbb284f6e36d8

It's OK on other themes by btw, I have left it installed so it can be checked. I have reverted back to the old theme but themes can be changed by guests if anyone wants to look

Regards

Dave



If you want play quizzes or games click below

Listen to Quizland radio here

Chen Zhen


It's working for me and I just saved a score on that linked game.
Did you press the big play button that shows up in the container?

Chen Zhen

#11
Oops.. I forgot to change the theme.

I see an error because of something called Highslide.
Is this from a mod or a block?

It appears there is a Highslide mod on the mod site.
Did you by any chance uninstall this mod but perhaps left edits or hooks from it by not properly uninstalling it?
It is trying to use its file(s) but they are not available.

Dave

Quote from: Chen Zhen on August 08, 2021, 03:42:20 PMOops.. I forgot to change the theme.

I see an error because of something called Highslide.
Is this from a mod or a block?

It appears there is a Highslide mod on the mod site.
Did you by any chance uninstall this mod but perhaps left edits or hooks from it by not properly uninstalling it?
It is trying to use its file(s) but they are not available.


Highslide was on the site and I uninstalled it earlier today as it's heavily JS, which is what the ruffle error seems to be saying. But it works on the test site. So far the test site is near enough identical, as far as mods are concerned, and everything works OK.

I see you've signed up so I will make you admin so you can see more.

Again it's bedtime here so I'll resume tomorrow.

Thanks for looking at it UD

Regards

Dave
If you want play quizzes or games click below

Listen to Quizland radio here

Chen Zhen


I installed the latest RC of the Arcade on your website and the flash games appear to be working fine now using that theme.
It has a recent nightly build version of the emulator built in among some other additions and fixes.

Let me know if it's also working for you now.

Dave

Quote from: Chen Zhen on August 08, 2021, 08:50:31 PMI installed the latest RC of the Arcade on your website and the flash games appear to be working fine now using that theme.
It has a recent nightly build version of the emulator built in among some other additions and fixes.

Let me know if it's also working for you now.

Brilliant UD everything is working as it should. I have also re-instated the portal blocks and it's still ok.

Thank you very much

regards

Dave
If you want play quizzes or games click below

Listen to Quizland radio here