Are you, in fact, a pregnant lady who lives in the apartment next door to Superdeath's parents? - Commodore

Create an account  

 
Greasemonkey script to avoid spoiler threads

Yeah, I agree with those priorities. As long as it's noted on a future wishlist. smile
If you know what I mean.
Reply

Alright, the script is now updated. Just click the link in the first post to reinstall it, and it should work. Looks like it's working with all of the currently installed themes.

I hijacked the second table column in forum displays, which previously contained just a non-breaking space. So whatever that column is really supposed to be used for (hopefully nothing) will suffer. smile
If you know what I mean.
Reply

I think that's the "post icon" for the first post. Most people don't use post icons, but there will definitely be some threads with them...

How exactly are you hijacking it? Getting rid of its contents and then replacing it with the check/x? That would be fine IMO.
Reply

Yeah, that's what I'm doing.
If you know what I mean.
Reply

Tested this newest version with Opera 12 and it seems to function just fine so far...

EDIT: Persists through browser restart, doesn't get confused on other pages or anything, so no apparent issues. Huzzah! :D
Now if you want further badass status, see if you can get it to also block preview text whenever searching for someone's posts and they happen to have posts in a thread you've blocked. wink
Participant in:
PBEM45, "Greens" Division (Sury of Carthage)
RB Demogame 1 pirate
Reply

I'm having trouble with the checkmarks / xes showing up on any of the 3 skins that are available
Reply

What would REALLY give you badass status zakalwe is if you made another script that converts lol and such to the old smilies. wink
Reply

(October 22nd, 2012, 13:15)NobleHelium Wrote: What would REALLY give you badass status zakalwe is if you made another script that converts lol and such to the old smilies. wink

Oh, that sounds like it would be relatively easy. Make up a biiiiig hashtable of "[text] or [image]" -> "[new smiley]" and then search-and-replace. :D

That said, it'd probably make much more sense for KoP to just do it himself when the time becomes available. The forum software doesn't provide thread blocking, but it does provide smileys, so that gets rid of the bigger motivators for this script's existence.

(Honestly, I'd offer to help maintain patches to the forum code to handle that sort of thing, but I'm new enough here that there's no insurance against my sudden abrupt disappearance, so while I could say it and I'd mean it, doing so would be ostensibly disingenuous. What I'd really love to see implemented, for example, is a means of mapping old forum URLs to the new forum...)
Participant in:
PBEM45, "Greens" Division (Sury of Carthage)
RB Demogame 1 pirate
Reply

I don't see how you could feasibly map old forum URLs to the new forum. They broke not just because of the slightly different URL format (using a "tid" parameter instead of "t") but because when the import was done, IDs were not imported (they were just imported as newly inserted posts from what I can gather - they did it this way so that you could import to a forum with existing posts, I imagine). As soon as the posts got to a point where a post was deleted and thus an ID was skipped, ID drift occurred and all subsequent IDs were then off. That's why there were erroneous "last post" indicators for the older forums, where the amount of drift was not larger than the number of posts in the forum, but no visible last posts for the later forums. My earlier guess of it being probabilistic didn't make sense once I thought about it further.
Reply

(October 22nd, 2012, 14:30)NobleHelium Wrote: I don't see how you could feasibly map old forum URLs to the new forum. They broke not just because of the slightly different URL format (using a "tid" parameter instead of "t") but because when the import was done, IDs were not imported (they were just imported as newly inserted posts from what I can gather - they did it this way so that you could import to a forum with existing posts, I imagine). As soon as the posts got to a point where a post was deleted and thus an ID was skipped, ID drift occurred and all subsequent IDs were then off. That's why there were erroneous "last post" indicators for the older forums, where the amount of drift was not larger than the number of posts in the forum, but no visible last posts for the later forums. My earlier guess of it being probabilistic didn't make sense once I thought about it further.

I wouldn't be so concerned about post IDs as I am about thread IDs, really. Post IDs are unsalvagable. Thread IDs is at least within the bounds of possibility. I think. [Image: dunno.gif]
Participant in:
PBEM45, "Greens" Division (Sury of Carthage)
RB Demogame 1 pirate
Reply



Forum Jump: