Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#106 2008-02-22 05:34:30

linkingarts
Member
Registered: 2006-06-18
Posts: 14

Re: TXPhorum: A simple forum solution for Textpattern

OK I was able to get this working. Something didn’t like line 113 in TXPhorum plugin code:

$form = ($form) ? fetch_form($form) : $thing;

So I replaced with:

if (!empty($form)) { $thing = fetch_form($form);}

and Bingo!

Go figure.

It seemed like that’d be fine since the next step is if (empty($form)) {...}

_peter

Offline

#107 2008-02-23 13:00:23

Timid&friendly
Member
From: The Netherlands
Registered: 2006-05-28
Posts: 252
Website

Re: TXPhorum: A simple forum solution for Textpattern

Hi everybuddy,

Nice work dudes. Thx ben for this system.

Im justing setting things up and am however getting this error WHEN I CLICK ON A TXPHORM ARTICLE TITLE FROM FORUM INDEX.
tag_error <txp:article_custom post_or_reply="8" form="txphorum_reply" sort="Posted asc" /> -> Textpattern Notice: not existing tag attribute: post_or_reply on line 653

Which means it just outputs everything instead of the id related replies?

I have the wonder tag installed and active.

Any ideas?


I think, therefore I AM, … … er … I think :-?

Offline

#108 2008-02-24 21:21:14

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

Re: TXPhorum: A simple forum solution for Textpattern

Timid&friendly,

You need to change the name of one of your custom fields to “post_and_reply” — you can do this in Admin > Preferences.

  • Ben

Offline

#109 2008-02-26 17:55:27

MagnusBerg
Member
Registered: 2007-11-17
Posts: 12

Re: TXPhorum: A simple forum solution for Textpattern

ABOUT SECURITY

I have been looking around for a forum + TXP solution and found, or not found, that there are no easy ways to integrate a stand alone forum in a TXP solution. Now I read about this TXPhorum and wonder about one thing. I don’t want unknown people, that I gave access to the forum, had access to the TXP articles as well.
How can I let people write to the TXPhorum but keep them out from all other TXP sections?

Offline

#110 2008-02-27 16:55:35

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

Re: TXPhorum: A simple forum solution for Textpattern

MagnusBerg,

There are two things preventing folks registered on the forum from accessing your TXP backend. The first is that as they are registered by mem_self_register they are given privileges of “None” which means they have no access (you can set something different if you want, but by default they have none). Second is you can use ign_password_protect’s alternate database table to store users.

  • Ben

Offline

#111 2008-03-07 00:25:28

FatalCure
New Member
Registered: 2007-11-08
Posts: 4

Re: TXPhorum: A simple forum solution for Textpattern

Ok, I’ve gotten everything working after a few hurdles, however my replies are not counting, every thread says it has 0 replies when it has replies? Could anyone suggest where I should look, because I’ve read through every line of code and can’t see anything that sticks out.

Offline

#112 2008-03-09 22:36:20

nabrown78
Member
From: Northampton, MA, USA
Registered: 2006-10-04
Posts: 294
Website

Re: TXPhorum: A simple forum solution for Textpattern

Dear Ben
This looks like a great plugin that could prove really useful for me. One question – what’s the reason for having the post replies be additional articles, rather than comments (which kind of seem like post replies already?). Just curious; I’m sure you have a logic to it.
Thanks,
Nora

Offline

#113 2008-03-10 09:03:57

jakob
Admin
From: Germany
Registered: 2005-01-20
Posts: 5,205
Website GitHub

Re: TXPhorum: A simple forum solution for Textpattern

nabrown78. One reason, I guess, is that there’s no way to edit a comment once you’ve posted it.


TXP Builders – finely-crafted code, design and txp

Offline

#114 2008-03-10 09:19:14

Gocom
Developer Emeritus
From: Helsinki, Finland
Registered: 2006-07-14
Posts: 4,533
Website

Re: TXPhorum: A simple forum solution for Textpattern

nabrown78. One reason, I guess, is that there’s no way to edit a comment once you’ve posted it.

Why not? With php yes. You just need to change the textpattern table to txp_discuss in those update and insert queries. Nothing more or less.

Last edited by Gocom (2008-03-10 09:20:11)

Offline

#115 2008-03-15 05:36:43

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

Re: TXPhorum: A simple forum solution for Textpattern

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

Offline

Board footer

Powered by FluxBB