• This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn more.

Add-on Trending Threads / Topics addon

Stuart Wright

Well-known member
#1
Trending topics is a feature I see on a lot of websites. It feels like it should absolutely be on Xenforo.
How about a Trending Threads link next to Watched Threads in the Forums menu?
It would open a paginated list of the trending topics.
How about a Trending Threads sidebar block? Shows the top n trending topics and links through to the trending topics page?

What's a trending topic? So how do we define the popularity of threads?
I suggest it has to be a calculation based on the number of views and/or the number of replies divided by the age of the thread. There are probably some people on Xenforo who already have a tried and trusted method of deciding this.

So I'm looking for quotes for a trending topics system, please. Specification to be decided here with input from other members with the intention to freely release or sell the addon depending upon its cost to us.
Thanks
 

Brogan

XenForo moderator
Staff member
#2
Hmm, I've been looking for a new project to take on.

The trending criteria would just be an extension of the automatic featuring code I use for my featured threads add-on.
It would be set in the ACP on an options page so would be specific to each site.

upload_2014-11-10_12-28-59.png
 

Stuart Wright

Well-known member
#3
Yeah, it sounds like a natural extension to Featured threads, Paul. Although I do think that we specifically need a list of trending threads. Which is effectively sorting them by the trending calculation of (replies +/or views) / minutes since thread creation.
So adding in the above criteria, I'd probably want to make it so that the thread is recent - replied to in the last day, plus the trending criteria.
Since replies are a lot more important than views, I'd be tempted to start off by just using that and seeing how it goes.
So sort the threads by (# replies / #minutes since creation).

You'd already have the ability to pick what forums to take the trending threads from, which I think is important.

I do think it's important to be able to have the Trending topics link in a reasonably prominent place on the forum.
 

Brogan

XenForo moderator
Staff member
#4
I would agree with that.

I doubt a "can view trending threads" permission would be required.
I can't really think of a reason why you would want to prevent guests or other users from being able to view them.
 

Stuart Wright

Well-known member
#5
On the contrary, showing that the site has trending threads will send a message that your site has traffic. It's all good showing trending topics to guests. Possibly the best reason for it.
Particularly if the threads are from a variety of different forums showing the diversity of the site.
 

Stuart Wright

Well-known member
#8
Luke's Best Post System is more about finding which posts have got the most likes and highlighting those individually.
To me, it's different to highlighting which are the trending threads. Although incorporating the total number of likes (or positive ratings) for a thread might not be a bad idea. It might make the ORDER BY element of the query a bit heavier on the servers, though.
 

Stuart Wright

Well-known member
#11
We're near implementing bd widget framework on every page. This will require some useful sidebar widgets like trending topics. Can I request the consideration of a bd widget for trending threads please?