Welcome to the MacNN Forums.

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

You are here: MacNN Forums > Community > Feedback > Auto AJAX thread post appending

Auto AJAX thread post appending
Thread Tools
Clinically Insane
Join Date: Mar 2001
Location: yes
Status: Offline
Reply With Quote
Jan 28, 2009, 09:22 PM
 
Hello,

I don't know if a plug-in that does this exists yet, but if not what do you think about having an onload event handler attached to each thread that spawns an AJAX request every 5 minutes (or however often) to see if there are new posts, and then automatically appends these posts to the end of the thread you have loaded?

I'm sick of constantly refreshing pages, and I would bet that what I'm describing would help keep your loads down a little...
(Last edited by besson3c; Jan 28, 2009 at 09:40 PM. )
     
Clinically Insane
Join Date: Oct 2000
Location: Los Angeles
Status: Offline
Reply With Quote
Jan 29, 2009, 06:22 PM
 
Wouldn't that disturb and possibly erase the text written by people creating new posts?

Newt 2012-The Republican Revolution Returns!
     
Clinically Insane
Join Date: Mar 2001
Location: yes
Status: Offline
Reply With Quote
Jan 29, 2009, 08:46 PM
 
Nope. Each post has an auto-incrementing unique ID that is assigned when the database table is written to. There won't be any conflicts.
     
zro
Mac Elite
Join Date: Nov 2003
Location: The back of the room
Status: Offline
Reply With Quote
Jan 29, 2009, 10:03 PM
 
Originally Posted by besson3c View Post
I'm sick of constantly refreshing pages, and I would bet that what I'm describing would help keep your loads down a little...
Then stop constantly refreshing pages. Dilemma solved.

Although there are plug-ins for other BBS packages that will interrupt a post to show you any others that were made after the last post you saw. Kinda handy, but (I think) more so for those who like to argue a lot.
     
Clinically Insane
Join Date: Mar 2001
Location: yes
Status: Offline
Reply With Quote
Jan 29, 2009, 10:17 PM
 
Well, I like to argue a lot, you're wrong.
     
zro
Mac Elite
Join Date: Nov 2003
Location: The back of the room
Status: Offline
Reply With Quote
Jan 30, 2009, 01:57 AM
 
I'm not the only one seeing this, am I?


edit: You could have taken this one, too! Now I sound like a lunatic.
(Last edited by zro; Jan 30, 2009 at 08:32 AM. )
     
Professional Poster
Join Date: Mar 2002
Location: Boston
Status: Offline
Reply With Quote
Jan 30, 2009, 08:26 AM
 
I think this type of plug-in offers no benefits and more headaches. While I may go through spurts of activity, I don't see a need to have the browser refresh every 5 minutes to see a new post. If I needed to post every 5 minutes then I'd say I have a problem with the forum taking over my life and I'd need to walk away.

besson, if you need to to see activity that much and are addicted to the forum, its a simple process of clicking the refresh button as opposed adding more complexity to the forum and possibly impacting the stability which at times is already shaky. Besides this request smacks of insincerity, i.e., just asking something to generate a debate/argument.
~Mike
     
Posting Junkie
Join Date: Nov 2000
Location: in front of my Mac
Status: Offline
Reply With Quote
Jan 30, 2009, 08:55 AM
 
There's email notification. No need for any extras.
     
Addicted to MacNN
Join Date: Apr 2007
Location: Iowa
Status: Offline
Reply With Quote
Jan 30, 2009, 09:17 AM
 
Originally Posted by Maflynn View Post
I think this type of plug-in offers no benefits and more headaches. While I may go through spurts of activity, I don't see a need to have the browser refresh every 5 minutes to see a new post. If I needed to post every 5 minutes then I'd say I have a problem with the forum taking over my life and I'd need to walk away.

