Emails are disabled - for account issues, post in #help on the NI Discord.

Spoilers not showing up on forums
#1
If stuff like this happens to you
[Image: spoilerscomeback_zps747600c2.png]
Quote:Press F12 (or right click, inspect element), go to the console, and type j=jQuery.noConflict(); initSpoilers()
OR type javascript: j=jQuery.noConflict(); initSpoilers() into the address bar
(thanks Kip for the second line)

Same thing happens to image spoilers using the [img2 ] tag, for example
[img2]https://www.dropbox.com/s/l2ooyz22asr72dp/yvain.jpg?dl=1[/img2]
Quote:$('var').replaceWith(function(){
    return $("<img />", {src: $(this).attr('title'),class: 'bbc_img'});
});
(Thanks Stackoverflow)

If you go to the Sources tab and open up spoiler.js you might see some stupid shit about
Uncaught TypeError: Cannot read property 'msie' of undefined
Which screws up jQuery as FancyBox, thus not allowing spoilers to be properly formatted.
To solve this, wait until jQuery gets loaded again, and then call the code that re-builds the FancyBox component around the spoiler
#2
When does jQuery get reloaded? How do I "call" the code? Explanations, my good man, I need them! Smile

Also: had the same problem in school with IE.
CC_Sir_Yabu - lvl 52 Wielder of the Rectal Glory
CC_Dr_Yabu - lvl 52 Pokémon
CC_Yabu_the_Hutt - lvl 52 Space Mob Member
CC_Yabudabadoo - lvl 39 Pacifist
CC_Dyabu_Unchained - lvl 10 No Comment
Visit my shop IKEY!
#3
My Chrome is still working fine though. Strange.
Striker strikes again.

#4
It has just happened to me on safari  >Sad

edit: Ok I have been looking at the forums and the spoiler.js script is giving an error, it is as follows "spoiler.js:18TypeError: 'undefined' is not an object (evaluating 'b.browser.msie')" this looks to be on line 19 of the script.
#5
(15-01-2013, 03:14 PM)Yabu link Wrote:When does jQuery get reloaded? How do I "call" the code? Explanations, my good man, I need them! Smile

Maybe Im just dumb but how to exactly fix it?
My steam account: Dragz 

Loots:
27/08/15 Royal Winged Helmet
24/10/15 Durendal

[Image: taker-brock-laugh.gif?08bce4]
#6
(15-01-2013, 03:57 PM)Dragonknight link Wrote:[quote author=Yabu link=topic=8946.msg73513#msg73513 date=1358262898]
When does jQuery get reloaded? How do I "call" the code? Explanations, my good man, I need them! Smile

Maybe Im just dumb but how to exactly fix it?
[/quote]
Same for me, so we're both dumb!
CC_Sir_Yabu - lvl 52 Wielder of the Rectal Glory
CC_Dr_Yabu - lvl 52 Pokémon
CC_Yabu_the_Hutt - lvl 52 Space Mob Member
CC_Yabudabadoo - lvl 39 Pacifist
CC_Dyabu_Unchained - lvl 10 No Comment
Visit my shop IKEY!
#7
I just hit F12 and then go to console and paste "j=jQuery.noConflict(); initSpoilers()" and hit enter and the page works. But i havd to do it again next time i enetered the thread.
Favorite word: Defenestration - The act of throwing someone or something out of a window.
#8
(15-01-2013, 04:58 PM)Yabu link Wrote:[quote author=Dragonknight link=topic=8946.msg73524#msg73524 date=1358265477]
[quote author=Yabu link=topic=8946.msg73513#msg73513 date=1358262898]
When does jQuery get reloaded? How do I "call" the code? Explanations, my good man, I need them! Smile

Maybe Im just dumb but how to exactly fix it?
[/quote]
Same for me, so we're both dumb!
[/quote]

That makes 3 of us ! Yay we can start a community now Wink
#9
Make that four of us!  (I am the handsome devil in the screenshot :3)
#10
An easier way to use Ughgh's code is to enter [tt]javascript: j=jQuery.noConflict(); initSpoilers()[/tt] into the address bar.  I tested it in Firefox, IE, Chrome, and Opera.
CC_Warden_Kip | CC_Sentinel_Kip | CC_Guard_Kip | CC_Zweihander_Kip | CC_Marksman_Kip | CC_Pavise_Kip | CC_Peltast_Kip | CC_Marauder_Kip | others...




Users browsing this thread: 1 Guest(s)