Page 2 of 9

Beta testers for new version needed

Posted: 07 Nov 2011, 11:04
by Blackwolf
When this is released...i.e. non beta...will it have upgrade instructions, or will one need to remove the old one first?

Beta testers for new version needed

Posted: 07 Nov 2011, 11:09
by Stoker
I will include update instructions in an ordinary txt file.

Beta testers for new version needed

Posted: 07 Nov 2011, 11:13
by Blackwolf
Stoker wrote:I will include update instructions in an ordinary txt file.
Thanks Stoker :thumb:

Beta testers for new version needed

Posted: 07 Nov 2011, 12:14
by doktornotor
Stoker wrote:When submitting mods on phpbb.com latest jquery must be used.

You'd better update it to 1.7 then :D (I wonder, anyone submitted the mChat send button b0rkage bug to jQuery folks yet? Because it is still broken.)

Beta testers for new version needed

Posted: 07 Nov 2011, 12:15
by Stoker
doktornotor wrote:You'd better update it to 1.7 then :D
Dammit :evil:
;)

Beta testers for new version needed

Posted: 07 Nov 2011, 12:23
by doktornotor
Stoker wrote: Dammit :evil:
LOL... Still makes me wonder, would not using the CDN and latest make more sense... (not that it would make any difference when it comes to the pretty much dead validation queue).

Wrt the PEBKAC issues (jQuery included zillion times), it would really help if everyone using jQuery in their mods started using this:

Code: Select all

if (typeof jQuery == 'undefined')
{ 
    // not loaded, go load it here
} else {
    // already loaded, do not load again
}

Beta testers for new version needed

Posted: 07 Nov 2011, 14:31
by Stoker
Using remote scripts in mods wont get accepted. So thats a dead end.
The idea is good though.

Beta testers for new version needed

Posted: 07 Nov 2011, 15:07
by doktornotor
Stoker wrote:Using remote scripts in mods wont get accepted. So thats a dead end.
For validation? Yeah, I know... however, looking at the "progress" when it comes to mods validation over there @phpbb.com, I have serious doubts about the whole idea of validation, as it stands... there simply is stuff that is not worth getting validated at all, since - unless the scripts are remote - they break more quickly than the mods get validated. (Think, Facebook, +1 and similar kind of stuff.) For MODs having some ACP configuration, a checkbox to use either the CDN or the local version (could be the default) would make sense regardless. (No idea whether it would get validated if done that way or not, and frankly I do not care.)

</offtopic>

Wrt the multiple jQ etc. includes check - yeah, for sure, but needs some effort to get this pushed elsewhere - among other mods I am using, mChat using jQuery, Hotschi's Download MOD using this as well for some image-related stuff... worst of all, there are tons of those "in development" mods using this. Hard to even track where this stuff is used since there is no standard location for JS stuff.

Beta testers for new version needed

Posted: 07 Nov 2011, 23:47
by Arnevb
I got some serious trouble with jQuery, I think it's completely messed up, altough I don't use mChat ot any other mods requiring jQuery. But i'm going to install this mod soon on a test board. Thanks for sharing, Stoker!

Beta testers for new version needed

Posted: 10 Nov 2011, 00:46
by doktornotor
So, back to the jQuery check... Changed the mod to use this in overall_header.html

Code: Select all

<script type="text/javascript">
if (typeof jQuery == 'undefined') {
    document.write(unescape('%3Cscript src="{ROOT_PATH}script/jquery-1.7.min.js" type="text/javascript"%3E%3C/script%3E'));
}
</script>
Works nicely. :)