Hottest Topics

Overlord Nadrian

Banned!
Banned
Joined
Jul 28, 2008
Messages
6,647
Trophies
0
Age
30
Location
Riviera
XP
158
Country
Belgium
The layout of the homepage would get messed up (well, at least with the new layout).

Damn typos
ohnoes.png
 

tj_cool

Site dev
Supervisor
Joined
Jan 7, 2009
Messages
10,064
Trophies
2
Location
This planet
XP
3,108
Country
Belgium
I think that's quite bad for the server and probably hard to code

I mean, the latest topics thing is easy: every time someone posts it can be added in the latest discussions. But if you're going to base on Viewers, it'd have to search each topic to see how many viewers there are and then sort them (which probably takes a while)
 

Overlord Nadrian

Banned!
Banned
Joined
Jul 28, 2008
Messages
6,647
Trophies
0
Age
30
Location
Riviera
XP
158
Country
Belgium
tj_cool said:
I mean, the latest topics thing is easy: every time someone posts it can be added in the latest discussions. But if you're going to base on Viewers, it'd have to search each topic to see how many viewers there are and then sort them (which probably takes a while)
True. It would have to look through thousand and thousands of topics, and it would have to do that everytime someone refreshes the homepage, or that box, so it would put an incredible amount of pressure on the server.
 

ProtoKun7

GBAtemp Time Lord Regenerations: 4
Former Staff
Joined
Jan 3, 2009
Messages
7,525
Trophies
2
Location
Gallifrey
XP
1,361
Country
United Kingdom
And even with the shiny new server that the site got a few months back it still wouldn't be great.
wink.gif


Just think what it might've been like with the old system...
mellow.gif
 

Sterling

GBAtemp's Silver Hero
Member
Joined
Jan 22, 2009
Messages
4,023
Trophies
1
Age
33
Location
Texas
XP
1,110
Country
United States
Just so you all know, I know nothing of the way GBATemp is coded, etc. But just a thought: Try just keeping track of the posts being posted in a certain time frame. Most likely a time frame of it being in the mythical Hottest topics section. Which could be one post to put it there, but the more posts it gets the longer it stays there. Go with out posts, it gets put lower and lower on the list until *poof*.
 

Overlord Nadrian

Banned!
Banned
Joined
Jul 28, 2008
Messages
6,647
Trophies
0
Age
30
Location
Riviera
XP
158
Country
Belgium
Sterl500 said:
Just so you all know, I know nothing of the way GBATemp is coded, etc. But just a thought: Try just keeping track of the posts being posted in a certain time frame. Most likely a time frame of it being in the mythical Hottest topics section. Which could be one post to put it there, but the more posts it gets the longer it stays there. Go with out posts, it gets put lower and lower on the list until *poof*.
That basically comes down to the same thing as what tk_saturn suggested, so it won't work.
 

Sterling

GBAtemp's Silver Hero
Member
Joined
Jan 22, 2009
Messages
4,023
Trophies
1
Age
33
Location
Texas
XP
1,110
Country
United States
Overlord Nadrian said:
Sterl500 said:
Just so you all know, I know nothing of the way GBATemp is coded, etc. But just a thought: Try just keeping track of the posts being posted in a certain time frame. Most likely a time frame of it being in the mythical Hottest topics section. Which could be one post to put it there, but the more posts it gets the longer it stays there. Go with out posts, it gets put lower and lower on the list until *poof*.
That basically comes down to the same thing as what tk_saturn suggested, so it won't work.
Does it have to keep track of who posted it? Couldn't it be in some sort of counter (or counter equivalent), which is updated after something gets posted? Then gets checked at time intervals to see if the topic needs to be bumped on the list?
 

tk_saturn

Well-Known Member
OP
Member
Joined
Jan 26, 2010
Messages
3,325
Trophies
0
Website
Visit site
XP
55
Country
I don't see the point of basing it when something is posted, you already have the latest discussions.

Sometimes you can have tons of people reading a thread, but very few people posting. That's especially the case when people link to articles on here from other sites.

When you click on the "View New Posts", it does indicate "Hot Topics" but what makes those topics hot? I've seen topics with 1 or 2 readers which aren't hot, and those with tons of readers which aren't. It's presumably determining that over a timespan too, perhaps the Timespan needs shortening? and then you could just list the hot topics.
 

Overlord Nadrian

Banned!
Banned
Joined
Jul 28, 2008
Messages
6,647
Trophies
0
Age
30
Location
Riviera
XP
158
Country
Belgium
I'm guessing those topics are considered hot because they either quickly after posting got a bunch of readers, or got a bunch of posts in no time. Correct me if I'm wrong.

EDIT: Oh wait, I see what you mean, a topic is considered hot the moment it gets 19 replies.

You didn't see me do anything just now
ph34r.gif
 

tk_saturn

Well-Known Member
OP
Member
Joined
Jan 26, 2010
Messages
3,325
Trophies
0
Website
Visit site
XP
55
Country
I still don't see why it could be so difficult.

When someone views a post, you already have the number of people viewing a post at the bottom of the page. When someone views a post, add the number of people viewing it to a linked list etc along with the post type (blog, EOF etc) and time. Then when someone views the portal, just walk the list and display the top 10 posts underneath the ShopTemp banner. Every 10 minutes get the server to walk the list, if the time for each post in the list hasn't been updated in the last 10 minutes, delete that post from the list. Compared to the effort it takes the server to perform a search, parse unparse BBCode etc, I can't see it being much to the server.

Or they could use the Google Analytics, as they send you there every time you read a page anyway.
 

The Pi

Lurker
Member
Joined
Mar 18, 2010
Messages
1,637
Trophies
1
Location
Scotland
XP
410
Country
Sorry for the bump but I came across this thread and had a idea.

It would be less work on the server if rather than looking at every thread, it looked at every online user and then sorted out which users where looking at threads and then looked for the top 10 threads being read.
 

metamaster

Well-Known Member
Member
Joined
Mar 7, 2010
Messages
875
Trophies
0
XP
162
Country
Canada
Another way is if the site used the same system as google, a hit system. Would it be possible to implement? (maybe even by using google itself)
 

Site & Scene News

Popular threads in this forum

General chit-chat
Help Users
    BigOnYa @ BigOnYa: The third one ducked. +1