Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#1 2005-08-20 15:19:00

FireFusion
Member
Registered: 2005-05-10
Posts: 698

How did you get Textile to work with PunBB?

Is there a plugin?

Edit: I’m trying to get Rickard (maker of PunBB) to replace BBcode with Textile. Anyone what to help argue my case?

Last edited by FireFusion (2005-08-29 16:01:38)

Offline

#2 2005-08-20 16:32:05

colak
Admin
From: Cyprus
Registered: 2004-11-20
Posts: 9,011
Website GitHub Mastodon Twitter

Re: How did you get Textile to work with PunBB?

as far as I know there is nothing out there. Might be wrong though


Yiannis
——————————
NeMe | hblack.art | EMAP | A Sea change | Toolkit of Care
I do my best editing after I click on the submit button.

Offline

#3 2005-08-20 17:06:37

Neko
Member
Registered: 2004-03-18
Posts: 458

Re: How did you get Textile to work with PunBB?

There’s a PunBB plug-in but doesn’t work well. For the TXP forums I guess Dean implemented Textile by himself. It would be nice if he’ll release his hack as a plug-in.

Offline

#4 2005-08-21 08:55:52

colak
Admin
From: Cyprus
Registered: 2004-11-20
Posts: 9,011
Website GitHub Mastodon Twitter

Re: How did you get Textile to work with PunBB?

> Neko wrote:

> There’s a PunBB plug-in but doesn’t work well.

You are right. It is <a href=“http://forum.textpattern.com/viewtopic.php?id=1586”>here</a>

Last edited by colak (2005-08-21 08:56:29)


Yiannis
——————————
NeMe | hblack.art | EMAP | A Sea change | Toolkit of Care
I do my best editing after I click on the submit button.

Offline

#5 2005-08-21 09:34:34

Dean
Founder (Gone, but not forgotten)
From: Languedoc
Registered: 2004-02-14
Posts: 235
Website

Re: How did you get Textile to work with PunBB?

This is just from glancing at the code, but I believe this is all it took.

at the top of /include/parse.php:

<code>include_once ‘./classTextile.php’;
$textile = new Textile();
</code>

Then the parse_message() function was changed to this:

<code>function parse_message($text)
{
global $textile;
return $textile->textileThis($text);
}</code>

of course you’ll need a copy of classTextile.php in the /include directory


text*

Offline

#6 2005-08-23 14:44:06

NikLP
Member
From: Nottingham
Registered: 2005-02-01
Posts: 43
Website

Re: How did you get Textile to work with PunBB?

Just to clarify:

Which part of punBB ‘working’ with TXP are we referring to here?

Also, forgive my ignorance, but what has the textile include got to do with this?

Offline

#7 2005-08-23 14:58:04

Mary
Sock Enthusiast
Registered: 2004-06-27
Posts: 6,236

Re: How did you get Textile to work with PunBB?

This forum gets marked up by Textile (as opposed to, say, BBCode).

Offline

#8 2005-08-25 13:00:20

davidm
Member
From: Paris, France
Registered: 2004-04-27
Posts: 719

Re: How did you get Textile to work with PunBB?

> Dean wrote:
> This is just from glancing at the code, but I believe this is all it took.

Thanks Dean I’ll try that, it’ll be cool to have textile running properly with PunBB :-)


.: Retired :.

Offline

#9 2005-08-29 16:00:12

FireFusion
Member
Registered: 2005-05-10
Posts: 698

Re: How did you get Textile to work with PunBB?

I’m trying to get Rickard to replace BBcode with Textile. Anyone what to help argue my case?

http://forums.punbb.org/viewtopic.php?id=8476

Offline

#10 2005-08-29 23:27:38

davidm
Member
From: Paris, France
Registered: 2004-04-27
Posts: 719

Re: How did you get Textile to work with PunBB?

Textile is nice for those who know it (like txp users, or those who like it and use it with drupal or other cms that have a textile plugin), but most forumers use BBcode (and mostly the FF extensions to that effect :-)

Since there is already a textile plugin for PunBB (and you can use dean’s hack above to improve it), I don’t see why rickard should make the switch. Some will argue they’d rather have Markdown, and so on.

That said, I like texile best but then again, I am a txp junkie ;-p


.: Retired :.

Offline

#11 2005-08-30 02:39:11

bluearc21
Member
From: US.VA
Registered: 2004-02-24
Posts: 62
Website

Re: How did you get Textile to work with PunBB?

I tried too :)

I think at least there should be a forum setting for choosing between Textile or BBCode (and Markdown?).

But I, also, am a txp junkie.

Last edited by bluearc21 (2005-08-30 02:39:20)


“If you build it, they will come.”

Offline

#12 2005-08-30 07:03:03

davidm
Member
From: Paris, France
Registered: 2004-04-27
Posts: 719

Re: How did you get Textile to work with PunBB?

Well bluearc21, did you try Dean’s tweak mentionned above ?
Didn’t try it…. it should work !


.: Retired :.

Offline

Board footer

Powered by FluxBB