Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#289 2012-01-26 16:44:28

maruchan
Member
From: Ukiah, California
Registered: 2010-06-12
Posts: 590
Website

Re: The direction of Textpattern 5

Is MacHg any good, Phil? Wondering if there’s a worthwhile tool like the GitHub client.

Offline

#290 2012-01-26 16:58:22

philwareham
Core designer
From: Haslemere, Surrey, UK
Registered: 2009-06-11
Posts: 3,564
Website GitHub Mastodon

Re: The direction of Textpattern 5

MacHg is miles behind the Github app in ease of use – but it is free and written by one person so I’m not disparaging it.

And while it’s tracking changes to files locally OK, I can’t seem to get it to push to Google Code successfully.

Not related, I also can’t seem to find a way to make a pull request from one Google Code project (my Textpattern5 fork) to another (the official Textpattern5 repo). Something that’s achieved with a couple of button clicks on Github.

Offline

#291 2012-01-30 22:07:00

6sigma
Member
From: Memphis, TN, USA
Registered: 2004-05-24
Posts: 184
Website

Re: The direction of Textpattern 5

Did this discussion get continued somewhere else?

Did any of the following questions get answered or are they now marinating:
  1. Rewrite or continue improvements?
  2. Spark/Plug framework or no framework or other?
  3. To Processwire or not to Processwire?
  4. Mercurial vs. Github or other?

“Well, I, uh, don’t think it’s quite fair to condemn a whole program because of a single slip-up, sir.” General ‘Buck’ Turgidson

Offline

#292 2012-02-08 17:12:21

MattD
Plugin Author
From: Monterey, California
Registered: 2008-03-21
Posts: 1,254
Website

Re: The direction of Textpattern 5

Interesting article I saw today about PHP Frameworks.


My Plugins

Piwik Dashboard, Google Analytics Dashboard, Minibar, Article Image Colorpicker, Admin Datepicker, Admin Google Map, Admin Colorpicker

Offline

#293 2012-09-18 12:38:12

gfdesign
Member
From: Argentina
Registered: 2009-04-20
Posts: 401

Re: The direction of Textpattern 5

I’m not sure if this was spoken, but in during my experience with TXP since 2009 I’ve longed (and envied) a nestled comments system such as has Wordpress or Drupal for instance. It should be something indispensable because nowadays our favorite CMS doesn’t have such system and several clients have requested me when we use TXP for a blogging plataform. I’d like to see this in a new feature in TXP5. This is my two cents, I hope.
Warm regards

Last edited by gfdesign (2012-09-18 12:41:46)

Offline

#294 2012-10-31 01:47:03

AdamK
Member
From: Kraków, Poland
Registered: 2009-08-11
Posts: 47

Re: The direction of Textpattern 5

gfdesign wrote:

I’m not sure if this was spoken, but in during my experience with TXP since 2009 I’ve longed (and envied) a nestled comments system such as has Wordpress or Drupal for instance. It should be something indispensable because nowadays our favorite CMS doesn’t have such system and several clients have requested me when we use TXP for a blogging plataform. I’d like to see this in a new feature in TXP5. This is my two cents, I hope.
Warm regards

Regarding comments I believe it would be great to move all the comments subsystem out as a module/core level plugin and then provide user with choice (let’s say as an option in Preferences”): native comments, Disquis integration, FB comments integration etc.

then you would use something like <txp:comments_section /> in the article form, with the optional attribute ‘form=“comments_form”’ for styling local comments

A.

Offline

#295 2012-10-31 08:25:15

etc
Developer
Registered: 2010-11-11
Posts: 5,028
Website GitHub

Re: The direction of Textpattern 5

Nested comments plugin is there. I have a little polished it, please comment here to see it in action.

Offline

#296 2012-10-31 08:56:14

Destry
Member
From: Haut-Rhin
Registered: 2004-08-04
Posts: 4,909
Website

Re: The direction of Textpattern 5

AdamK wrote:

Regarding comments I believe it would be great to move all the comments subsystem out as a module/core level plugin and then provide user with choice (let’s say as an option in Preferences”): native comments, Disquis integration, FB comments integration etc.

+1

But I would propose doing this ASAP (4.6, 4.7…), not wait for the mythical TXP 5.

Native comments are increasingly undesired by people whose sites I help them with. More and more of my clients are becoming better with social media and want better integration in that direction. For all non-profit projects I work on, the organizations have Facebook groups too, and that’s where 95% of their social interactivity takes place, even for published articles. I see so many sites with FB, Disqus, or LiveFyre comment integration because it’s what people already use in other places on the web, and site owners want to tap into that with their ‘audiences’.