besson, if you need to to see activity that much and are addicted to the forum, its a simple process of clicking the refresh button as opposed adding more complexity to the forum and possibly impacting the stability which at times is already shaky. Besides this request smacks of insincerity, i.e., just asking something to generate a debate/argument.
You're missing the point. Say you're typing up a post in the quick-reply box. It's well thought-out, concise, and beautiful. You hit the "submit" button, only to suddenly see that in the time you were typing that reply, four other people posted, and now your post just looks dumb.

Or maybe you're reading the last page of a super long thread. Many of the posts are rather lengthy, so it takes a while. You get to the end and want to type a quick reply, except when you submit, you find you've missed 14 posts and the thread is about a different topic entirely.

Gmail has this sort of feature, I believe. If a conversation is open, and I'm replying to it, it lets me know if someone has replied and asks if I'd like to see it, all using AJAX.

"Specific knowledge on a topic usually demonstrates in-depth knowledge."
     
Clinically Insane
Join Date: Jul 2005
Location: Vacation.
Status: Offline
Reply With Quote
Jan 30, 2009, 10:28 AM
 
Originally Posted by Laminar View Post
You're missing the point. Say you're typing up a post in the quick-reply box. It's well thought-out, concise, and beautiful. You hit the "submit" button, only to suddenly see that in the time you were typing that reply, four other people posted, and now your post just looks dumb.

Or maybe you're reading the last page of a super long thread. Many of the posts are rather lengthy, so it takes a while. You get to the end and want to type a quick reply, except when you submit, you find you've missed 14 posts and the thread is about a different topic entirely.
Easy. Don't use the quick reply if you're responding to someone else's post - actually quote the post you're responding to.

This ain't IRC.

Oh, and think of the poor hampstor. He's already run off his feet - auto refresh would kill him.
Been inclined to wander... off the beaten track.
That's where there's thunder... and the wind shouts back.
     
Addicted to MacNN
Join Date: Apr 2007
Location: Iowa
Status: Offline
Reply With Quote
Jan 30, 2009, 10:30 AM
 
Originally Posted by Doofy View Post
Easy. Don't use the quick reply if you're responding to someone else's post - actually quote the post you're responding to.
Okay, so what happens when 12 people post while you take 20 minutes to write a long-winded reply to a specific portion you're quoting? Not so easy.

"Specific knowledge on a topic usually demonstrates in-depth knowledge."
     
Clinically Insane
Join Date: Jul 2005
Location: Vacation.
Status: Offline
Reply With Quote
Jan 30, 2009, 10:37 AM
 
Originally Posted by Laminar View Post
Okay, so what happens when 12 people post while you take 20 minutes to write a long-winded reply to a specific portion you're quoting? Not so easy.
Well since your long-winded reply is directly replying to whoever it is you're quoting, any other posts after that don't matter. If you feel the need to reply to one of those 12 new posts then you hit quote and reply to that.
Been inclined to wander... off the beaten track.
That's where there's thunder... and the wind shouts back.
     
Clinically Insane
Join Date: Mar 2001
Location: yes
Status: Offline
Reply With Quote
Jan 30, 2009, 10:37 AM
 
Originally Posted by Doofy View Post
Easy. Don't use the quick reply if you're responding to someone else's post - actually quote the post you're responding to.

This ain't IRC.

Oh, and think of the poor hampstor. He's already run off his feet - auto refresh would kill him.

Actually, the quick DB check and injection of the new posts is lighter than having several people refresh the entire page in their browsers. Of course, this is thrown out the window if people *still* manually refresh their browser, but perhaps after we get used to it this will minimize that.

Simon: email is not real-time and never can be counted on to be so. It is nearly pointless for an active back-and-forth conversation. It is best suited for keeping track of which threads have received responses after you walk away from your computer for a while.
     
Posting Junkie
Join Date: Nov 2000
Location: in front of my Mac
Status: Offline
Reply With Quote
Jan 30, 2009, 11:07 AM
 
