phpbb [php] tags

Ye' old general discussion board. Basically, for everything that isn't covered elsewhere. Come here to shoot the breeze, shoot your mouth off, or whatever suits your fancy.
This forum is not for asking programming related questions.

Moderator: General Moderators

Post Reply
User avatar
julian_lp
Forum Contributor
Posts: 121
Joined: Sun Jul 09, 2006 1:00 am
Location: la plata - argentina

phpbb [php] tags

Post 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 )
User avatar
feyd
Neighborhood Spidermoddy
Posts: 31559
Joined: Mon Mar 29, 2004 3:24 pm
Location: Bothell, Washington, USA

Post 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.
User avatar
julian_lp
Forum Contributor
Posts: 121
Joined: Sun Jul 09, 2006 1:00 am
Location: la plata - argentina

Post 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 :)
User avatar
RobertGonzalez
Site Administrator
Posts: 14293
Joined: Tue Sep 09, 2003 6:04 pm
Location: Fremont, CA, USA

Post 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.
User avatar
julian_lp
Forum Contributor
Posts: 121
Joined: Sun Jul 09, 2006 1:00 am
Location: la plata - argentina

Post 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...
User avatar
JayBird
Admin
Posts: 4524
Joined: Wed Aug 13, 2003 7:02 am
Location: York, UK
Contact:

Post 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
jabbaonthedais
Forum Contributor
Posts: 127
Joined: Wed Aug 18, 2004 12:08 pm

Post by jabbaonthedais »

I think phpbb was designed more for templates, rather than plugins.
User avatar
RobertGonzalez
Site Administrator
Posts: 14293
Joined: Tue Sep 09, 2003 6:04 pm
Location: Fremont, CA, USA

Post 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:
Post Reply