IPB

Welcome Guest ( Log In | Register )

 
Reply to this topicStart new topic
> Help Where Did My Aar Go?, Spoiler tag not working?
FriendoftheDork
post Feb 3 2008, 06:38 PM
Post #1


Running Target
***

Group: Members
Posts: 1,288
Joined: 4-September 06
From: The Scandinavian Federation
Member No.: 9,300



Hey as some of you know I made an After Action Report for my Barrens campaign. Although the campaign is probably finished now, I noticed after the update that all the posts I have made with Spoiler tags "[Spoiler}" have gone, and the the hidden entries don't reveal themselves by clicking where my post says Spoiler.

Since I Spoiler tagged my entire AAR this means people can't read it anymore (or just that I can't, which would be even stranger). Any mods able to help me?
Go to the top of the page
 
+Quote Post
Abbandon
post Feb 3 2008, 06:55 PM
Post #2


Shooting Target
****

Group: Members
Posts: 1,711
Joined: 15-June 06
Member No.: 8,716



Edit the messages with spoilers you want to get at again and you will be able to see your spoilered info. Then either copy/paste stuff into a new reply or erase and put back the spoiler tags. The new spoiler tags dont work like the old ones unfortunately.
Go to the top of the page
 
+Quote Post
FriendoftheDork
post Feb 3 2008, 07:20 PM
Post #3


Running Target
***

Group: Members
Posts: 1,288
Joined: 4-September 06
From: The Scandinavian Federation
Member No.: 9,300



QUOTE (Abbandon @ Feb 3 2008, 07:55 PM) *
Edit the messages with spoilers you want to get at again and you will be able to see your spoilered info. Then either copy/paste stuff into a new reply or erase and put back the spoiler tags. The new spoiler tags dont work like the old ones unfortunately.


Ok thanks for the tip. It will be alot of work though, and the new spoiler doesen't look so good with all those black stripes.
Go to the top of the page
 
+Quote Post
Redjack
post Feb 3 2008, 08:55 PM
Post #4


Man Behind the Curtain
**********

Group: Admin
Posts: 14,871
Joined: 2-July 89
From: End of the Yellow-Brick Road
Member No.: 3



I have to admit I miss the old spoilers already... Guess that will have to be a pet project of mine.
Just an FYI, it was not a conscious decision to change how they work.. Its built into the skin and these skins are a pretty complex mess of dynamic html, css, javascript and php.
Go to the top of the page
 
+Quote Post
Kagetenshi
post Feb 3 2008, 09:32 PM
Post #5


Manus Celer Dei
**********

Group: Dumpshocked
Posts: 17,006
Joined: 30-December 02
From: Boston
Member No.: 3,802



I'm not certain, but it looks like it may just be a matter of including openClose in the new page javascript. It's not present in the new pages, and is the action the spoiler tags formerly performed. Of course, it's probably not that simple, but it's a starting point anyway.

CODE
function openClose(id)
    {
        var obj = "";    

        // Check browser compatibility
        if(document.getElementById)
            obj = document.getElementById(id).style;
        else if(document.all)
            obj = document.all[id];
        else if(document.layers)
            obj = document.layers[id];
        else
            return 1;
            
        // Do the magic :)
        if(obj.display == "")
            obj.display = "none";
        else if(obj.display != "none")
            obj.display = "none";
        else
            obj.display = "block";
    }


(Copied from an archived page I have hanging around, though you people probably have more than I do)

Edit: also, the header for code blocks is ugly. But you can see that.

~J
Go to the top of the page
 
+Quote Post
Thanee
post Feb 3 2008, 10:22 PM
Post #6


jacked in
**********

Group: Admin
Posts: 9,298
Joined: 26-February 02
Member No.: 463



QUOTE (FriendoftheDork @ Feb 3 2008, 08:20 PM) *
It will be alot of work though...


Copy text to a text editor... use find and replace to change the start and end tags to the new format globally... copy text back to post.

Bye
Thanee
Go to the top of the page
 
+Quote Post
Kagetenshi
post Feb 3 2008, 10:27 PM
Post #7


Manus Celer Dei
**********

