Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#1 2007-01-23 00:43:18

benbruce
Plugin Author
Registered: 2006-01-13
Posts: 328
Website

TXPhorum: A simple forum solution for Textpattern

This thread has been replaced by this one here, as of TXPhorum v0.3.

Introducing TXPhorum, a simple forum solution for Textpattern.

Using a combination of common plugins [plus a new one of my own] I’ve built a working model here.

For more information, see the test forum posts or visit the TXPhorum Manual

  • Ben

[Updated 1/30/2007 with version 0.2 of the plugin and template]

Last edited by benbruce (2008-03-15 05:36:22)

Offline

#2 2007-01-23 01:12:54

marios
Archived Plugin Author
Registered: 2005-03-12
Posts: 1,253

Re: TXPhorum: A simple forum solution for Textpattern

Whow, this is great.
I wish, I’d ever find some time to look into all that stuff you where offering and posting.

regards, marios


⌃ ⇧ < ⌃ ⇧ >

Offline

#3 2007-01-23 01:34:11

RussLipton
Member
From: Spokane, WA
Registered: 2005-02-17
Posts: 36

Re: TXPhorum: A simple forum solution for Textpattern

You are a seriously sick individual …. as I have already posted in more detail on TXPhorum.

Offline

#4 2007-01-23 03:26:20

benbruce
Plugin Author
Registered: 2006-01-13
Posts: 328
Website

Re: TXPhorum: A simple forum solution for Textpattern

Switched back to the working version so you can edit your post … can you check it for me?

Offline

#5 2007-01-23 04:42:44

mrdale
Member
From: Walla Walla
Registered: 2004-11-19
Posts: 2,215
Website

Re: TXPhorum: A simple forum solution for Textpattern

>BB

Seriously, what are you on?

The way you casually drop bombs like postmaster and this on the community is pretty damn funny.

Last edited by mrdale (2007-01-23 04:43:07)

Offline

#6 2007-01-23 10:24:45

raveoli
Member
From: Copenhagen
Registered: 2004-03-06
Posts: 205
Website

Re: TXPhorum: A simple forum solution for Textpattern

Hey Ben! Definetely gonna give this a try in a few days. Just what I need, so if it works, or we can make it work, it’ll be great. Thanks for your efforts;-) Thumbs up!

Offline

#7 2007-01-23 16:08:42

maverick
Member
From: Southeastern Michigan, USA
Registered: 2005-01-14
Posts: 976
Website

Re: TXPhorum: A simple forum solution for Textpattern

Ben

The good :) — Nice work. Thank you.

The not-so-good: In my test install, clicking on the link in the index page leads to the post page as intended. However, all sorts of replies show up. The problem is I did not enter any replies yet. The replies are being pulled from other sections. Not sure why – any suggestions?

A question – when clicking on the name of the person who posted – what should be the expected results?

Thanks

Mike

Offline

#8 2007-01-23 18:52:59

benbruce
Plugin Author
Registered: 2006-01-13
Posts: 328
Website

Re: TXPhorum: A simple forum solution for Textpattern

maverick,

That is a result when the <txp:article_custom /> tag isn’t set up properly. It’s calling a custom field that doesn’t exist in your installation, and that is sending it haywire (pulls articles from all sections).

This is an error with the template and the instructions (fails to mention this) — the form you’ve copied and pasted (“txphorum_post”) has the following at the bottom:

<txp:article_custom post_or_reply="<txp:article_id />" form="txphorum_reply" sort="Posted asc" />

You need to replace “post_or_reply” with the name of your custom_2. Alternatively, you could go into your Admin preferences and change the name of custom_2 to “post_or_reply”. That should do it.

The author name thing — I’d rather have just the name, and not link anywhere, so I’ve now changed it in my txphorum_index form so that the tag is <txp:author /> . If you want it linked, read this page for help.

  • Ben

Last edited by benbruce (2007-01-23 18:57:01)

Offline

#9 2007-01-24 05:33:56

maverick
Member
From: Southeastern Michigan, USA
Registered: 2005-01-14
Posts: 976
Website

Re: TXPhorum: A simple forum solution for Textpattern

Thanks Ben

I’ll make the changes.

Mike

Offline

#10 2007-01-24 08:15:55

benbruce
Plugin Author
Registered: 2006-01-13
Posts: 328
Website

Re: TXPhorum: A simple forum solution for Textpattern

mr. dale,

dropping bombs is a wicked pleasure of mine.

maverick,

there are some differences between the live site and the code that I published. If you are really struggling to get it to all fit together, I think it might be easier once I’ve republished it. There are a couple of issues with the published material: I did a final “cleanup” of the code and there were some errors in it; what’s running on the live site is the “unclean” working version. Also I’ve made a bunch of changes to the forum since I posted it a couple of days ago. anyway, figured I better let you know in case you’re banging your head.

  • Ben

