return to tranceaddict TranceAddict Forums Archive > Main Forums > Chill Out Room

 
Refresh script for TA
View this Thread in Original format
Subey
I wrote a Firefox script in PHP for TA. Basically it frees you from hitting the refresh button but there are a couple of other features.

How it works:
In the background it will automatically request an update from the server based on an interval of time you set. The variable is stored in seconds so if you put 60 in there it will do its update once a minute.

What it looks like:
The colour of a thread will change everytime it gets a new reply since you last read it. Becoming brighter and brighter with each reply. It maxes with a bright blue colour at 20+ replies.

Quote Feature:
If a reply quotes something you wrote then a purple "*" will be superimposed on the thread title to draw your attention to it.

Key Word Feature:
You can associate up to 15 key words with 15 colours. So say you assign the word "Josh4" with "Pink" then anytime the word "Josh4" appears in a thread it will become pink to help draw your attention to it.

There's still a couple of bugs I have to work out (it's already over 800 lines of code) but once I finish it i'll make it available to whoever wants a copy.
Zenchowdah
cool! swamper may be pissed, though, if everyone were demanding content every 15 seconds.
Subey
quote:
Originally posted by Zenchowdah
cool! swamper may be pissed, though, if everyone were demanding content every 15 seconds.


I made it up in the hopes that someone who could create it would :toothless
Ivand
you're such a geek, but you love TA, that's good.. now where is the link?
Subey
quote:
Originally posted by Ivand
you're such a geek, but you love TA, that's good.. now where is the link?


Alas it doesn't exist. But if it did those are the features i'd want :D
Akridrot
My first thought when reading this: RSS

Sounds like someone's re-inventing the wheel... Why auto-refresh every 60 seconds or any interval of time? Subscribing to the forum and using the notifications to alert you of new topics/posts would make more sense than randomly refreshing.

Instead of asking the server for updates, let the server give them to you when they're really there. All of what you proposed isn't hard or new.
Subey
quote:
Originally posted by Akridrot
My first thought when reading this: RSS

Sounds like someone's re-inventing the wheel... Why auto-refresh every 60 seconds or any interval of time? Subscribing to the forum and using the notifications to alert you of new topics/posts would make more sense than randomly refreshing.

Instead of asking the server for updates, let the server give them to you when they're really there. All of what you proposed isn't hard or new.


Cause my background in programming is all about 8bit joysticks. Poll the joystick... poll the joystick. I can't escape that paradigm
Akridrot
quote:
Originally posted by Subey
Cause my background in programming is all about 8bit joysticks. Poll the joystick... poll the joystick. I can't escape that paradigm


Even so, you do think like one. You'd make a great programmer. Try it some time, you might fall in love with it.

Start with Ruby or Python and move up from there.
Deeedeee
quote:
Originally posted by Subey
I wrote a Firefox script in PHP for TA. Basically it frees you from hitting the refresh button but there are a couple of other features.

How it works:
In the background it will automatically request an update from the server based on an interval of time you set. The variable is stored in seconds so if you put 60 in there it will do its update once a minute.

What it looks like:
The colour of a thread will change everytime it gets a new reply since you last read it. Becoming brighter and brighter with each reply. It maxes with a bright blue colour at 20+ replies.

Quote Feature:
If a reply quotes something you wrote then a purple "*" will be superimposed on the thread title to draw your attention to it.

Key Word Feature:
You can associate up to 15 key words with 15 colours. So say you assign the word "Josh4" with "Pink" then anytime the word "Josh4" appears in a thread it will become pink to help draw your attention to it.

There's still a couple of bugs I have to work out (it's already over 800 lines of code) but once I finish it i'll make it available to whoever wants a copy.


Hey, thanks yeah. I'd love to be olive.
Subey
quote:
Originally posted by Deeedeee
Hey, thanks yeah. I'd love to be olive.


I'll bite! what does "be olive" translate to?

Masonious
quote:
Originally posted by Subey
I'll bite! what does "be olive" translate to?


I'm guessing that's a reference to:

quote:


Key Word Feature:
You can associate up to 15 key words with 15 colours. So say you assign the word "Josh4" with "Pink" then anytime the word "Josh4" appears in a thread it will become pink to help draw your attention to it.

Deeedeee
Huh? When you're scrolling down the pages of the COR, I want you to see me in olive, a little something like.. but with a tint of more lime-ish.
CLICK TO RETURN TO TOP OF PAGE
 
Privacy Statement