January 28, 2022, 04:14:51 AM

Daily Lucky Numbers:
2
15
19
20
27
45

Recent posts

Pages1 2 3 ... 10
1
SMF Arcade Support + Plugins / HTML5 Save Code V3
Last post by Chen Zhen - January 09, 2022, 10:58:00 PM
function saveHTML52score(score, gamename) {
let pathArray = window.location.pathname.split('/');
let newpath = '';
if (pathArray[1] && pathArray[1] != 'arcade' && pathArray[1] != 'games') {
newpath = '/' + pathArray[1];
}
scorepost(window.location.protocol + '//' + window.location.hostname + newpath + '/index.php?act=Arcade&do=newscore', {
gname : gamename,
gscore: score
});
}
function scorepost(href, inputs) {
var gform = document.createElement('form');
gform.method = 'post';
gform.action = href;
gform.target = '_parent';
for (var k in inputs) {
var input = document.createElement('input');
input.setAttribute('name', k);
input.setAttribute('value', inputs[k]);
gform.appendChild(input);
}
document.body.appendChild(gform);
gform.submit();
document.body.removeChild(gform);
}

An example of usage:
var score = parseInt(localStorage.getItem("energizerScore")), gamename = 'energizerCZ';
saveHTML52score(score, gamename);
2
SMF Arcade Support + Plugins / Re: Game error reporting
Last post by Dave - January 09, 2022, 04:54:24 PM
Quote from: Chen Zhen on January 09, 2022, 02:33:12 PMI can implement a PM option to all admin and arcade moderators.

That would be great, thank you
3
SMF Arcade Support + Plugins / Re: Game error reporting
Last post by Chen Zhen - January 09, 2022, 02:33:12 PM
Reporting a game issue already allows the user to state the reason. This information is available on the list by clicking or tapping the appropriate column will display a small popup window containing what was reported.
I can implement a PM option to all admin and arcade moderators.
4
SMF Arcade Support + Plugins / Re: Game error reporting
Last post by Hero - January 09, 2022, 07:58:41 AM
Yes that would be a very good option. That the whole thing is posted. So the user and the admin see the created thread with the game and the error what doesn't work.
5
SMF Arcade Support + Plugins / Re: Game error reporting
Last post by Dave - January 09, 2022, 03:19:20 AM
Yes I'd like to see these too please?

With the amount of games failing for one reason or another these ideas would be a good addition to the mod.
6
EhPortal Support / EhPortal v1.33 Released!
Last post by Chen Zhen - January 01, 2022, 04:28:53 PM
Eh Portal v1.33

You must uninstall any previous version of Eh Portal prior to commencing this installation.

EhPortal 1.33
================================================================================
! Fixed: escape/backslash filter for PHP/HTML block/page code output
! Changed: escape/backslash filter applied to actual block edit

EhPortal 1.32
================================================================================
+ Added: option to disable PHP eval() function in favor of temporary PHP file creation.
+ Added: option to enable an escape/backslash filter for PHP/HTML block/page code output.
+ Added: option to purge PHP block temp folder
! Fixed: admin block settings multi-check
! Changed: moved some block options to block settings

EhPortal 1.31
================================================================================
! Fixed: sp_blocks compatibility for migration from SimplePotal 2.0.18
! Fixed: theme thumbnails for sp_theme_select block
! Fixed: dynamically load datepicker & datepair scripts if not already available





Eh Portal is fully HTML5 compliant.
It uses mobile detection and a bootstrap to adjust any of SMF's or a modification's HTML5 to be mobile friendly.

If you come across a popular mod, theme or SMF itself that still causes any mobile display issues please report it in this board.
7
SMF Arcade Support + Plugins / Re: Game Posting
Last post by Dave - December 31, 2021, 02:24:24 AM
8
SMF Arcade Support + Plugins / Re: Game Posting
Last post by Chen Zhen - December 30, 2021, 05:12:59 PM
Game posting is just for announcing newly installed games.
In the arcade admin you set a user id and a board to post the new games.
For example you can create a new user named "Arcade Bot", give it an arcade themed avatar and use that as the user id.
9
SMF Arcade Support + Plugins / Game Posting
Last post by Dave - December 29, 2021, 08:27:53 AM
Ignore this please. Sorry but I misunderstood the 'Game Posting' option. I thought it was for others to upload games to the site for inclusion to the arcade...which in thinking about it wouldn't really be that safe...although when you download from other sites they might not be safe either.

Anyway the upshot is you can delete this post if you want to
10
SMF Arcade Support + Plugins / Re: Mobile compatibility
Last post by Skhilled - December 26, 2021, 12:38:32 AM
Dave, thanks and the same to you and your family! :)

Chen, I just need time to really go over the files so I can see what is going and then go from there. Lately, I've only been briefly looking at things when time permits. LOL I hate it when I'd like to start something but too many other things get in the way.  >:(
Pages1 2 3 ... 10