Group: Dumpshocked
Posts: 17,006
Joined: 30-December 02
From: Boston
Member No.: 3,802



Is that supposed to somehow not be a lot of work?

~J
Go to the top of the page
 
+Quote Post
Fortune
post Feb 3 2008, 11:37 PM
Post #8


Immoral Elf
**********

Group: Members
Posts: 15,247
Joined: 29-March 02
From: Grimy Pete's Bar & Laundromat
Member No.: 2,486



QUOTE (Thanee @ Feb 4 2008, 09:22 AM) *
Copy text to a text editor... use find and replace to change the start and end tags to the new format globally... copy text back to post.


We're talking about a fair number of spoilers. I am considering doing the same thing for my spoilers in the WttS forum, but it is quite a daunting thought.
Go to the top of the page
 
+Quote Post
Redjack
post Feb 4 2008, 12:24 AM
Post #9


Man Behind the Curtain
**********

Group: Admin
Posts: 14,871
Joined: 2-July 89
From: End of the Yellow-Brick Road
Member No.: 3



QUOTE (Kagetenshi @ Feb 3 2008, 03:32 PM) *
I'm not certain, but it looks like it may just be a matter of including openClose in the new page javascript. It's not present in the new pages, and is the action the spoiler tags formerly performed. Of course, it's probably not that simple, but it's a starting point anyway.

(Copied from an archived page I have hanging around, though you people probably have more than I do)

Edit: also, the header for code blocks is ugly. But you can see that.

Thanks for the code post. I actually have a complete copy of the old Dumpshock running in my development environment. I will use the openClose function as a starting place. Right now, my head congestion is slowing me down and I have a busy week coming up.. But I will put code in place to deal with the old spoilers...

I also want to add back in the old spoilers as an option in the post form... Ah... Time and money.. Everything always comes down to time and money..
Go to the top of the page
 
+Quote Post
Fortune
post Feb 4 2008, 12:31 AM
Post #10


Immoral Elf
**********

Group: Members
Posts: 15,247
Joined: 29-March 02
From: Grimy Pete's Bar & Laundromat
Member No.: 2,486



So, for now, should we not go about changing our spoilers, or won't it make a difference, or what? Help me out, because I'm somewhat clueless when it comes to this type of thing.
Go to the top of the page
 
+Quote Post
Redjack
post Feb 4 2008, 01:15 AM
Post #11


Man Behind the Curtain
**********

Group: Admin
Posts: 14,871
Joined: 2-July 89
From: End of the Yellow-Brick Road
Member No.: 3



Unless you need the info right now for a hot topic or an inflight game, leave it. May take me a few weeks to work out the kinks, but as a heavy user of spoilers "In The Shadows"... I will eventually get them working..
Go to the top of the page
 
+Quote Post
Fortune
post Feb 4 2008, 01:22 AM
Post #12


Immoral Elf
**********

Group: Members
Posts: 15,247
Joined: 29-March 02
From: Grimy Pete's Bar & Laundromat
Member No.: 2,486



Will do, and thanks again for all your work. (IMG:style_emoticons/default/smile.gif)
Go to the top of the page
 
+Quote Post
Redjack
post Feb 4 2008, 02:38 AM
Post #13


Man Behind the Curtain
**********

Group: Admin
Posts: 14,871
Joined: 2-July 89
From: End of the Yellow-Brick Road
Member No.: 3



Spoiler Tags
As a stop gap measure, I have hacked it so that you can click on [ Spoiler ] tags and see the text. The back ground css is not in place and its not fancy, nor is editing supported... but you can at least see the hidden text.
Go to the top of the page
 
+Quote Post

Reply to this topicStart new topic

 



RSS Lo-Fi Version Time is now: 14th November 2024 - 11:07 PM

Topps, Inc has sole ownership of the names, logo, artwork, marks, photographs, sounds, audio, video and/or any proprietary material used in connection with the game Shadowrun. Topps, Inc has granted permission to the Dumpshock Forums to use such names, logos, artwork, marks and/or any proprietary materials for promotional and informational purposes on its website but does not endorse, and is not affiliated with the Dumpshock Forums in any official capacity whatsoever.