• Log in or sign up for an account here: https://www.sythe.org/login

Spoiler tags

Status
Not open for further replies.
<3 n4n0
Discord Verified
Two Factor Authentication User
Community Participant
Spam Forum Participant
Sythe's 10th Anniversary
Sythe Awards 2011 Winner
If we can work out a way to work around the exploits, it will be re-added :3

I was hoping that would be the case. They can be fun to have for certain things... And makes somethings easier so they'd be good.
 
I think this is a good idea but as seen below...dont want this to happen

Hrm we used to have spoiler tags but people found ways to exploit them and cause trouble... I'm not sure if we'd want to add the spoiler tag back given what happened last time.
 
It's possible to do it with just CSS, preventing the need for JS. All you have to do is throw on a pound sign to the show spoiler link, the only thing is it would have to refresh the page. Not too much of a loss for the removal of exploitation. You could kind of exploit it, but it would only lead back to Sythe regardless.

Also, if you program in enough clauses, such as a validation for the show hash, you could restrict to only showing a valid spoiler.

Basically, the user would click the show link, the page would reload, go to the post which has the spoiler they want to view, php would then parse the link's hash to load the style for that spoiler.

It's a little more complicated, but pretty safe.
 
Was going to suggest something like this until I saw this thread, been wanting something like this for a while.

Would've been able to cause less spam in for example the 'Names Sales' section, where sometimes people ask for a post in their thread requesting a PM for their name. Being only viewable by registered members, the need for posting then would be unneeded.

Support in this getting put back, hopefully the exploits involved with what happened last time can be overcome.
 
Sythe Awards 2009 Winner
It's possible to do it with just CSS, preventing the need for JS. All you have to do is throw on a pound sign to the show spoiler link, the only thing is it would have to refresh the page. Not too much of a loss for the removal of exploitation. You could kind of exploit it, but it would only lead back to Sythe regardless.

Also, if you program in enough clauses, such as a validation for the show hash, you could restrict to only showing a valid spoiler.

Basically, the user would click the show link, the page would reload, go to the post which has the spoiler they want to view, php would then parse the link's hash to load the style for that spoiler.

It's a little more complicated, but pretty safe.

Good point, but is a single spoiler tag worth a page refresh? I don't think we should implement it unless we can do so with JavaScript without risking obvious exploits.
 
Again, if they can be implemented without the risk of people exploiting them, then I support them being added. They will be a very nice feature.
 
Live Streamer
SytheSteamer
Oktoberfest 2013
UWotM8?
Halloween 2013
St. Patrick's Day 2013
DIAF
Extreme Homosex
Gohan has AIDS
Sythe RSPS Player
Re Opened.
 
Sythe Awards 2010 Winner
Sythe Awards 2012 Winner
Christmas 2015
Valentine's Day 2016
Easter 2016
MushyMuncher
Tier 1 Prizebox
Oh god please don't give people ideas....

I lol'd

I'd love to see Spoiler tags back. They can make things a little bit more fun for things like Signatures and the Spam Forum, but I'm sure they can be put to use in the market for professionalism stake.

I remember once upon a time we had a warning message that appeared when a member clicked a link that took them offsite. Could that be implemented with just links in Spoilers? Or not?
 
Two Factor Authentication User
Summer 2020
If we can work out a way to work around the exploits, it will be re-added :3

If this could be possible, I'd love for the spoiler tags to be re-implemented. I know they could greatly benefit the site. I would use them frequently for SytheMonthly, and they could be used for other things like market threads, OMM applications, etc.
 
Sythe Awards 2010 Winner
Sythe Awards 2012 Winner
Christmas 2015
Valentine's Day 2016
Easter 2016
MushyMuncher
Tier 1 Prizebox
I love spoiler tags. I have absolutely no clue why, my computer doesn't lag at all loading pictures.. I just really like how they look

They're also excellent for having a way to avert some restrictions on the forums. I.E the 650x350 signature space.
 
Sythe Awards 2009 Winner
It seems like everyone likes the idea, so it boils down to security. I'm not sure how the tags were exploited originally, so we're at a standstill. Unless someone in the know wants to clue us in (on here or by PM), maybe we could code it ourselves and try to exploit it.

Code:
<div>
     <div style="margin: 5px;"> 
          <span style="font-weight:bold; font-size:0.7em;">{option}</b></span> 
          <input value="Show" style="margin: 0px; padding: 0px; width: 45px; font-size: 10px;" onclick="if(this.parentNode.parentNode.getElementsByTagName('div')[1].getElementsByTagName('div')[0].style.display != 'inline') { this.parentNode.parentNode.getElementsByTagName('div')[1].getElementsByTagName('div')[0].style.display = 'inline'; this.innerText = ''; this.value = 'Hide'; } else { this.parentNode.parentNode.getElementsByTagName('div')[1].getElementsByTagName('div')[0].style.display = 'none'; this.innerText = ''; this.value='Show'; }" type="button">
     </div> 
     <div class="alt2" style="border: 1px inset; border-radius: 5px; padding: 6px;"> 
          <div class="spoiler" style="display: none;">
               {param}
          </div> 
     </div>
</div>

^ First effort. See any potential issues?
 
Sythe Awards 2010 Winner
Sythe Awards 2012 Winner
Christmas 2015
Valentine's Day 2016
Easter 2016
MushyMuncher
Tier 1 Prizebox
It seems like everyone likes the idea, so it boils down to security. I'm not sure how the tags were exploited originally, so we're at a standstill. Unless someone in the know wants to clue us in (on here or by PM), maybe we could code it ourselves and try to exploit it.

Code:
<div>
     <div style="margin: 5px;"> 
          <span style="font-weight:bold; font-size:0.7em;">{option}</b></span> 
          <input value="Show" style="margin: 0px; padding: 0px; width: 45px; font-size: 10px;" onclick="if(this.parentNode.parentNode.getElementsByTagName('div')[1].getElementsByTagName('div')[0].style.display != 'inline') { this.parentNode.parentNode.getElementsByTagName('div')[1].getElementsByTagName('div')[0].style.display = 'inline'; this.innerText = ''; this.value = 'Hide'; } else { this.parentNode.parentNode.getElementsByTagName('div')[1].getElementsByTagName('div')[0].style.display = 'none'; this.innerText = ''; this.value='Show'; }" type="button">
     </div> 
     <div class="alt2" style="border: 1px inset; border-radius: 5px; padding: 6px;"> 
          <div class="spoiler" style="display: none;">
               {param}
          </div> 
     </div>
</div>

^ First effort. See any potential issues?

I'm not sure if you missed it, but Matthew stated on the front page they were removed because links were being implemented to the spoilers sending members offsite.

It was malicious. People were sticking redirect tags in them and causing redirection off the site. It was a mess.
 
Sythe Awards 2010 Winner
Sythe Awards 2012 Winner
Christmas 2015
Valentine's Day 2016
Easter 2016
MushyMuncher
Tier 1 Prizebox
I meant that I'm not sure what method people were using to exploit them. Should've been more clear.

Oh, my apologies >_<

I would like to know how they could be any more or less malicious to quotes or any other link that can be placed in a post or signature.
 
Status
Not open for further replies.
duelarena.gg
Back
Top