Well this isn't IRC and I don't want to see it become that either. So anything that isn't perfectly real-time is just right IMHO. IOW the current solution.

If you quote a post and write an intelligent reply it will not become invalid just because somebody else replied in between. And if your post is moot just because somebody else replied before you, chances are your post wasn't worth that much in the first place.
     
Clinically Insane
Join Date: Jul 2005
Location: Vacation.
Status: Offline
Reply With Quote
Jan 30, 2009, 11:14 AM
 
Originally Posted by besson3c View Post
Actually, the quick DB check and injection of the new posts is lighter than having several people refresh the entire page in their browsers.
Sorry but I don't see how having the new posts refresh all the time for all members is lighter than having a very few people who refresh the entire page every few minutes.
Been inclined to wander... off the beaten track.
That's where there's thunder... and the wind shouts back.
     
Clinically Insane
Join Date: Mar 2001
Location: yes
Status: Offline
Reply With Quote
Jan 30, 2009, 11:23 AM
 
Originally Posted by Doofy View Post
Sorry but I don't see how having the new posts refresh all the time for all members is lighter than having a very few people who refresh the entire page every few minutes.
It depends on how many people are refreshing pages constantly. We could test how this scales by implementing this where there is a checkbox for each thread that is disabled by default, and where checking it triggers the auto-updates.

I'd be willing to bet that with events such as big Mac announcements and Abe's epic threads, a *lot* of page refreshing goes on.
     
Banned
Join Date: Jun 2005
Location: Indy.
Status: Offline
Reply With Quote
Jan 30, 2009, 09:21 PM
 
I just want to go on record as stating that I am NOT one of those goofy "page refreshers".
     
Moderator
Join Date: Jan 2001
Location: Polwaristan
Status: Offline
Reply With Quote
Jan 30, 2009, 10:47 PM
 
I suppose you could create an Automator action to run every five minutes to open this 'file' (drag the link to your Mac):

http://forums.macnn.com/search.php?do=getnew

Personally I keep it in the Dock and just click it whenever I want.
     
Posting Junkie
Join Date: Nov 2000
Location: in front of my Mac
Status: Offline
Reply With Quote
Jan 31, 2009, 03:09 AM
 
Originally Posted by Cold Warrior View Post
Sure that's that the same list you get when you go to your User CP. It's a big fat link right up there. Has been there for as long as I can remember. No need for any auto-refreshing.
     
Clinically Insane
Join Date: Nov 1999
Location: Where Airbus babies hatch
Status: Offline
Reply With Quote
Jan 31, 2009, 06:15 AM
 
Originally Posted by Doofy View Post
Easy. Don't use the quick reply if you're responding to someone else's post - actually quote the post you're responding to.

This ain't IRC.
SO RITE lol

poop

omfg split milk on kbd brb
     
Banned
Join Date: Jun 2005
Location: Indy.
Status: Offline
Reply With Quote
Jan 31, 2009, 09:50 AM
 
k thx by
     
Clinically Insane
Join Date: Nov 1999
Location: Where Airbus babies hatch
Status: Offline
Reply With Quote
Jan 31, 2009, 09:59 AM
 
lol!
     
Clinically Insane
Join Date: Oct 2000
Location: Los Angeles
Status: Offline
Reply With Quote
Jan 31, 2009, 10:37 PM
 
Originally Posted by besson3c View Post
I'd be willing to bet that with events such as big Mac announcements and Abe's epic threads, a *lot* of page refreshing goes on.
I didn't know I was credited with having such an impact around here.

Newt 2012-The Republican Revolution Returns!
     
   
Thread Tools
Forum Links
Forum Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Top
Privacy Policy
All times are GMT -5. The time now is 09:47 AM.
All contents of these forums © 1995-2011 MacNN. All rights reserved.
Branding + Design: www.gesamtbild.com
vBulletin v.3.8.7 © 2000-2011, Jelsoft Enterprises Ltd., Content Relevant URLs by vBSEO 3.3.2