Page 1 of 1

phpbb [php] tags

Posted: Tue Aug 29, 2006 7:47 pm
by julian_lp
Can anyone tell me what kind of phpbb's plugin it's being used to allow [*php] [/*php] tags ?

I want to add something similar in a formum that I have (not about php, but walking through that plugin's code might be helpfull )

Posted: Tue Aug 29, 2006 7:49 pm
by feyd
This question has been asked many times. Geshi is what we currently use. However if you only need PHP, highlight_string() and its sibling may be of interest.

Posted: Tue Aug 29, 2006 7:55 pm
by julian_lp
feyd wrote:This question has been asked many times. Geshi is what we currently use. However if you only need PHP **** .
No, as I said before, I do not need it to highlight PHP but to try to understand how can I modify the bbcode part of phpbb (which seems to me really spaguetti code).

BTW It's great to read this forum, where the vast majority of the users seem to write quite nice code in comparison with those who wrote phpbb :)

Posted: Wed Aug 30, 2006 1:00 am
by RobertGonzalez
The phpBB implementation of bbCode is a pretty clean version. It runs several passes, but it is a good implementation.

However, as much as I love the phpBB codebase, I like the bbCode Parser at Corz Blog quite a bit.

Posted: Wed Aug 30, 2006 9:36 am
by julian_lp
Everah wrote: However, as much as I love the phpBB codebase, ****
Do you really?

I encounter it very difficult to modify. For instance, trying to add a field to the profile seems to be a complete nightmare. I mean, it has not any sort of plugin architecture at all. I hope all those issues will be solved in v.3

Of course that if it used "as is", it's a quite nice software...

Posted: Wed Aug 30, 2006 11:22 am
by JayBird
julian_lp wrote:
Everah wrote: However, as much as I love the phpBB codebase, ****
Do you really?
I'm definately sensing sarcasm Image

Posted: Wed Aug 30, 2006 11:28 am
by jabbaonthedais
I think phpbb was designed more for templates, rather than plugins.

Posted: Wed Aug 30, 2006 8:26 pm
by RobertGonzalez
JayBird wrote:
julian_lp wrote:
Everah wrote: However, as much as I love the phpBB codebase, ****
Do you really?
I'm definately sensing sarcasm Image
Good catch. :wink: