Rep Backend Updated

Tools    





Howdy MoFos,

There's been a lot of discussion about the rep system as of late. I've been weighing a number of possibilities over the last couple weeks, and am entertaining some very serious notions of overhauling the system.

In the meantime, I've changed the way rep is registered. The system should appear to function in exactly the same way, but from a technical standpoint, it is much different, and far more efficient.

The old system utilized something called iFrames. In short, iFrames are little webpages embedded into other webpages. The thumbs up/thumbs down icons you're all familiar with were not, in fact, on the thread pages you saw them on; they were actually tiny little pages embedded in the thread page, designed to look seamless. The benefit of this was that the tiny little embedded page could register your choice and display the "Thanks!" message without having to reload the entire thread page.

Well, thanks to something called AJAX (Asynchronous JavaScript and XML), we've done away with the iFrames. Now, when you click the thumbs a JavaScript loads another page, registers the rep, and then returns the "Thanks!" message. It all looks more or less the same, but is far more efficient than having to embed a tiny page into every post.

This shouldn't change your experience much, except in that the load time of each page should be a bit better without the iFrames.

Just thought you'd all wanna know. Naturally, if you have any problems, please post them here.



Seams (pun intended) flawless.
__________________
“The gladdest moment in human life, methinks, is a departure into unknown lands.” – Sir Richard Burton



You ready? You look ready.
I love AJAX. It really has redefined the web.
__________________
"This is that human freedom, which all boast that they possess, and which consists solely in the fact, that men are conscious of their own desire, but are ignorant of the causes whereby that desire has been determined." -Baruch Spinoza



A system of cells interlinked
Adi has a good point. How dare you change things we can't see and won't possibly notice. The nerve of some people! Just for that, I am boycotting the site. But, I am doing in in such a way that I will be on the exact same amount of time I am on now, and I will still post and shout all day long. Still....boycotting the site...That'll show ya...

__________________
“Film can't just be a long line of bliss. There's something we all like about the human struggle.” ― David Lynch



I repped Yods twice
There's only one in the database. There might have been some glitch where it didn't register your rep right away, and therefore displayed the thumbs for you a second time (did you have multiple browser windows open, perhaps?).

The script that registers the rep checks for duplicates on a given post, so even if the "Thanks!" message isn't displayed by default (is it now, by the way?), it shouldn't register rep for a single user on a single post more than once.



I'll probably be sending you a PM later with a link that should help me track down the problem.

Meanwhile, is anyone else seeing the thumbs regardless of whether or not they've repped a post?



The People's Republic of Clogher
Good old Ajax, it shifts the most stubborn of stains...



And if anyone's thumbs have gone weird I'd suggest another viewing of Withnail & I for a solution. How's that for bringing things back to movies, eh?
__________________
"Critics are like eunuchs in a harem; they know how the Tatty 100 is done, they've seen it done every day, but they're unable to do it themselves." - Brendan Behan