Offline

#11 2007-01-24 13:57:16

maverick
Member
From: Southeastern Michigan, USA
Registered: 2005-01-14
Posts: 976
Website

Re: TXPhorum: A simple forum solution for Textpattern

Ben

Thanks for the heads up. For the most part I have a test version up and working :). Naming the custom field to match fixed the major problem. I should have paid closer attention to all the tags.

Somewhere in the process I have ended up with duplication on my comments – A posted reply (comment) shows as it should since renaming the custom field 2. It shows again right below it as a regularly styled comment as well. Below that is my traditional form to enter comments, and below that is the comment (reply) form that ought to be showing for the forums. Initially I don’t see a reason for this in the actual txphorums forms. But viewing the source shows a lot of info that shouldn’t be there. It was late last night when I worked on it, so I need to go back with fresh eyes and look again.

Plus I may hold off for your next release and see if that helps things.

Thanks again

Mike

Offline

#12 2007-01-24 14:24:11

maverick
Member
From: Southeastern Michigan, USA
Registered: 2005-01-14
Posts: 976
Website

Re: TXPhorum: A simple forum solution for Textpattern

The duplicate comments are fixed. Last night I thought it was probably due to having my preferences set to auto-append comments. And I thought I turned that option off. However in my sleep-deprived haze I was turning off the wrong radio button (on by default) instead of auto-append.

Everything works when you are more awake and paying attention.

Thanks for your excellent work Bruce.

Mike

Offline

#13 2007-01-24 16:49:28

benbruce
Plugin Author
Registered: 2006-01-13
Posts: 328
Website

Re: TXPhorum: A simple forum solution for Textpattern

maverick,

That’s great! Keep us posted here …

  • Ben

Offline

#14 2007-01-24 18:04:03

maverick
Member
From: Southeastern Michigan, USA
Registered: 2005-01-14
Posts: 976
Website

Re: TXPhorum: A simple forum solution for Textpattern

It is nothing spectacular, but here is my test forum.

*The color scheme has been changed somewhat, and it has been integrated into the rest of our website’s design, along with some minor changes to css and layout.

*I have to do a walk through of the self register feature yet – I haven’t used it before on the site.

*The edit function is not working for me (post or reply). Clicking on the edit link pulls up an edit box with the text “Make your changes” but there isn’t a text box to make the changes in.

*I was able to edit the post from the adminstation panel, but noticed three oddities: 1) textile was turned off as the default setting for editing the article 2) The Textile Help Link was missing from the left hand side of the page and 3) I had the following error message: Warning: Table ‘MC_TP.bab_pm_list_prefs’ doesn’t exist select * from bab_pm_list_prefs in /home/.jabot/morch/moroccochurch.org/textpattern/lib/txplib_db.php on line 84

*I am able to edit the reply from the administration panel as well. The article id of the post is 282. The title of the reply is “282 reply”. It also lacked the Textile help link and was set to “leave text untouched”.

So here are my questions:

*Is “leave text untouched” the intended action?

*Should the help link be missing from the edit page in the administration panel when editing a txphorum article?

*Should a txphorum reply (do I understand correctly that it is a comment) show up as an article?

*Have you had any problems with the edit link?

*Am I jumping the gun :) — I don’t want to get ahead of you if these are items you have already addressed for you next release.

Thanks Ben

Mike

Offline

#15 2007-01-24 18:34:06

benbruce
Plugin Author
Registered: 2006-01-13
Posts: 328
Website

Re: TXPhorum: A simple forum solution for Textpattern

Mike,

Man, that looks AWESOME! That was just what I was imagining could happen. It just fits RIGHT INTO YOUR SITE. Can you tell I’m excited by that?

To your questions: The Edit link is screwy in the published version I uploaded — that’s one of the things that went awry when I “cleaned up” (read, screwed up) the working version. It’s working on my site because I reverted to the “unclean” version. As soon as I can get a new version up I’ll post it here.

The self-register feature works on my site perfectly — I tried to register on your site but it did not work. The form “submitted” but didn’t display a message and I never received the password email.

The “textile_untouched” can be fixed with the next release — I’ve noticed that as well. It’s not good — I want you to be able to edit / moderate posts / replies from the admin, but unless you remember to switch that to Textile_this it screws it up. I think that’s just a matter of “setting” something properly when the article is entered.

The replies are only “comments” in the sense that they have a parent, the “post”. All of them are articles. The trick is entering them in different sections, and using <txp:article_custom /> to call the “replies” and display them under a “post”. In other words, yes, they should all appear in the article column. I’ve thought of a better way to “title” the replies so that they will be unique. Next version.

I’m not sure what your deal is with the help link and the error notice. that looks like Postmaster to me (“bab_pm_list_prefs”). Do you have Postmaster installed?

  • Ben

Offline

Board footer

Powered by FluxBB