ElkArte Community

Project Support => Support => Topic started by: niloc on June 16, 2021, 11:46:40 pm

Title: Is there an add-on for reddit style sub comments/replies?
Post by: niloc on June 16, 2021, 11:46:40 pm
If you're not sure what I'm saying, I mean replying to a post or comment, ala reddit / Facebook.

Do we currently have such an add on? Cause I can't seem to find it.

If we don't have one, how difficult is it for a novice programmer to make one, and what would the general architecture be like?

Thanks!  ;D
Title: Re: Is there an add-on for reddit style sub comments/replies?
Post by: Spuds on June 17, 2021, 09:05:50 am
None that I am aware of
Title: Re: Is there an add-on for reddit style sub comments/replies?
Post by: ahrasis on June 17, 2021, 11:33:52 am
Those could be made as addon or theme or both.

I did one addon that move quick reply box as part of the post.
Title: Re: Is there an add-on for reddit style sub comments/replies?
Post by: Arantor on June 17, 2021, 02:09:48 pm
Not only that, but it's a feature that used to be in the various other packages (vBulletin used to have it, IPB used to have it, MyBB used to have it) and they all got rid of it because no matter what they did, it confused users and made the site run slower than otherwise.

I get the appeal of Reddit but it is a horrible user interface in my opinion.

@ahrasis it's not just a case of moving the QR box though, you need to start tracking where a reply is to (so potentially, every individual post could have its own reply box), and managing that tree of posts, and then displaying it. Not sure a theme can do that because it would require loading different post data to keep track of the tree.
Title: Re: Is there an add-on for reddit style sub comments/replies?
Post by: Spuds on June 17, 2021, 04:45:32 pm
Quote from: Arantor – I get the appeal of Reddit but it is a horrible user interface in my opinion.
I have to 2nd this, I really dislike that interface.  I know its popular with some folks, but simply it did not click on for me.
Title: Re: Is there an add-on for reddit style sub comments/replies?
Post by: ahrasis on June 18, 2021, 12:11:31 am
Quote from: Arantor –
@ahrasis it's not just a case of moving the QR box though, you need to start tracking where a reply is to (so potentially, every individual post could have its own reply box), and managing that tree of posts, and then displaying it. Not sure a theme can do that because it would require loading different post data to keep track of the tree.
I know some of your thoughts and styles so I understand and no further comments on that.
Title: Re: Is there an add-on for reddit style sub comments/replies?
Post by: emanuele on June 20, 2021, 07:10:57 am
A theme [1] could only do a kind of "fake" threads by for example automatically quoting the original message during the quick reply next to the post.
Anything more that that would require, as Arantor pointed out, a database table to keep track of which is the parent post of each post. There is no way around this.
assuming you mean a theme in the "coding related to style" point of view, of course if you mean "themes are php files I can do whatever I want, that's another story
Title: Re: Is there an add-on for reddit style sub comments/replies?
Post by: ahrasis on June 20, 2021, 08:11:04 am
What I mean by theme? I am not the one opening this thread who ask about an addon. I was merely replying. I don't blamed the poster but why suddenly I am under attack again?
Title: Re: Is there an add-on for reddit style sub comments/replies?
Post by: Arantor on June 20, 2021, 08:26:31 am
Well, you said it could be part of a theme, I said I wasn't sure it could, then others followed up with more detail. That's not an attack.
Title: Re: Is there an add-on for reddit style sub comments/replies?
Post by: Steeley on June 20, 2021, 12:30:42 pm
Just think... if this was an IRC-type chat (https://www.elkarte.net/community/index.php?topic=129.msg42759#msg42759), it would only have taken a minute to come to a heated/defensive misunderstanding instead of 4 days..  ;D
Title: Re: Is there an add-on for reddit style sub comments/replies?
Post by: emanuele on June 20, 2021, 04:29:11 pm
Quote from: ahrasis – What I mean by theme? I am not the one opening this thread who ask about an addon. I was merely replying. I don't blamed the poster but why suddenly I am under attack again?
I don't think I attacked anyone, I just replied as politely as I think I always try to do (at least that was my intention).
TBH while writing about themes I was thinking about Bloc (let me say "I understood he has that view, but I may be wrong", just in case he comes up and says he doesn't think that way) that prefer the approach where themes are basically php and you can do whatever you want with them, while I tend to think themes should be less php, but I didn't go that much further into thinking.

Oh well, these days weather it's hot here around, I guess misunderstandings are inevitable.
/me waves
Title: Re: Is there an add-on for reddit style sub comments/replies?
Post by: Spuds on June 20, 2021, 05:36:58 pm
Quote from: Steeley – Just think... if this was an IRC-type chat (https://www.elkarte.net/community/index.php?topic=129.msg42759#msg42759), it would only have taken a minute to come to a heated/defensive misunderstanding instead of 4 days..  ;D
I think he is just telling joe that using potus as his password was a poor choice.
Title: Re: Is there an add-on for reddit style sub comments/replies?
Post by: Steeley on June 20, 2021, 05:53:55 pm
Quote from: Spuds –
Quote from: Steeley – Just think... if this was an IRC-type chat (https://www.elkarte.net/community/index.php?topic=129.msg42759#msg42759), it would only have taken a minute to come to a heated/defensive misunderstanding instead of 4 days..  ;D
I think he is just telling joe that using potus as his password was a poor choice.

Especially when he can't remember that (https://www.youtube.com/watch?v=gh_m9T3nrN4) either..  :D
Title: Re: Is there an add-on for reddit style sub comments/replies?
Post by: Avarteas on January 08, 2022, 12:15:03 pm
There istiny comments for SMF 2.0 (https://www.smfsimple.com/index.php?topic=8255.0)

I wonder how difficult it could be to convert it for Elkarte?
Title: Re: Is there an add-on for reddit style sub comments/replies?
Post by: Spuds on January 08, 2022, 03:36:14 pm
Generally for basic mods its not too much work, but for a complex ones, that deeply integrates with the core (think portals and gallery) it can be a  fair amount of work. I have no idea on this mod, from the screen shots it looks like its mostly template work but I really don't know.
Title: Re: Is there an add-on for reddit style sub comments/replies?
Post by: Avarteas on January 12, 2022, 05:56:15 pm
Quote from: Spuds – Generally for basic mods its not too much work, but for a complex ones, that deeply integrates with the core (think portals and gallery) it can be a  fair amount of work. I have no idea on this mod, from the screen shots it looks like its mostly template work but I really don't know.
zip is 24k so it should be on the less complex end I guess. For me this mod is really important and I have to take the decision if I use Elkarte (I really like it so far) for the new site. Is there any place where to start when converting a SMF mod?
Title: Re: Is there an add-on for reddit style sub comments/replies?
Post by: ahrasis on March 19, 2022, 09:09:22 pm
You can try and ask in here for any mods that you want help to convert to ElkArte addons for sure.
Title: Re: Is there an add-on for reddit style sub comments/replies?
Post by: Frenzie on March 22, 2022, 07:45:22 am
Quote from: Spuds –
Quote from: Arantor – I get the appeal of Reddit but it is a horrible user interface in my opinion.
I have to 2nd this, I really dislike that interface.  I know its popular with some folks, but simply it did not click on for me.
As an aside, if you ever have a reason to look at reddit make sure to use old.reddit.com instead of the default. There are also browser add-ons to auto-redirect.