By aelsharawi on Thursday, 28 August 2014
Replies 6
Likes 0
Views 1K
Votes 0
Hi ,

This is for general feedback from ES users, Hope that I got the best idea before submitting it to the feature request site:

The main Aim :is to show the most hot topics in the groups ,so that it can draw attention into that hot topic

What is the best describe a module that displays the latest "active" discussions on easy social groups,

Will it be useful ? or it would confuse with ES stream.

thanks
looks like everyone is busy with the 1.3 beta for now
·
Saturday, 30 August 2014 05:28
·
0 Likes
·
0 Votes
·
0 Comments
·
Hello,

Hm, sorry we might have missed this thread I guess, it should be called popular discussions module?
·
Sunday, 31 August 2014 23:03
·
0 Likes
·
0 Votes
·
0 Comments
·
Hi there, I believe we already created a module for this (though a hard coded one) if you want to share the expense i'll be very happy to share it with you. I have paid my dev to create this and if you're willing to shell out $30 (you can then share the code with anyone just like we did on the thread with @everyone ).
Ken
·
Monday, 01 September 2014 01:42
·
0 Likes
·
0 Votes
·
0 Comments
·
Anyway, here's the query just in case you want to create your own module


SELECT
COUNT(*) as counter,
#_social_stream.id,
#_social_stream.actor_id,
#_social_stream.alias,
#_social_stream.actor_type,
#_social_stream.created,
#_social_stream.modified,
#_social_stream.edited,
#_social_stream.title,
#_social_stream.content,
#_social_stream.context_type,
#_social_likes.id,
#_social_likes.type,
#_social_likes.uid,
#_social_likes.stream_id,
#_social_likes.created_by,
#_social_likes.created
FROM
#_social_stream
LEFT JOIN #_social_likes ON #_social_likes.stream_id = #_social_stream.id
WHERE
#_social_stream.created > DATE_SUB( NOW(), INTERVAL 168 HOUR)
GROUP BY
#_social_stream.id
ORDER BY
counter DESC
LIMIT 5



it will show the most liked (just change some of the lines to see the most commented). Also, just create some class for it to make it look like the default view list
Ken
·
Monday, 01 September 2014 02:09
·
0 Likes
·
0 Votes
·
0 Comments
·
Thanks everyone for sharing
·
Monday, 01 September 2014 09:51
·
0 Likes
·
0 Votes
·
0 Comments
·
Thanks for sharing Ken
·
Monday, 01 September 2014 11:04
·
0 Likes
·
0 Votes
·
0 Comments
·
View Full Post