Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#16 2007-01-25 05:02:11

igner
Plugin Author
Registered: 2004-06-03
Posts: 337

Re: TXPhorum: A simple forum solution for Textpattern

Ben/maverick – you can fix the textile issue by changing textile_body = '' to textile_body = '1' around line 171 of the TXPhorum plugin.

Ben – I noted on your demo forum that the issue with logout is addressed in the 0.5b versions of ign_password_protect; it strips out any existing query string, which on messy url sites effectively means the user is returned to the front page.


And then my dog ate my badger, and the love was lost.

Offline

#17 2007-01-25 17:49:26

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

Re: TXPhorum: A simple forum solution for Textpattern

igner

Thanks. That did the trick.

The lines in question showed as lines 91 and 92 (part of the list under “safe_insert”). I edited the plugin using SubEthaEdit . . . perhaps that accounts for the difference in line numbers?

I changed both textile_body and textile_excerpt from “” to “1”. Result is both show up with textile enabled from the write tab as promised.

Ben

re: the textile help link: apparently the missing “Textile Help” was missing because textile was turned off on the articles. Once turned on, and the page was refreshed a couple of times, the link reappeared. I tested on several posts, and it disappeared when I turned textile off, and reappeared when textile was enabled.

It makes sense – I just had not realized (or had forgotten) that the link was contextualized like that.

re: articles vs comments: Thank you for the clarification that “replies” are actually articles instead of comments. I had missed or misunderstood that.

re: self-register – I will continue to troubleshoot that. I had two test cases in addition to yours. Two bounced (including yours – I think the messages was: adminsitrative permission denied). All three sent truncated emails. I’m sure I have failed to properly configure the plugin.

re: error message: Doh! – You are correct – the error message was coming from the Postmaster plugin. I should have thought a little harder about the bb_pm designation. I apologize. I had just installed the plugins and turned them on a day or so ago, but not configured them yet (sloppy thing to do). I have turned them off until I have more time to spend setting them up. The error message is gone.

Thanks again Igner and Ben

Mike

Offline

#18 2007-01-25 19:20:47

igner
Plugin Author
Registered: 2004-06-03
Posts: 337

Re: TXPhorum: A simple forum solution for Textpattern

hmmm – it could be – or minor differences in whitespace, config, or version. either way, you found it, and it worked, so you’re set there.


And then my dog ate my badger, and the love was lost.

Offline

#19 2007-01-26 10:45:30

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

Re: TXPhorum: A simple forum solution for Textpattern

On http://www.benbruce.com/txphorum_manual/TXPhorumTutorial it says:
Download the TXPhorum Plugin file, and do a search and replace for “txphorum” and whatever name you chose in step one. This text file contains the PAGE, FORMS and STYLE for the template.

But that is the plugin? I’ve installed the plugin. But where do I find the templates for what goes into the respective forms and the page?

Sorry, but I’ve looked around everywhere on your site…

Offline

#20 2007-01-26 13:06:25

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

Re: TXPhorum: A simple forum solution for Textpattern

Scratch the above, I found it.

Anyway, a newly created users post does not appear…

Offline

#21 2007-01-26 15:18:01

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

Re: TXPhorum: A simple forum solution for Textpattern

raveoli

Can you provide more information?

Offline

#22 2007-01-26 16:52:07

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

Re: TXPhorum: A simple forum solution for Textpattern

Yes, I use txp 4.0.4 and the forum can be seen here

Also, I don’t get the commenting-out on a lot of the stuff that goes on the page:

<!—<div id=“logged_row_box”> <txp:ign_if_logged_in> <txp:ign_logged_user /> <txp:else /> You are not logged in. </txp:ign_if_logged_in> </div>—>

Why is it commented out?

Offline

#23 2007-01-26 16:58:56

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

Re: TXPhorum: A simple forum solution for Textpattern

PS: Why all the hardcoded styles for the table cells? It’s a hellish situation to hunt down why the layout behaves as it does…

PPS: The page template had some errors, in that it contains <P> tags (capital) which is not valid xhtml.

Offline

#24 2007-01-26 17:20:00

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

Re: TXPhorum: A simple forum solution for Textpattern

Raveoli,

You’re getting the best version that I have. The commenting out is just places where I was testing putting something here or there and forgot to remove it.

I think most of the styles are in the stylesheet, so … As I mention in several places, I expect an expert to build a valid xhtml template for the forum — ideally we’d have many to choose from — and this is just a working model for others to work from.

Have you managed to get the basic functions working, then?

  • Ben

PS. Raveoli, I was just thinking — I may have moved the styles into the stylesheet better after I published that material to the Web, so you might be happier with the next version

Last edited by benbruce (2007-01-26 18:51:06)

Offline

#25 2007-01-26 17:45:16

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

