PDA

View Full Version : Thread Subscription Via Popup


TWTCommish
03-22-2002, 10:00 PM
Ok, this is something I've found fairly handy. I've never been too fond of the fact that, to subscribe to a thread, you've got to let the "Thank You" page load, and then have the thread page load over again. The thread page, I think, shouldn't be touched. So, I wrote this hack.

What's it do, specifically?
Two things. For one, it makes use of Logician's idea/hack to have the "Subscribe to this Thread" link changed to "Unsubscribe from this Thread" if the user is already subscribed to it. In addition, it turns the link from a normal link, into a link that triggers a popup window, which will subscribe, or unsubscribe you. Just one tiny page...a simple message (2 words long) letting them know that the action has been successful, and then a link to close the window. The thread page doesn't have to reload or anything. A real time-saver, IMO.

Here are the instructions. I've installed this on my own board, but I haven't run through my own instructions with any test board, so please let me know right away if you find any bugs.

TWTCommish
03-23-2002, 03:57 PM
Here's a simple screenshot of how the popup looks on my board.

Jawelin
03-23-2002, 09:06 PM
Very very nice.
What about addind a self.close() after a reasonable timeout (for example, like the redirect page...) ?

Thanks

TWTCommish
03-23-2002, 10:33 PM
I'm no JS whiz, but I might be able to give it a try later (exhausted right now!). :)

IIJupitersII
03-23-2002, 11:24 PM
thats very sweet, thanks!

DelusionalMind
05-24-2002, 07:04 AM
will be installing in the morning/afternoon. Thanks!