Removing comments from core would also be good for people (like me) who don’t want comments at all (another increasing trend), and would rather not see all the comments-related artifacts in the admin UI that I’ll never use. I want to avoid the code overhead, comment spam, and general ugliness that comments add to a site. And now that mobile is a factor in people’s lives anymore (even more than just two years ago), and with social tools pushing and pulling microcopy around now, conversation can easily be diverted six other directions and likely be better for it. I’m not using comments in my site relaunch (or ever again), but I still have to look at all this stuff in the UI for comments:

  • Preference controls in two different preferences panels.
  • A comments fieldset in the Write panel.
  • The Comments panel.
  • Non-deletable forms in the Forms panel.

(Am I forgetting somewhere?)

Sure, I can use a plugin to hide them, or mod the core to do the same thing, but neither should be necessary if you just don’t want comments at all. Opt-in, not struggle out.

Lastly, Txp comments have just never worked very well. For those rare projects now when I do use native comments, I need at least one other plugin anyway to get them to function half way decent so clients and their site visitors understand them. (I still don’t understand the implementation at .com). They might as well just be a plugin in themselves that works better, implements easier, and provides the other benefits of being a bolt-on option (cleaner UI if not used, freedom to choose what tool, and whatnot.)

Offline

#297 2012-10-31 09:51:20

Bloke
Developer
From: Leeds, UK
Registered: 2006-01-29
Posts: 11,250
Website GitHub

Re: The direction of Textpattern 5

Officially noted, and has been brought up before.

Still not really sure of the best approach. Ripping out comments breaks backwards compatibility, but you’re right that comments don’t feel fully realised so they need sorting out in some manner.

Pulling all comment-related code into a single file would make things cleaner and offer the option to modularise it in future, but comments are rather ingrained in Textpattern’s operation (e.g. when saving articles, “Essential” Forms you mentioned, importing from other blogging platforms, tag builder, etc).

Hypothetically imagine if there was no txp_discuss table in the database and it was installed at will. How would a module/plugin hook into the core such that the core could “know” how to handle them? For example:

  • How would it know about updating the comment count if a new comment was posted from a core or third party system? (would it even matter?)
  • Would a comment trigger a “site is updated” notification?
  • How would they integrate with feeds?
  • How would the options to control comments be presented? (btw: the gripe about the comment prefs being in two places is already fixed in 4.6.0)
  • If you’d deleted the ‘essential’ comment Form(s) they would need reinstating if the implementation remained as it was today, or they might not be necessary if implementing a third party comment system.

And I’m sure a host more issues crop up. That’s what’s called “non-trivial” in my book.

The easy(ier) solution is to:

  1. leave them as they are, but with better tag handling and less confusing options (possibly revisit the <txp:comment_* /> tag suite and simplify it or make it more usable).
  2. turn comments off by default for new installations and retire Donald Swain.
  3. when they are off, make sure every core UI component that relates to comments is removed so the interface is cleaner.
  4. enhance the callbacks so it its easier for comment plugins to spring up and integrate with Textpattern.

I’d favour that approach but I’ve not fully thought it through. Anyone care to realign my thinking or offer alternatives and/or improvements? Perhaps in the Comment system thread?


The smd plugin menagerie — for when you need one more gribble of power from Textpattern. Bleeding-edge code available on GitHub.

Txp Builders – finely-crafted code, design and Txp

Offline

#298 2012-10-31 10:08:53

Destry
Member
From: Haut-Rhin
Registered: 2004-08-04
Posts: 4,909
Website

Re: The direction of Textpattern 5

Bloke wrote:

Officially noted, and has been brought up before.

I was only going to “+1”, but got carried away.

The easy(ier) solution is to…

Those all work for me. Especially #3. I guess third-party options could be unique plugins each, and if they worked while #3 was in effect, all the better. (E.g., Disqus has it’s own admin-side, so there’s no point trying integrate all of Txp’s specific comment controls with it. Likely the same with LiveFyre, but I don’t know about FB.)

I guess another option regarding backwards headaches would be 4.x/5.x fork. :)

Last edited by Destry (2012-10-31 10:11:22)

Offline

#299 2012-10-31 10:27:35

philwareham
Core designer
From: Haslemere, Surrey, UK
Registered: 2009-06-11
Posts: 3,564
Website GitHub Mastodon

Re: The direction of Textpattern 5

Bloke wrote:

when they are off, make sure every core UI component that relates to comments is removed so the interface is cleaner.

While we are in a +1ing mood. I +1 this.

Offline

#300 2012-10-31 23:27:51

tye
Member
From: Pottsville, NSW
Registered: 2005-07-06
Posts: 859
Website

Re: The direction of Textpattern 5

I think comments have to stay

But more +++‘s for removing them from UI if turned off

Offline

Board footer

Powered by FluxBB