Textpattern CMS support forum
You are not logged in. Register | Login | Help
- Topics: Active | Unanswered
#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
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
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
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
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
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