Invision Community 4: SEO, prepare for v5 and dormant account notifications Matt November 11, 2024Nov 11
February 25, 20178 yr how does this think count who has the hottest topic? is it by likes on the topic or views or replies? If its by likes... ill buy it.
February 25, 20178 yr Author 1 hour ago, ResPecT My Authoritah said: how does this think count who has the hottest topic? is it by likes on the topic or views or replies? If its by likes... ill buy it. It is based on replies.
February 25, 20178 yr 58 minutes ago, Petja said: It is based on replies. Can you add an option for most likes? I have a contest every month that whoever has the most liked topic at the end of the month wins
February 25, 20178 yr Author 8 hours ago, ResPecT My Authoritah said: Can you add an option for most likes? I have a contest every month that whoever has the most liked topic at the end of the month wins That is something that is best developed as an apart plugin. I can develop it for you if you are willing it to fund its developement.
February 25, 20178 yr 2 hours ago, Petja said: That is something that is best developed as an apart plugin. I can develop it for you if you are willing it to fund its developement. What would somthing like that cost me?
February 26, 20178 yr Author 13 hours ago, ResPecT My Authoritah said: What would somthing like that cost me? I think that this is something best dscussed in private.
February 26, 20178 yr I've created such a plugin a while ago, just pushed it up now on github and put it back on my dev server:https://github.com/Grief-Code/IPS-Widget-TopLikeOfMonth However, it is not even configureable, only the amount of topics. maybe this can help already to decrease develope times or it would be already enough. Monthly Most Liked Topic.xml
February 27, 20178 yr 15 hours ago, GriefCode said: I've created such a plugin a while ago, just pushed it up now on github and put it back on my dev server:https://github.com/Grief-Code/IPS-Widget-TopLikeOfMonth However, it is not even configureable, only the amount of topics. maybe this can help already to decrease develope times or it would be already enough. Monthly Most Liked Topic.xml I dont understand so is this a plugin? 18 hours ago, Petja said: I think that this is something best dscussed in private. pm me yea?
February 27, 20178 yr 1 hour ago, ResPecT My Authoritah said: I dont understand so is this a plugin? Yes. It is a widget block and displays the most liked topics for this month. Its just a simple thing nothing configureable.
February 27, 20178 yr 21 minutes ago, GriefCode said: Yes. It is a widget block and displays the most liked topics for this month. Its just a simple thing nothing configureable. does it add the most liked topic?
February 27, 20178 yr I hope you don't mind to get some feedback for the GitHub code..;) 1. You should mention that it will include ALL topics;) It will even show hidden/soft deleted topics and also topics from forums which the user is probably not allowed to see. 2. You should add the app and type to the query because the core_reputation_index table can have more then a row with the same item_id ( e.g. topic 1 and blog entry 1 will both have the same item_id in the core_reputation_index table 'likes' => \IPS\Db::i()->select('COUNT(id)', 'core_reputation_index', ['item_id=?', $_dbTopic])->first()
February 27, 20178 yr Just now, Daniel F said: I hope you don't mind to get some feedback for the GitHub code..;) 1. You should mention that it will include ALL topics;) It will even show hidden/soft deleted topics and also topics from forums which the user is probably not allowed to see. 2. You should add the app and type to the query because the core_reputation_index table can have more then a row with the same item_id ( e.g. topic 1 and blog entry 1 will both have the same item_id in the core_reputation_index table 'likes' => \IPS\Db::i()->select('COUNT(id)', 'core_reputation_index', ['item_id=?', $_dbTopic])->first() I'm prefectly fine with feedback. This is also a reason why i keep it open source, everyone can add feedback and help me to enhance any code as I'm not to familair with the IPS Framework yet. But im starting to like it a lot. I will update the code in some minutes, thanks for your input.
February 27, 20178 yr 2 hours ago, Daniel F said: I hope you don't mind to get some feedback for the GitHub code..;) 1. You should mention that it will include ALL topics;) It will even show hidden/soft deleted topics and also topics from forums which the user is probably not allowed to see. 2. You should add the app and type to the query because the core_reputation_index table can have more then a row with the same item_id ( e.g. topic 1 and blog entry 1 will both have the same item_id in the core_reputation_index table 'likes' => \IPS\Db::i()->select('COUNT(id)', 'core_reputation_index', ['item_id=?', $_dbTopic])->first() Thanks again for your suggestions, I have added a check to take care on forums and also added the check for the app. However, sorry @Petja for falling into your topic. I will stay outside now.
February 27, 20178 yr Author 1 hour ago, GriefCode said: Thanks again for your suggestions, I have added a check to take care on forums and also added the check for the app. However, sorry @Petja for falling into your topic. I will stay outside now. No problem sir.
February 27, 20178 yr Author 12 hours ago, ResPecT My Authoritah said: pm me yea? I just sent you a pm sir.
Archived
This topic is now archived and is closed to further replies.