Re: TXPhorum: A simple forum solution for Textpattern

Ben

I have a couple of issues cropping up. I wanted to see if they were something you were aware of – or perhaps it is on my side . . .

1) You are in a post thread. The last action taken was to reply to the post. You “reload” the page (for whatever strange reason :). Doing so cause textpattern to “repost” the previous reply – even though the textbox is empty. Is there a way to prevent this?

2) If you edit a reply from the administration panel, it will change the sections – from “txphorum_replies” to “about”.

txphorum_replies is not a section. It is kind of odd considering that initially it shows “txphorum_replies” as the section even though it doesn’t exist in the drop down list of sections.

I am guessing that I have to manually create the section the same as I did for txphorum? Did I miss this in the documentation?

Even after the section on a reply changes to “about”, it still shows under the original post (a good thing :). I assume this is because you are using custom fields to tie the post and the reply together?

Thanks

Mike

Last edited by maverick (2007-01-26 17:54:51)

Offline

#26 2007-01-26 18:05:04

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

Re: TXPhorum: A simple forum solution for Textpattern

maverick,

that “re-posting” issue should be taken care of with the next release. currently, the information you enter is still “hanging in the air” so if you hit enter again, it gets grabbed and re-entered.

you do need to manually create the second section — but you could use any section you want; it could just as easily be called “about” (if you change the custom tag to @section=“about”).

If you:

  1. Have the about section set to “show on front page,” and you
  2. Set your reply tag to @section=“about,” then
  3. the replies will show up on the front page.

There is a lot of possibility there, and if you want to explore it that’s awesome, but for the model I was just trying to keep it simple.

PS. I’m afraid I was so excited to release the forum and the manual that the documentation was not up to speed (and neither, as you and raveoli found out, was the plugin). So to your question “did I miss it in the documentation” — no, probably not. I expect it was left out (I’ve since updated it a bit, though).

Last edited by benbruce (2007-01-26 18:50:02)

Offline

#27 2007-01-26 18:37:32

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

Re: TXPhorum: A simple forum solution for Textpattern

Ben

I think it’s a great project & plugin! I see why you are excited about getting it out!

I should have guessed you had found all the bugs. Sorry for adding to your “support” load.

I think for now I’ll create the additional section and stick with “txphorum_replies”, but thank you for pointing out the possibilities of setting the replies to other sections and being able to publish the content elsewhere on the site. I will probably experiment with it in the coming weeks.

Thanks again

Mike

Offline

#28 2007-01-26 18:50:13

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

Re: TXPhorum: A simple forum solution for Textpattern

Now the posts showed up. My bad, the txphorum_index form was empty, must have copy pasted too fast;-/

Anyway, now it shows all my posts form all sections… I think that’s been covered in this topic previously, so I’ll read a bit up on it…

You can see it here:
http://www.macstart.dk/txphorum/enter-your-title-here-fsdafs

… and I get this error:
tag_error <txp:article_custom post_or_reply=“77” form=“txphorum_reply” sort=“Posted asc” /> -> Textpattern Notice: Unknown tag attribute: post_or_reply on line 582

Btw, Ben, it would maybe be better if you gathered the manual on one page of your website. There is a lot of “go here, go there” etc;-)

EDIT:
Now I just read this in a previous post:
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.

But I use my custom field 2 for something else… Should I edit the plugin or? I prefer not, as I tend to forget such editing when upgrading the plugin…

Last edited by raveoli (2007-01-26 18:57:09)

Offline

#29 2007-01-26 23:22:04

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

Re: TXPhorum: A simple forum solution for Textpattern

Hey Ben

One last post before I knock off for the night.

I downloaded and reinstalled the plugin today, and the additional forms in the template. Edit links work like a charm. The edit login and user information links work well also. Reply count works well. (Except for the replies made before the new version of the plugin are counted – as I suspected they wouldn’t from your posts at your test forum). All in all – great work! Thank you.

The only glitch is with replying. Clicking enter when replying to a post brings up a page that says “The document has moved here” and a link (back to the forum). I assume this has to do with the redirect fix you were working on?

Is there something I need to fix on my end or is this an issue with the plugin?

Thanks

Mike

(ps – I have a version of the template that might be easier for first time users to read. More indents, white space and comments. I have also separated some of the hardcoded styling for the tables into the style sheet. It is validating xhtml 1.0 transitional and the css is validating as well [not that it was too hard – you had it almost there]. If you would like a copy, your welcome to it – rough as it is :)

Last edited by maverick (2007-01-26 23:23:02)

Offline

#30 2007-01-28 20:35:33

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

Re: TXPhorum: A simple forum solution for Textpattern

Hey Maverick

I’m very much interested in trying out your template – can you post a link?

Offline

Board footer

Powered by FluxBB